|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-05 10:22 UTC] sterling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 28 10:00:01 2025 UTC |
The following example results in a segfault in PHP 5. It's OK in 4.3.0. <? function f($v) { print("$v\n"); } //OK (control) $Function = "f"; $Function("success"); //OK (fatal error) //$Function = "f2"; //$Function("success"); //Segfault (should be fatal error) $Function = NULL; $Function("success"); ?>