diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-07-14 02:52:09 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-07-14 02:52:09 +0200 |
commit | bce9368dfbd2b11258601604a44e2145c9bb2d86 (patch) | |
tree | f86707e1b155c6bc2191a6ab57b92876f43898bf | |
parent | 1003d01f3aa65e1e63a248bc67c2f36538561b35 (diff) | |
download | php-git-bce9368dfbd2b11258601604a44e2145c9bb2d86.tar.gz |
Closures only have {closure}() as method name
Prefixing a class name does not make sense as they may be rebound to another scope, where this will be confusing
-rw-r--r-- | Zend/tests/closure_033.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/closure_033.phpt b/Zend/tests/closure_033.phpt index d92716aacc..c83a53898d 100644 --- a/Zend/tests/closure_033.phpt +++ b/Zend/tests/closure_033.phpt @@ -23,7 +23,7 @@ $o->func(); ?> ===DONE=== --EXPECTF-- -Test::{closure}() +{closure}() Fatal error: Uncaught Error: Call to private method Test::func() from context '' in %sclosure_033.php:%d Stack trace: |