func_get_arg.003.phpt 222 B

1234567891011
  1. --TEST--
  2. func_get_arg outside of a function declaration
  3. --FILE--
  4. <?php
  5. var_dump (func_get_arg(0));
  6. ?>
  7. --EXPECTF--
  8. Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
  9. bool(false)