|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-07-09 07:42 UTC] ssb
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Jun 14 20:00:01 2026 UTC |
Why does this code print "unknown type" and not "array"? webuser@poe /home/www/servers/poe.shonline.de $ cgi/php <?php class auth { var $auth = array(); function auth() { printf("type = %s\n", gettype($this->auth)); } } $auth = new auth; $auth->auth(); Content-type: text/html type = unknown type