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 mickyhulse.li...@gmail.com Thank you Eray! That's a cool approach. Testing code now. I will be back with my results. :) Thank you!!! Cheers, M --

Re: [PHP] Date function kill lots time !

2012-01-05 Thread xucheng
yes,it is set in php.ini . 2012/1/5 Adam Richardson simples...@gmail.com On Wed, Jan 4, 2012 at 11:07 PM, xucheng helloworldje...@gmail.comwrote: 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

[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

[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

[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 xuch...@sankuai.com: Hi all,       I wrap pecl-memcache into a class used as a sigleton class . the code

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

2011-06-20 Thread xucheng
interesting ... 2011/6/21 Fatih P. fatihpirist...@gmail.com: ban it :) 2011/6/21 ad...@buskirkgraphics.com 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,

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

2011-06-04 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

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

2011-06-04 Thread xucheng
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 create a script with : php -r ' detonate();' via the CLI

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 robl...@aapt.net.au: xucheng wrote: 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

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

2011-06-04 Thread xucheng
yeah, happy Friday. 2011/6/4 David Robley robl...@aapt.net.au: xucheng wrote: NO, it did not take server offline and it did just say that in CLI . ... 2011/6/4  ad...@buskirkgraphics.com: LOL, That is too funny. I took the wording System Detonation literally. Did it take your server