3v4l.org

run code in 500+ PHP versions simultaneously
<?php $list[7362][0]['value'] = 'apple'; $list[7362][1]['value'] = 'orange'; $list[9215][0]['value'] = 'lemon'; $find = 'orange'; var_export( array_find_key( $list, fn($row) => array_any( $row, fn($sub) => $sub['value'] === $find ) ) );
Output for git.master_jit, git.master
7362

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.75 ms | 849 KiB | 4 Q