ID: 27892
Updated by: [EMAIL PROTECTED]
Reported By: ben at nullcreations dot net
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Windows/FreeBSD
PHP Version: 4.3.4
New Comment:
Really? (RTFM)
Previous Comments:
------------------------------------------------------------------------
[2004-04-06 16:32:57] ben at nullcreations dot net
Description:
------------
When getting an index position from a float, PHP returns NULL.
Reproduce code:
---------------
<?php
$number = 1.2;
echo $number{0};
?>
Expected result:
----------------
should return a string value containing "1"
Actual result:
--------------
returns NULL
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27892&edit=1