Bug #74344 [Fbk->NoF]: isset() returns inncorect value
| From: | php-bugs at lists dot php dot net | Date: | Sun, 23 Apr 2017 04:22:50 +0000 |
| Subject: | Bug #74344 [Fbk->NoF]: isset() returns inncorect value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208721@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74344&edit=1
ID: 74344
Updated by: php-bugs@lists.php.net
Reported by: damianboni at gmail dot com
Summary: isset() returns inncorect value
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Scripting Engine problem
Operating System: ubuntu 16.04.3
PHP Version: 7.0.15
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-04-10 16:11:09] requinix@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2017-04-10 16:06:06] damianboni at gmail dot com
Same issue experienced on Ubuntu 16.04 and PHP 7.0.15 and 7.1.3,
BUG:
isset is returning false when checking on boolean, this is inncorect, isset should return true on
boolean value.
var_dump($sectionName);
var_dump(isset($params['entry']['attributes']['enabled']));
var_dump($params['entry']['attributes']['enabled']);
output:
string(4) "team"
bool(false)
bool(true)
------------------------------------------------------------------------
[2017-03-30 16:39:58] requinix@php.net
No, that link tests all recent versions of PHP. Read the page.
If it works in all versions except 7.0.8 then there's nothing to do because that's an old
version and we're on 7.0.17 now. Can't go back in time.
Though I still doubt this problem actually exists.
------------------------------------------------------------------------
[2017-03-30 16:32:38] damianboni at gmail dot com
Issue occurs on version 7.0.8 , you're testing it on 5.6.X
------------------------------------------------------------------------
[2017-03-30 16:07:08] spam2 at rhsoft dot net
> always get true with an exception to 7.0.8
reported for PHP Version: 7.0.17
so what does that mean?
"I tested the below script on different version of PHP and always get true with an exception to
7.0.8" - m yunderstanding is that this only happens on the Ubuntu build, not with a recent PHP
release and so is not a current upstream pug?
------------------------------------------------------------------------
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=74344
--
Edit this bug report at https://bugs.php.net/bug.php?id=74344&edit=1