diff options
Diffstat (limited to 'Examples/test-suite/php/arrays_scope_runme.php')
| -rw-r--r-- | Examples/test-suite/php/arrays_scope_runme.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Examples/test-suite/php/arrays_scope_runme.php b/Examples/test-suite/php/arrays_scope_runme.php new file mode 100644 index 0000000..6d3eba7 --- /dev/null +++ b/Examples/test-suite/php/arrays_scope_runme.php @@ -0,0 +1,16 @@ +<?php + +require "tests.php"; +require "arrays_scope.php"; + +// No new functions +check::functions(array(new_bar,bar_blah)); +// No new classes +check::classes(array(arrays_scope,Bar)); +// now new vars +check::globals(array()); + +$bar=new bar(); + +check::done(); +?> |
