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