|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-11-15 10:10 UTC] sjon at hortensius dot net
[2018-11-15 10:38 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2018-11-15 10:38 UTC] cmb@php.net
[2018-11-15 10:46 UTC] nikic@php.net
[2018-11-15 15:59 UTC] maggus dot staab at googlemail dot com
[2018-11-15 16:11 UTC] cmb@php.net
-Status: Feedback
+Status: Not a bug
[2018-11-15 16:11 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 20:00:02 2025 UTC |
Description: ------------ the following code segfaults on the php-cli (and on mod_php) but I expected a proper error to happen mstaab@mst16:/tmp$ php test.php Speicherzugriffsfehler (Speicherabzug geschrieben) mstaab@mst16:/tmp$ php -v PHP 7.0.32-4+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Nov 4 2018 05:10:29) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.32-4+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies with blackfire v1.23.1~linux-x64-non_zts70, https://blackfire.io, by Blackfire Test script: --------------- <?php // test.php class a { private $prop; public function __construct() { $this->prop = new a(); } } new a(); Expected result: ---------------- no segfault Actual result: -------------- segfaults