3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "post_processed_string"; $b = array("post_", "_"); $c = array("", " "); $d = ucwords(str_replace($b,$c,$a)); printf $d; ?>
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected '$d' (T_VARIABLE) in /in/QVIdq on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_VARIABLE in /in/QVIdq on line 6
Process exited with code 255.