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\Cut\Off\Here; $x = new Here\lol;
Output for git.master, git.master_jit, rfc.property-hooks
Parse error: syntax error, unexpected token "\", expecting "{" in /in/I56K0 on line 3
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:
145.26 ms | 405 KiB | 5 Q