Bug #55222 [Ver->Csd]: Fatal Error disappears when using paranthesis
| From: | nikic@php.net | Date: | Sun, 14 Feb 2016 21:56:06 +0000 |
| Subject: | Bug #55222 [Ver->Csd]: Fatal Error disappears when using paranthesis | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-199205@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55222&edit=1
ID: 55222
Updated by: nikic@php.net
Reported by: hanskrentel at yahoo dot de
Summary: Fatal Error disappears when using paranthesis
-Status: Verified
+Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: Linux
PHP Version: 5.3.6
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
In PHP 7 this consistently throws a notice, the parenthesis no longer make a difference.
Previous Comments:
------------------------------------------------------------------------
[2014-03-17 21:38:33] nikic@php.net
@hanskretel: No, you should not. As this is a bug, the behavior might change in a future PHP version
without further notice.
------------------------------------------------------------------------
[2011-09-12 07:21:34] tom at kera dot name
cataphract, this bug report came out of that Stack Overflow post. I don't think that the Stack
Overflow post resolves it in any useful way.
------------------------------------------------------------------------
[2011-08-24 08:56:18] hanskrentel at yahoo dot de
I assume you want to say that the linked answer explicitly explains the problem.
Should we make use of this feature when programming PHP or not?
------------------------------------------------------------------------
[2011-07-29 09:56:38] cataphract@php.net
See http://stackoverflow.com/questions/6726589/parentheses-altering-semantics-of-function-call-result/6732876#6732876
------------------------------------------------------------------------
[2011-07-27 16:34:24] hanskrentel at yahoo dot de
I can only remind again that the first comment from php.net obviously misread this report.
I am _missing_ the fatal error.
------------------------------------------------------------------------
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=55222
--
Edit this bug report at https://bugs.php.net/bug.php?id=55222&edit=1