Le dimanche 16 novembre 2008 à 21:35 +0800, Chris Jiang a écrit : > Still, this is a really strange experience. Where are those characters > come from? Shouldn't it be a clean array when I first created them? > Anything related to the zval structure?
This is not PHP-related. When you *define* a variable, it has no content, you have to initialize it. The characters you got are from the uninitialized space you used in the stack. C won't initialize variables for you as it would be a waste of time in the case you already initialize it with a non-NULL value. Anyway as this is not PHP-related, I suggest this discussion to be continued outside of the PHP internals mailing list, if you have any question, I can probably give you some pointers to good documentation, just need to understand what you are trying to do. Best regards, Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php