3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = []; for ($i = 0; $i < 256; $i++) { $result[] = $i % 21; } echo json_encode(array_count_values($result)), PHP_EOL; $result = []; for ($i = 0; $i < 256; $i++) { $result[] = (int) round($i / 13); } echo json_encode(array_count_values($result)), PHP_EOL;
Output for rfc.property-hooks, git.master, git.master_jit
[13,13,13,13,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12] [7,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,2]

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:
46.13 ms | 2222 KiB | 4 Q