Bug #73905 [Fbk->NoF]: operand problem

From: Date: Sun, 22 Jan 2017 04:22:55 +0000
Subject: Bug #73905 [Fbk->NoF]: operand problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206841@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73905&edit=1 ID: 73905 Updated by: php-bugs@lists.php.net Reported by: m dot honar at gmail dot com Summary: operand problem -Status: Feedback +Status: No Feedback Type: Bug Package: *General Issues Operating System: ubuntu PHP Version: 7.0.14 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2017-01-10 12:07:24] requinix@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Behavior has not changed. https://3v4l.org/DmW8j ------------------------------------------------------------------------ [2017-01-10 11:58:57] m dot honar at gmail dot com Description: ------------ on all scripts language return false; but on php7.0.14 first cast to int and after check value : >>> echo (0 == '---')? 'true':'false'; true >>> echo (0 == '1---')? 'true':'false'; false but this case === type checking operand: >>> echo (0 === '---')? 'true':'false'; false ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73905&edit=1

« previous php.bugs (#206841) next »