1--TEST--
2Test get_magic_quotes_runtime() function
3--FILE--
4<?php
5/* Prototype: int get_magic_quotes_runtime  ( void  )
6 * This function is not supported anymore and will always return false
7 */
8
9echo "Simple testcase for get_magic_quotes_runtime() function\n";
10
11var_dump(get_magic_quotes_runtime());
12
13echo "\n-- Error cases --\n";
14// no checks on number of args
15var_dump(get_magic_quotes_runtime(true));
16
17?>
18===DONE===
19--EXPECTF--
20Simple testcase for get_magic_quotes_runtime() function
21bool(false)
22
23-- Error cases --
24
25Warning: get_magic_quotes_runtime() expects exactly 0 parameters, 1 given in %s on line %d
26NULL
27===DONE===
28