php-src/tests/security/magic_quotes_gpc.phpt
Jani Taskinen 996eab8983 - Fixed ini deprecation message issues in tests.
# CGI headers are stripped and the error ends up there with CGI..
2009-05-06 20:32:00 +00:00

13 lines
165 B
PHP

--TEST--
Test if magic_quotes_gpc works as expected
--INI--
magic_quotes_gpc=1
--GET--
a=abc'"%00123
--FILE--
<?php
echo $_GET['a'],"\n";
?>
--EXPECT--
abc\'\"\0123