From 32ea850bde5b5caedcd104dc2a29237d5f4ddd41 Mon Sep 17 00:00:00 2001 From: andy wharmby Date: Sun, 1 Feb 2009 19:29:29 +0000 Subject: [PATCH] New set_magic_quotes() tests. Tested on Windows, Linux and linux 64 --- .../set_magic_quotes_runtime_basic.phpt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ext/standard/tests/general_functions/set_magic_quotes_runtime_basic.phpt diff --git a/ext/standard/tests/general_functions/set_magic_quotes_runtime_basic.phpt b/ext/standard/tests/general_functions/set_magic_quotes_runtime_basic.phpt new file mode 100644 index 0000000000..059766563d --- /dev/null +++ b/ext/standard/tests/general_functions/set_magic_quotes_runtime_basic.phpt @@ -0,0 +1,24 @@ +--TEST-- +Test set_magic_quotes_runtime() function - basic test +--INI- +magic_quotes_runtime = 0 +--FILE-- + +--EXPECTF-- +Simple testcase for set_magic_quotes_runtime() function - basic test + +-- Set magic quotes runtime to 1: -- + +Fatal error: Call to undefined function set_magic_quotes_runtime() in %s on line %d \ No newline at end of file -- 2.50.1