3v4l.org

run code in 300+ PHP versions simultaneously
<?php $expected = [ [ 'clientCode' => '01', 'orderNumber' => '01', 'customerOrderNumber' => '02', 'id' => '1', 'qty' => '2' ], [ 'clientCode' => '01', 'orderNumber' => '01', 'customerOrderNumber' => '02', 'id' => '5', 'qty' => '1' ], [ 'clientCode' => '01', 'orderNumber' => '02', 'customerOrderNumber' => '675', 'id' => '300', 'qty' => '4' ], [ 'clientCode' => '01', 'orderNumber' => '02', 'customerOrderNumber' => '675', 'id' => '265', 'qty' => '2' ], [ 'clientCode' => '01', 'orderNumber' => '02', 'customerOrderNumber' => '675', 'id' => '100', 'qty' => '1' ], ]; var_dump($expected);
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { [0]=> array(5) { ["clientCode"]=> string(2) "01" ["orderNumber"]=> string(2) "01" ["customerOrderNumber"]=> string(2) "02" ["id"]=> string(1) "1" ["qty"]=> string(1) "2" } [1]=> array(5) { ["clientCode"]=> string(2) "01" ["orderNumber"]=> string(2) "01" ["customerOrderNumber"]=> string(2) "02" ["id"]=> string(1) "5" ["qty"]=> string(1) "1" } [2]=> array(5) { ["clientCode"]=> string(2) "01" ["orderNumber"]=> string(2) "02" ["customerOrderNumber"]=> string(3) "675" ["id"]=> string(3) "300" ["qty"]=> string(1) "4" } [3]=> array(5) { ["clientCode"]=> string(2) "01" ["orderNumber"]=> string(2) "02" ["customerOrderNumber"]=> string(3) "675" ["id"]=> string(3) "265" ["qty"]=> string(1) "2" } [4]=> array(5) { ["clientCode"]=> string(2) "01" ["orderNumber"]=> string(2) "02" ["customerOrderNumber"]=> string(3) "675" ["id"]=> string(3) "100" ["qty"]=> string(1) "1" } }

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:
44.69 ms | 403 KiB | 8 Q