3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $winner = Array["Daniel Kopel","Sandra Patolsky","Eigor Kalantarov","Ran Yosef","Itamar Kenan","Tal Gafri","Sagie Abitbol","Yakir Peretz","Shay Zimerman", "Eden Gottlieb", "Avi Twito", "Roi Himan"]; $rand = rand(0,count($winner)); echo $winner[$rand];
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '[', expecting '(' in /in/2qX2H on line 3
Process exited with code 255.