Posted by lawrence k on 04/16/07 05:14
Just noticed this for the first time:
http://us2.php.net/manual/en/function.create-function.php
Anyone know if PHP supports enclosures, like Javascript or Ruby? I've
always assumed PHP lacked these. If I create a function with object
instances, will the instances retain their state if the function
definition is stored in a variable?
Navigation:
[Reply to this message]
|