Wednesday, 30 August 2017

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


Answer



$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.


No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...