3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomeClass { public function __construct() { $this = null; } }
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Fatal error: Cannot re-assign $this in /in/TauX9 on line 5
Process exited with code 255.

preferences:
161.46 ms | 1457 KiB | 7 Q