3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Random { if (!\class_exists(\Random\Randomizer::class)) { final class Randomizer { public function nextInt(): int { return 1; } } } } namespace { $randomizer = new \Random\Randomizer; \var_dump($randomizer->nextInt()); }
Output for git.master
int(1834794739870241277)
Output for git.master_jit
int(6397212979648605372)
Output for rfc.property-hooks
int(3074693143282642539)

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:
44.2 ms | 407 KiB | 5 Q