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--FILE-- 9<?php 10echo "*** Test by calling method or function with deprecated option ***\n"; 11var_dump(get_cfg_var( 'magic_quotes_gpc' ) ); 12 13?> 14--EXPECT-- 15Fatal error: Directive 'magic_quotes_gpc' is no longer available in PHP in Unknown on line 0 16