3v4l.org

run code in 300+ PHP versions simultaneously
<?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.3.27, 5.4.0 - 5.4.17, 5.5.0 - 5.5.1
Parse error: syntax error, unexpected ';' in /in/bnYEW on line 13
Process exited with code 255.

preferences:
189.35 ms | 1395 KiB | 55 Q