3 ms·
Yes you're right, but the code I posted above still doesn't work. It works fine with PHP 5.4 though. This also fails with the same error message: $fn = funct
by hkolek 14y ago
Yes you're right, but the code I posted above still doesn't work. It works fine with PHP 5.4 though. This also fails with the same error message:
$fn = function() { echo 'foo'; };
But that's also perfectly valid PHP 5.4 code. Maybe I'm doing something wrong, idk.