3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dataArray = [ 'Items' => [4 => [ [id] => 4, [name] => 'Test Item 4 Name', [desc] => 'Test Item 4 Desc', ]], [5 => [ [id] => 5, [name] => 'Test Item 5 Name', [desc] => 'Test Item 5 Desc', ]], [6 => [ [id] => 6, [name] => 'Test Item 6 Name', [desc] => 'Test Item 6 Desc', ]], ]; var_dump($dataArray); exit;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Undefined constant "id" in /in/HKtb6:6 Stack trace: #0 {main} thrown in /in/HKtb6 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:
53.69 ms | 401 KiB | 8 Q