Do not use PH7_KEYWORD_FUNCTION for closure declaration.
All checks were successful
The build was successful.
All checks were successful
The build was successful.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class Program {
|
||||
|
||||
function main(string[] $args) {
|
||||
callback $y = function() {
|
||||
callback $y = void() {
|
||||
callback $a = 'printf';
|
||||
$a("I'm alive\n");
|
||||
var_dump($a);
|
||||
|
Reference in New Issue
Block a user