3v4l.org

run code in 300+ PHP versions simultaneously
<?php $one = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1637, 2844, 2844, 2446, 2111, 2008, 2026 ]; $two = [ 2096, 2046, 1800, 1380, 1087, 739, 516, 399, 297, 387, 621, 923, 1305, 1607, 1555, 1569, 2087, 2224, 2022, 0, 0, 0, 0 ]; $val = array_sum($one) + array_sum($two); var_dump(array_sum($one), array_sum($two), $val);
Output for git.master, git.master_jit, rfc.property-hooks
int(15916) int(24660) int(40576)

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