3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); $t = microtime(true); for ($i = 0; $i < 10000000; ++$i) $a[] = rand(); echo (microtime(true) - $t) / 1000000;
based on bB6vK

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Arrow functions
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 67108872 bytes) in /in/dOto0 on line 8

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