Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
405 views
in Technique[技术] by (71.8m points)

php - $function() and $$variable

What the heck is $function(); and $$variable for?

Have never heard of these before, and searching on google doesn't give anything useful (possible that my keywords aren't perfect).

via https://stackoverflow.com/questions/4891301/top-bad-practices-in-php/4891422#4891422

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

$function() is a variable function and $$variable is a variable variable.

Those linked pages should give you plenty to go on, or at the very least some actual words to search with.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...