|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2016-06-20 05:32 UTC] ryan dot jentzsch at gmail dot com
Description: ------------ Segfault when running the referenced script: Test script: --------------- https://dl.dropboxusercontent.com/u/32885273/functions.php Expected result: ---------------- No output. Actual result: -------------- $ php --version PHP 7.1.0-dev (cli) (built: Jun 19 2016 22:18:33) ( ZTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies with Xdebug v2.5.0-dev, Copyright (c) 2002-2016, by Derick Rethans $ php functions.php [1] 19913 segmentation fault php functions.php PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 17:00:01 2026 UTC |
I think the parser is choking on the deprecated link() function declaration: if (! function_exists('DI\link')) { /** * Helper for referencing another container entry in an object definition. * * @deprecated \DI\link() has been replaced by \DI\get() * * @param string $entryName * * @return EntryReference */ function link($entryName) { return new EntryReference($entryName); } } I REMOVED this and the segfault went away. Commenting the code out still threw segfault errors.