3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array('Yousef\\\'s','\"PHP.net\"','user\\\'s'); echo 'With strip_slashes() function:<br />'; print_r(strip_slashes($arr)); echo '<br />'; echo 'Without strip_slashes() function:<br />'; print_r($arr); /** You will get With strip_slashes() function: Array ( [0] => Yousef's [1] => "PHP.net" [2] => user's ) Without strip_slashes() function: Array ( [0] => Yousef\'s [1] => \"PHP.net\" [2] => user\'s ) */ ?>
Output for 7.0.0 - 7.1.0
With strip_slashes() function:<br /> Fatal error: Uncaught Error: Call to undefined function strip_slashes() in /in/fUrbo:6 Stack trace: #0 {main} thrown in /in/fUrbo on line 6
Process exited with code 255.
Output for hhvm-3.12.0
With strip_slashes() function:<br /> Fatal error: Uncaught Error: Call to undefined function strip_slashes() in /in/fUrbo:6 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.0.0 - 5.6.28, hhvm-3.10.0
With strip_slashes() function:<br /> Fatal error: Call to undefined function strip_slashes() in /in/fUrbo on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
With strip_slashes() function:<br /> Fatal error: Call to undefined function: strip_slashes() in /in/fUrbo on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
With strip_slashes() function:<br /> Fatal error: Call to undefined function: strip_slashes() in /in/fUrbo on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
With strip_slashes() function:<br /> Fatal error: Call to undefined function: strip_slashes() in /in/fUrbo on line 6