|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-08-17 18:31 UTC] zeev at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 22:00:02 2025 UTC |
The following script : <? class titi { var $foobar = TRUE; } class toto extends titi { } $object = new titi; ?> produces : 23:27 [webase3:p2] titi:~/html% php temp.phtml Content-Type: text/html temp.phtml: Freeing 0x080F3E60 (4 bytes), allocated in zend_hash.c on line 185<br> temp.phtml: Freeing 0x080F4100 (42 bytes), allocated in zend_hash.c on line 175<br> Note that the var $foobar = TRUE is important and can only be TRUE or FALSE (the problem doesn't show up with "" or array()). Note also that the unused line class toto extends titi { } is necessary.