Skip to content

Commit deb2219

Browse files
committed
fixup! Support first-class callables in const-expressions
1 parent 43eebc2 commit deb2219

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Zend/tests/closure_const_expr/fcc/autoload.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Errors if the function does not exist.
2+
FCC in const expression triggers autoloader.
33
--FILE--
44
<?php
55

Zend/tests/closure_const_expr/fcc/property_initializer_scope_001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Closure in property initializer may access private methods.
2+
FCC in property initializer may access private methods.
33
--FILE--
44
<?php
55

Zend/tests/closure_const_expr/fcc/property_initializer_scope_002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Closure in property initializer may not access unrelated private methods.
2+
FCC in property initializer may not access unrelated private methods.
33
--FILE--
44
<?php
55

0 commit comments

Comments
 (0)