Bug #17776 Updated: arrays incorrectly assigned "NULL" type

From: Date: Sat, 15 Jun 2002 23:57:40 +0000
Subject: Bug #17776 Updated: arrays incorrectly assigned "NULL" type
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10522@lists.php.net to get a copy of this message
ID: 17776 Updated by: sniper@php.net Reported By: adam@adeptsoftware.com -Status: Open +Status: Bogus Bug Type: Arrays related Operating System: winxp PHP Version: 4.1.2 New Comment: Can not reproduce with latest CVS. Please try PHP 4.2.1 Here's the script I used: <?php $Array = array(); echo gettype($Array); ?> Previous Comments: ------------------------------------------------------------------------ [2002-06-15 16:59:06] adam@adeptsoftware.com $Array = array(); gettype($Array) is NULL $Array = (array)array(); gettype($Array) is NULL $Array = array(); settype($Array, "array"); gettype($Array) is "array" finally ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17776&edit=1

« previous php.bugs (#10522) next »