3v4l.org

run code in 500+ PHP versions simultaneously
<?php $allowMasterIds = [12, 123, 1234]; $records = [[5423]]; foreach ($records as $record) { if (array_intersect_key($record, $allowMasterIds)) { var_dump('Нет доступа к мастерам с ID: ['.implode(', ', $record).']'); } }
Output for git.master_jit, git.master
string(55) "Нет доступа к мастерам с ID: [5423]"

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:
40.17 ms | 765 KiB | 4 Q