|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-13 23:26 UTC] mpr at er dot dtu dot dk
[2005-03-28 11:09 UTC] philip@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 17:00:02 2025 UTC |
Description: ------------ Intval documentation doesn't mention what the return value of intval applied to a non-nummeric string will be. Ie. Doesn't mention that intval("this is not a number, and can never be interpreted as one"); will return -1. Furthermore there's quite a few user contributed notes, that deal with intvals return value being undefined in case of integer overflow. This, IMHO, should be documented too.