|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-11-29 11:03 UTC] nikic@php.net
-Status: Open
+Status: Feedback
[2017-11-29 11:03 UTC] nikic@php.net
[2018-05-05 21:49 UTC] requinix@php.net
-Status: Feedback
+Status: No Feedback
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 22 05:00:01 2025 UTC |
Description: ------------ PHP interpreter stops with segmentation fault when it comes into recursive class constant definition. Test script: --------------- <?php class SomeConstants { const RECURSIVE_CONSTANT = self::RECURSIVE_CONSTANT; } Expected result: ---------------- It would be better if PHP interpreter stopped with helpful error message about recursive definition. Actual result: -------------- Nov 28 19:04:00 homestead kernel: [ 194.868150] traps: php-fpm7.1[2753] general protection ip:565383b93854 sp:7fffcdf87b30 error:0 in php-fpm7.1[565383958000+3cf000]