3v4l.org

run code in 300+ PHP versions simultaneously
<?php $counts = [ '0.13' => 0, '0.3' => 0, '1.234' => 0, ]; for($i = 0; $i < 1000000; $i++) { $counts['0.13'] += 0.13; $counts['0.3'] += 0.3; $counts['1.234'] += 1.234; } print_r( $counts );
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0.13] => 130000.00000173 [0.3] => 299999.99999434 [1.234] => 1234000.0000128 )

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