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

From: Date: Sun, 16 Jun 2002 03:14:53 +0000
Subject: Bug #17776 Updated: arrays incorrectly assigned "NULL" type
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10545@lists.php.net to get a copy of this message
ID: 17776 Updated by: adam@adeptsoftware.com Reported By: adam@adeptsoftware.com Status: Bogus Bug Type: Arrays related Operating System: winxp PHP Version: 4.1.2 New Comment: Hmm it works now. There appear to be other factors causing this. I will see if I can figure it out. Previous Comments: ------------------------------------------------------------------------ [2002-06-15 19:57:39] sniper@php.net Can not reproduce with latest CVS. Please try PHP 4.2.1 Here's the script I used: <?php $Array = array(); echo gettype($Array); ?> ------------------------------------------------------------------------ [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 (#10545) next »