1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00
Files
archived-php-src/tests/security/magic_quotes_gpc.phpt
Jani Taskinen b9ac76c51c - Fix test
2009-12-11 15:38:15 +00:00

14 lines
182 B
PHP

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