3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php testme(); function testme() { $data='b=2'; parse_str($data); if(isset($b)) { echo "good\n"; } else { echo "bad\n"; } if(isset($b)) { echo "good\n"; } else { echo "bad\n"; } if(isset($b)) { echo "good\n"; } else { echo "bad\n"; } }
Output for 7.2.0
Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /in/pIa92 on line 6 good good good
Output for 4.3.0 - 7.1.10
good good good