|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-04-07 03:58 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 24 17:00:01 2025 UTC |
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