|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-07-09 19:01 UTC] ssb
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 11:00:02 2025 UTC |
Now gettype is totally inconsistent: Now ------- $b = array(); function b() { ; } print gettype($b); ------- retruns "array" which is perfectly correct. But ------- class A { var $a = array(); function a() { ; } } $o = new A; print gettype($o->a); ------- returns "user function" which is not only false, but also inconsistent to what gettype() returns in the upper case.