|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-07-31 20:35 UTC] zeev at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 14:00:01 2025 UTC |
The following program will return 0 whereas it should return 1 : if (TRUE) { class titi { var $KEYS = array(); } class toto extends titi { var $KEYS = array("login"); } } $toto = new toto; echo count($toto->KEYS); Note that the problem disappears if you remove the if (TRUE) statement.