3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); var_dump(array_key_exists(1, null)); var_dump(in_array(1, null)); var_dump(array_search(1, null));
Output for git.master, git.master_jit
Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /in/06OiE:4 Stack trace: #0 {main} thrown in /in/06OiE 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:
49.97 ms | 408 KiB | 5 Q