3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Universe\MilkeyWay\Sol\Terra { class Ozzie { public function __construct() { echo 'Ozzie', PHP_EOL;}} class Darsstar { public function __construct() { echo __CLASS__, PHP_EOL;}} class God { public function __construct() { echo __CLASS__, PHP_EOL;}} } namespace { use Universe\MilkeyWay\Sol; new Sol\Terra\Ozzie; new Sol\Terra\Darsstar; new Sol\Terra\God; }
Output for git.master, git.master_jit, rfc.property-hooks
Ozzie Universe\MilkeyWay\Sol\Terra\Darsstar Universe\MilkeyWay\Sol\Terra\God

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:
69.97 ms | 401 KiB | 8 Q