xref: /PHP-7.0/tests/lang/func_get_args.003.phpt (revision 775389cd)
1--TEST--
2func_get_args() outside of a function declaration
3--FILE--
4<?php
5
6var_dump(func_get_args());
7
8?>
9--EXPECTREGEX--
10Warning\: func_get_args\(\)\:  Called from the global scope - no function context in \S* on line 3
11bool\(false\)
12