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--
7register_globals=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( 'register_globals' ) );
14
15?>
16--EXPECTF--
17Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in %s on line 0
18*** Test by calling method or function with deprecated option ***
19string(1) "1"
20
21