3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Initial Configuration global $aHash; $i = 0; $tmp = ''; while($i < 10000) { $tmp .= 'a'; ++$i; } $aHash = array_fill(100000000000000000000000, 100, $tmp); unset($i, $tmp); reset($aHash); $key = array_keys($aHash); $size = sizeOf($key); for ($i=0; $i<$size; $i++) $tmp[] = $aHash[$key[$i]];
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: array_fill(): Argument #1 ($start_index) must be of type int, float given in /in/0ZEDS:12 Stack trace: #0 /in/0ZEDS(12): array_fill(1.0E+23, 100, 'aaaaaaaaaaaaaaa...') #1 {main} thrown in /in/0ZEDS on line 12
Process exited with code 255.

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