mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
16 lines
307 B
Plaintext
16 lines
307 B
Plaintext
|
--TEST--
|
||
|
Bug #39763 filter applies magic_quotes twice in parse_str()
|
||
|
--INI--
|
||
|
magic_quotes_gpc=1
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$arr = array();
|
||
|
parse_str("val=%22probably+a+bug%22", $arr);
|
||
|
echo $arr['val'] . "\n";
|
||
|
parse_str("val=%22probably+a+bug%22");
|
||
|
echo $val . "\n";
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
\"probably a bug\"
|
||
|
\"probably a bug\"
|