3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array( 'id_rating_review' => 'foo', ); $first = array_shift($data); #var_dump($first); # var_dump(isset( # $first['id_rating_review'] # )); $string = 'string'; var_dump($string[0]); var_dump(isset($string['foo']); var_dump($string['foo']);
Output for 5.3.0 - 5.5.1
Parse error: syntax error, unexpected ';' in /in/bnYEW on line 13
Process exited with code 255.