Re: [PHP] Insert new array after specific key in multidimensional array

2012-02-27 Thread xucheng
Maybe you can trans the array into a xml tree , then modify its leaves . RTFSC - Read The F**king Source Code :)! 2012/2/28 Micky Hulse > Thank you Eray! That's a cool approach. Testing code now. I will be > back with my results. :) > > Thank you!!! > > Cheers, > M > > -- > PHP General Mailing

Re: [PHP] Date function kill lots time !

2012-01-05 Thread xucheng
yes,it is set in php.ini . 2012/1/5 Adam Richardson > On Wed, Jan 4, 2012 at 11:07 PM, xucheng wrote: > >> hi all, >> I have a webapp which track visitors, and use xhprof for profiling my >> codes . >> After reading some reports produced by xhprof, i found that

[PHP] Date function kill lots time !

2012-01-04 Thread xucheng
hi all, I have a webapp which track visitors, and use xhprof for profiling my codes . After reading some reports produced by xhprof, i found that function Date() kills most time of my app ! how can this happen ? Is this function has some internal issue that i should kown ? Any comment a

[PHP] Re: help for memcached Segmentation fault

2011-06-27 Thread xucheng
sorry, the right $config['memcached'] variable is $config['memcached']=array(array('host'=>'localhost', port=11211, persistent=1,weight=1)); 2011/6/28 xucheng : > Hi all, >       I wrap pecl-memcache into

[PHP] help for memcached Segmentation fault

2011-06-27 Thread xucheng
Hi all, I wrap pecl-memcache into a class used as a sigleton class . the code is : ==code=== class Mem{ private static $_instance = null ;//singlton

Re: [PHP] 【N級、 S級、AAA級 財布、バッグ!】【ブランド館】

2011-06-20 Thread xucheng
interesting ... 2011/6/21 Fatih P. : > ban it :) > > 2011/6/21 > >> I see that it is actually from rjck...@gmail.com >> I am not bilingual in Japanese but this is what I can make out it is an >> Advertisement. >> >> >> (A/the N class, S class, AAA class purse, bag!  ) (A/the brand mansion) >> Jap

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-04 Thread xucheng
yeah, happy Friday. 2011/6/4 David Robley : > xucheng wrote: > >> NO, it did not take server offline and it did just say that in CLI . >> >> ... >> >> 2011/6/4  : >>> LOL, >>> That is too funny. I took the wording "System Detonatio

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-04 Thread xucheng
i just follow instructions on brown's website and test it on CLI. and got the fatal error. 2011/6/4 David Robley : > xucheng wrote: > >> I create a script with : php -r ' detonate();' via the CLI , >> and get this : >> >> PHP Fatal error:  Th

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-04 Thread xucheng
irk > > > -----Original Message- > From: xucheng [mailto:helloworldje...@gmail.com] > Sent: Saturday, June 04, 2011 2:55 AM > To: Daniel Brown > Cc: PHP General > Subject: Re: [PHP] Announcing New PHP Extension: System Detonation Library > (was: phpsadness) > > I crea

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread xucheng
I create a script with : php -r ' detonate();' via the CLI , and get this : PHP Fatal error: This system will self-destruct in five four three two one [CONNECTION TO HOST INTERRUPTED] in Command line code on line 1 is this an expected result ? 2011/6/3 Daniel Brown : >    Fi