--- embedaddon/php/ext/standard/tests/general_functions/get_magic_quotes_gpc.phpt 2012/02/21 23:48:04 1.1.1.1 +++ embedaddon/php/ext/standard/tests/general_functions/get_magic_quotes_gpc.phpt 2012/05/29 12:34:44 1.1.1.2 @@ -1,49 +1,26 @@ --TEST-- Test get_magic_quotes_gpc() function ---INI-- -magic_quotes_gpc = 0 --FILE-- ===DONE=== ---EXPECT-- +--EXPECTF-- Simple testcase for get_magic_quotes_gpc() function - --- magic quotes gpc set in INI file: 0 -- - --- Set magic quotes gpc to 1 - not allowed so should fail! -- bool(false) --- magic quotes gpc after set: 0 -- - --- Set magic quotes gpc to 0: -- -bool(false) - --- magic quotes gpc after set: 0 -- - -- Error cases -- -int(0) -===DONE=== \ No newline at end of file + +Warning: get_magic_quotes_gpc() expects exactly 0 parameters, 1 given in %s on line %d +NULL +===DONE===