3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( 'foo' => 'lorem some text', 'html' => htmlentities('<div class="col-md-12"'), ); print_r($array): print_r(json_encode($array));
Output for 5.3.0 - 5.5.11
Parse error: syntax error, unexpected ':' in /in/JIVNm on line 10
Process exited with code 255.