|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-05-15 13:37 UTC] nikic@php.net
-Status: Open
+Status: Not a bug
[2019-05-15 13:37 UTC] nikic@php.net
[2019-05-15 14:58 UTC] dorndorf at featdd dot de
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 03:00:01 2025 UTC |
Description: ------------ Using the null coalesce operator inside an if paranthesis using and resulting in false will match the condition anyway when the returned value is true. Test script: --------------- if (true ?? false && 0 > 0) { echo 'Should not be true'; }