3v4l.org

run code in 300+ PHP versions simultaneously
<?php // This is for 64-bit systems. $input = array(12, 10, 9); $input = array_pad($input, -9223372036854775808, 0); var_dump($input); ?>
Output for git.master, git.master_jit
Fatal error: Uncaught ValueError: array_pad(): Argument #2 ($length) must be less than or equal to 1048576 in /in/pWJc7:4 Stack trace: #0 /in/pWJc7(4): array_pad(Array, -9.2233720368548E+18, 0) #1 {main} thrown in /in/pWJc7 on line 4
Process exited with code 255.
Output for rfc.property-hooks
Fatal error: Uncaught ValueError: array_pad(): Argument #2 ($length) must not exceed the maximum allowed array size in /in/pWJc7:4 Stack trace: #0 /in/pWJc7(4): array_pad(Array, -9.2233720368548E+18, 0) #1 {main} thrown in /in/pWJc7 on line 4
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:
72.02 ms | 401 KiB | 8 Q