Bug #73306 [Com]: php ver 7.0.4,5.6.8
| From: | 13353540 at qq dot com | Date: | Wed, 12 Oct 2016 17:18:19 +0000 |
| Subject: | Bug #73306 [Com]: php ver 7.0.4,5.6.8 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-204648@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73306&edit=1
ID: 73306
Comment by: 13353540 at qq dot com
Reported by: 13353540 at qq dot com
Summary: php ver 7.0.4,5.6.8
Status: Not a bug
Type: Bug
Package: *General Issues
Operating System: centos6,7
PHP Version: 7.0.11
Block user comment: N
Private report: N
New Comment:
<?
error_reporting(E_ERROR);
$ret="";
$ret_obj=json_decode($ret);
if($ret_obj->result==false && $ret_obj->code=99 )
echo 1;
else
echo 2;
?>
It's print 1.
It's a mistake.
Previous Comments:
------------------------------------------------------------------------
[2016-10-12 17:13:43] 13353540 at qq dot com
requinix@php.net,
1. Set error_reporting=-1 and display_errors=on in php.ini and you will see multiple warnings about
your code.
multiple warnings do not affect the results.
2. Count your equals signs.
I am sorry , Bug #73306 is wrong ,i renew the report to #73308
I think it is must be a bug.
------------------------------------------------------------------------
[2016-10-12 17:13:43] 13353540 at qq dot com
Related To: Bug #73306
------------------------------------------------------------------------
[2016-10-12 16:36:26] requinix@php.net
1. Set error_reporting=-1 and display_errors=on in php.ini and you will see multiple warnings about
your code.
2. Count your equals signs.
------------------------------------------------------------------------
[2016-10-12 16:17:22] 13353540 at qq dot com
Related To: Bug #73305
------------------------------------------------------------------------
[2016-10-12 16:16:48] 13353540 at qq dot com
Related To: Bug #73304
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=73306
--
Edit this bug report at https://bugs.php.net/bug.php?id=73306&edit=1