Lines Matching refs:timezone_open
2 Test timezone_open() function : error conditions
5 /* Prototype : DateTimeZone timezone_open ( string $timezone )
11 echo "*** Testing timezone_open() : error conditions ***\n";
13 echo "\n-- Testing timezone_open() function with zero arguments --\n";
14 var_dump( timezone_open() );
16 echo "\n-- Testing timezone_open() function with more than expected no. of arguments --\n";
19 var_dump( timezone_open($time, $extra_arg) );
24 *** Testing timezone_open() : error conditions ***
26 -- Testing timezone_open() function with zero arguments --
28 Warning: timezone_open() expects exactly 1 parameter, 0 given in %s on line %d
31 -- Testing timezone_open() function with more than expected no. of arguments --
33 Warning: timezone_open() expects exactly 1 parameter, 2 given in %s on line %d