Re: the way create_function works (internally)?

From: Date: Wed, 05 Jul 2000 13:05:46 +0000
Subject: Re: the way create_function works (internally)?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-23566@lists.php.net to get a copy of this message
For creating functions in run-time (self-generating PHP code :). That's like eval, only more understandable. You were able to do it via eval long ago, create_function is just another way. I have template mechanism based on this idea (every template is a function returning insantiated result). It's faster then regexps, etc. Creative mind can find another 1000 ways to use dynamically-created code :)
Hm, then all was clear before. I thought create_function() stores the compiled version of that function in a cache or somewhat else... thx -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#23566) next »