|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-04-11 10:53 UTC] peehaa@php.net
-Status: Open
+Status: Not a bug
[2017-04-11 10:53 UTC] peehaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 22:00:01 2025 UTC |
Description: ------------ Comparison of string with 0 (integer zero) is returning boolean true php -r "var_dump('A' == 0);" bool(true) Test script: --------------- php -r "var_dump(('A' == 0));" bool(true) Expected result: ---------------- Comparison of string with 0 (integer zero) should return boolean false Actual result: -------------- bool(true)