summaryrefslogtreecommitdiff
path: root/tests/lang/func_get_args.003.phpt
blob: 44faf7ebf808f811d6941f4250852bc476254b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
func_get_args() outside of a function declaration
--FILE--
<?php

var_dump(func_get_args());	

?>
--EXPECTREGEX--
Warning\: func_get_args\(\)\:  Called from the global scope - no function context in \S* on line 3
bool\(false\)