3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace This\Is\A\Really\Long\NamespacePlz\Cut\Off\Here; class lol { public function __construct() { echo 'We will never get here :-('; } } // ---------------------------------- namespace Test; // Helps us keep within 80 char limit use This\Is\A\Really\Long\NamespacePlz, NamespacePlz\Cut\Off\Here; $x = new Here\lol;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "NamespacePlz\Cut\Off\Here\lol" not found in /in/CIEWr:21 Stack trace: #0 {main} thrown in /in/CIEWr on line 21
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
76.98 ms | 405 KiB | 5 Q