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 'isset b='.$b,"\n"; } else { echo 'notset b='.$b,"\n"; } if(isset($b)) { echo 'isset b='.$b,"\n"; } else { echo 'no b='.$b,"\n"; } }
Output for 7.2.0 - 7.2.6
Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /in/0knIg on line 6 isset b=2 isset b=2
Output for 4.3.0 - 7.1.20
isset b=2 isset b=2