Reimplement import() builtin function as a global-scope statement. This fixes #58.
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 @@
|
||||
import 'dummy';
|
||||
|
||||
final class Program {
|
||||
public void main() {
|
||||
var_dump(function_exists('dummy_function'));
|
||||
var_dump(import('dummy'));
|
||||
var_dump(function_exists('dummy_function'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user