|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-29 13:40 UTC] irchtml@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 00:00:02 2025 UTC |
Description: ------------ The documentation for empty() states: "empty() returns FALSE if var has a non-empty or non-zero value." Leaving aside the fact that empty()'s behavior of returning TRUE if the variable contains the string "0" is completely useless, the documentation is wrong. It should read: "empty() returns FALSE if var has a non-empty and non-zero value." ^^^