Bug #70240 [Opn->Csd]: Segfault when doing unset($var());
| From: | laruence@php.net | Date: | Tue, 11 Aug 2015 13:49:40 +0000 |
| Subject: | Bug #70240 [Opn->Csd]: Segfault when doing unset($var()); | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195122@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70240&edit=1
ID: 70240
Updated by: laruence@php.net
Reported by: sjon at hortensius dot net
Summary: Segfault when doing unset($var());
-Status: Open
+Status: Closed
Type: Bug
Package: Reproducible crash
PHP Version: 7.0.0beta3
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4064ee30615280396db27ee86afafaf2a00dc9c9
Log: Fixed bug #70240 (Segfault when doing unset($var());)
Previous Comments:
------------------------------------------------------------------------
[2015-08-11 12:56:59] sjon at hortensius dot net
Description:
------------
This only started happening in php-7, before that it would fail better
Test script:
---------------
from http://3v4l.org/bgihv
<?php
unset($var());
Expected result:
----------------
Fatal error: Can't use function return value in write context in /in/bgihv on line 2
Process exited with code 255.
Actual result:
--------------
Process exited with code 139.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70240&edit=1