3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function getRandomName () { $Names = array("Wolf", "Gitta", "Len" , "Leana"); $this = array_rand($Names,1); echo $this; }
Output for 5.3.0 - 5.4.21
Fatal error: Cannot re-assign $this in /in/Q5OYH on line 5
Process exited with code 255.