3v4l.org

run code in 300+ PHP versions simultaneously
<html> <title>davor</title> <?php $student = array("student"=>array("ime"=>"1.Davor","prezime"=>"2.begic","godina"=>"3.godina"), ); echo "<br>\n"; $auti = array("citoren"=>array("tip"=>"citroen", "boja"=>"crvena","godina"=>"2002"), "mercedes"=>array("tip"=>"mercedes","boja"=>"zelena","godina"=>"2001"), ); echo "<br>\n"; echo $student["student"]["ime"]."<br>\n"; echo $student["student"]["prezime"]."<br>\n"; echo $student["student"]["godina"]."<br>\n"; echo "<br>\n"; echo $auti["citroen"]["tip"]."<br>\n"; echo $auti["citroen"]["boja"]."<br>\n"; echo $auti["citroen"]["godina"]."<br>\n" echo $auti["mercedes"]["tip"]."<br>\n"; echo $auti["mercedes"]["boja"]."<br>\n"; echo $auti["mercedes"]["godina"]."<br>\n"; ?>
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in /in/Ml2kC on line 26
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /in/Ml2kC on line 26
Process exited with code 255.

preferences:
197 ms | 1395 KiB | 61 Q