summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/get_cfg_var_variation8.phpt
blob: b273e512d09b38f8d6fc43065ef283c9c55dd6e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Test function get_cfg_var() by calling deprecated option
--CREDITS--
Francesco Fullone ff@ideato.it
#PHPTestFest Cesena Italia on 2009-06-20
--INI--
magic_quotes_gpc=1
--FILE--
<?php
echo "*** Test by calling method or function with deprecated option ***\n";
var_dump(get_cfg_var( 'magic_quotes_gpc' ) );

?>
--EXPECT--
Fatal error: Directive 'magic_quotes_gpc' is no longer available in PHP in Unknown on line 0