summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/get_cfg_var_variation8.phpt
blob: f743e7456c84a4dabbd5a557658de4fc359e0cfc (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' ) );

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