3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a[1] = 'lolol'; $a[2] = '1l1l1l'; $a[3] = '<p>dasdsa</p>'; $a[4] = 'assa"".**&'; function protect(){ addslashes($a); array_map('strip_tags',$a); } protect($a) var_dump($a); return $a;
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/riVak on line 14
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/riVak on line 14
Process exited with code 255.