|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-11-29 14:20 UTC] felipe@php.net
[2011-11-29 15:49 UTC] zarzu dot razvan at gmail dot com
[2011-11-30 00:27 UTC] yohgaki@php.net
[2011-11-30 00:28 UTC] yohgaki@php.net
-Status: Open
+Status: Feedback
[2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 15:00:01 2025 UTC |
Description: ------------ When declaring a closure and using it without the open brackets (as if it were a variable), PHP stops from executing next instructions. Test script: --------------- $a = function(){}; echo $a; echo 'Hey!'; Expected result: ---------------- Hey! Actual result: -------------- nothing