1--TEST--
2Test function get_cfg_var() by calling deprecated option
3--CREDITS--
4Francesco Fullone ff@ideato.it
5#PHPTestFest Cesena Italia on 2009-06-20
6--INI--
7magic_quotes_gpc=1
8--SKIPIF--
9<?php if (version_compare(PHP_VERSION, "5.3", "<")) die("skip requires 5.3 or greater"); ?>
10--FILE--
11<?php
12echo "*** Test by calling method or function with deprecated option ***\n";
13var_dump(get_cfg_var( 'magic_quotes_gpc' ) );
14
15?>
16--EXPECTF--
17Fatal error: Directive 'magic_quotes_gpc' is no longer available in PHP in Unknown on line 0
18