3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [[]]; var_export( // array_map(exit(...), $array) #first class callable syntax array_map('exit', $array) );
Output for git.master_jit, git.master
Fatal error: Uncaught TypeError: exit(): Argument #1 ($status) must be of type string|int, array given in /in/Wh0qu:6 Stack trace: #0 [internal function]: exit(Array) #1 /in/Wh0qu(6): array_map('exit', Array) #2 {main} thrown in /in/Wh0qu on line 6
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:
27.58 ms | 405 KiB | 5 Q