The problem you are experiencing is due to the fast cache.
Edit Zend/zend_fast_cache.h  and change:
# define ZEND_ENABLE_FAST_CACHE 1
to:
# define ZEND_ENABLE_FAST_CACHE 0

Make sure you do a complete rebuild.
Tomorrow I'll try and think of what the best way to fix it is. (3:20 AM here :)

Andi

At 01:37 PM 11/23/2001 +0000, Sam Liddicott wrote:
>Here's a sample script that does most of the sorts of stuff I was doing
>apart from database work.
>
>Note how long it takes to exit after finishing.
>
>#! /usr/bin/php -q
><?php
>
>ini_Set("max_execution_time","0");
>ini_Set("memory_limit","500M");
>
>class thingy {
>   function thingy($c) {
>     if ($c>0) $this->ref=&new thingy($c-1);
>   }
>}
>
>$stash=array();
>$max=500000;
>
>$start=time();
>
>for($i=0;$i<$max;$i++) {
>   $r=rand(0,300);
>   $stash[$r][]=&new thingy(rand(0,10));
>   echo "\rUse: ".floor($i/$max*100)."% ";
>}
>echo "\n";
>
>$mid=time();
>
>$max=count($stash);
>$c=0;
>foreach(array_keys($stash) as $key) {
>   unset($stash[$key]);
>   $c++;
>   echo "\rFree: ".floor($c/$max*100)."% ";
>}
>unset($stash);
>echo "\n";
>
>$done=time();
>
>print "Use: ".($mid-$start)."\n";
>print "Free: ".($done-$mid)."\n";
>
>
>?>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to