Re: performance improvement using include(), possible to cache included code?

From: Date: Tue, 13 Jun 2000 20:03:16 +0000
Subject: Re: performance improvement using include(), possible to cache included code?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21242@lists.php.net to get a copy of this message
Your provided example does not work (I´ve corrected " to ' already in line $body = ...) -> parse error in unknown..., I´ll grab and compile the newest snap from php.net, since when is create_function() available - I´m running a build from June,5... Stanislav Malyshev wrote:
w>> I wondered what create_function() is for in the lambda-war two weeks ago w>> or so... I did not find any doc on how to use it and the code snipplet w>> provided two weeks ago or so was not very clear. w>> w>> Could you tell me where to search for documentation on how to use it. Well, I'm not sure there's any as of yet. Basically, you do: $body = 'if($a == 0) { print "zero"; } else { print "not zero"; }" $args = '$a'; $zerochecker = create_function($args,$body); $zerochecker($foo);
-- 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 (#21242) next »