3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = array( array('target_id' => 5), array('target_id' => 6), ); array_walk($t, 'reset'); print_r($t);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: reset() expects exactly 1 argument, 2 given in /in/Ouk0A:8 Stack trace: #0 [internal function]: reset(Array, 0) #1 /in/Ouk0A(8): array_walk(Array, 'reset') #2 {main} thrown in /in/Ouk0A on line 8
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:
46.85 ms | 405 KiB | 9 Q