3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myWondersArray = array ( 0 => (object) array( 'currentUnitDisplay' => 'WonderSkills: Starter Book 2, Unit 3 - Helping Mom (Part 1/3)', 'currentUnitPart' => 'wonderskills/starter_book_2/unit_3_helping_mom/part_1/', ), 1 => (object) array( 'currentUnitDisplay' => 'WonderSkills: Starter Book 2, Unit 3 - Helping Mom (Part 2/3)', 'currentUnitPart' => 'wonderskills/starter_book_2/unit_3_helping_mom/part_2/', ), 2 => (object) array( 'currentUnitDisplay' => 'WonderSkills: Starter Book 2, Unit 3 - Helping Mom (Part 3/3)', 'currentUnitPart' => 'wonderskills/starter_book_2/unit_3_helping_mom/part_3/', ), 3 => (object) array( 'previousUnitDisplay' => 'WonderSkills: Starter Book 2, Unit 2 - Sid\'s New Neighbors (Part 1/3)', 'previousUnitPart' => 'wonderskills/starter_book_2/unit_2_sids_new_neighbors/part_1/', ), 4 => (object) array( 'previousUnitDisplay' => 'WonderSkills: Starter Book 2, Unit 2 - Sid\'s New Neighbors (Part 2/3)', 'previousUnitPart' => 'wonderskills/starter_book_2/unit_2_sids_new_neighbors/part_2/', ), 5 => (object) array( 'previousUnitDisplay' => 'WonderSkills: Starter Book 2, Unit 2 - Sid\'s New Neighbors (Part 3/3)', 'previousUnitPart' => 'wonderskills/starter_book_2/unit_2_sids_new_neighbors/part_3/', ), 6 => (object) array( 'nextUnitDisplay' => 'WonderSkills: Starter Book 2, Unit 4 - Food from the Garden (Part 1/3)', 'nextUnitPart' => 'wonderskills/starter_book_2/unit_4_food_from_the_garden/part_1/', ), 7 => (object) array( 'nextUnitDisplay' => 'WonderSkills: Starter Book 2, Unit 4 - Food from the Garden (Part 2/3)', 'nextUnitPart' => 'wonderskills/starter_book_2/unit_4_food_from_the_garden/part_2/', ), 8 => (object) array( 'nextUnitDisplay' => 'WonderSkills: Starter Book 2, Unit 4 - Food from the Garden (Part 3/3)', 'nextUnitPart' => 'wonderskills/starter_book_2/unit_4_food_from_the_garden/part_3/', ), ); $buckets = array_fill_keys(['previous', 'current', 'next'], []); foreach ($myWondersArray as $obj) { $buckets[substr(key((array) $obj), 0, -11)][] = $obj; } var_export(array_merge(...array_values($buckets)));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.30.0120.00519.42
8.5.20.0110.01020.25
8.5.10.0140.00816.67
8.5.00.0110.01020.14
8.4.180.0120.01019.82
8.4.170.0140.00820.39
8.4.160.0170.00524.07
8.4.150.0010.00114.05
8.4.140.0190.00917.50
8.4.130.0130.00717.57
8.4.120.0040.00522.43
8.4.110.0090.01122.59
8.4.100.0140.00717.73
8.4.90.0140.00717.75
8.4.80.0050.00417.57
8.4.70.0120.00717.77
8.4.60.0120.00820.27
8.4.50.0060.00317.78
8.4.40.0160.00318.66
8.4.30.0150.00418.82
8.4.20.0100.01020.46
8.4.10.0040.00419.34
8.3.300.0070.00320.75
8.3.290.0090.01120.47
8.3.280.0130.01218.50
8.3.270.0130.00716.63
8.3.260.0040.00416.77
8.3.250.0140.00518.98
8.3.240.0050.00216.79
8.3.230.0120.00816.42
8.3.220.0090.01018.94
8.3.210.0130.00616.85
8.3.200.0130.00716.61
8.3.190.0110.00717.22
8.3.180.0100.00818.64
8.3.170.0070.01120.76
8.3.160.0060.00317.25
8.3.150.0110.00717.28
8.3.140.0080.00017.20
8.3.130.0150.00418.52
8.3.120.0000.01020.77
8.3.110.0080.00016.57
8.3.100.0150.00716.40
8.3.90.0110.00418.74
8.3.80.0070.00317.97
8.3.70.0150.00016.75
8.3.60.0470.00725.92
8.3.50.0160.01025.92
8.3.40.0280.01525.92
8.3.30.0470.00625.92
8.3.20.0340.00925.92
8.3.10.0340.00925.92
8.3.00.0340.00925.92
8.2.300.0180.00418.21
8.2.290.0100.00920.68
8.2.280.0110.00918.54
8.2.270.0060.00319.07
8.2.260.0030.01618.22
8.2.250.0140.00718.56
8.2.240.0080.00017.18
8.2.230.0060.00320.94
8.2.220.0060.00324.06
8.2.210.0120.00626.77
8.2.200.0000.01016.63
8.2.190.0100.00716.75
8.2.180.0420.00325.92
8.2.170.0400.01325.92
8.2.160.0520.00625.92
8.2.150.0370.01125.92
8.2.140.0370.01125.92
8.2.130.0450.00725.92
8.2.120.0310.02125.92
8.2.110.0420.01025.92
8.2.100.0410.00625.92
8.2.90.0410.00325.92
8.2.80.0530.01025.92
8.2.70.0440.00725.92
8.2.60.0320.01525.92
8.2.50.0240.01725.92
8.2.40.0350.00625.92
8.2.30.0320.00425.92
8.2.20.0350.00925.92
8.2.10.0340.00625.92
8.2.00.0310.00025.92
8.1.340.0110.00617.75
8.1.330.0090.00916.81
8.1.320.0100.00916.43
8.1.310.0120.00318.48
8.1.300.0070.01119.39
8.1.290.0000.00918.88
8.1.280.0320.01025.92
8.1.270.0380.00325.92
8.1.260.0320.00925.92
8.1.250.0280.01325.92
8.1.240.0290.00425.92
8.1.230.0270.00725.92
8.1.220.0340.00825.92
8.1.210.0260.01025.92
8.1.200.0220.01825.92
8.1.190.0440.00025.92
8.1.180.0430.00725.92
8.1.170.0350.00725.92
8.1.160.0220.01925.92
8.1.150.0280.01325.92
8.1.140.0290.00325.92
8.1.130.0240.00825.92
8.1.120.0250.00625.92
8.1.110.0250.00625.92
8.1.100.0260.01525.92
8.1.90.0260.00625.92
8.1.80.0380.00525.92
8.1.70.0340.00325.92
8.1.60.0380.00725.92
8.1.50.0300.00725.92
8.1.40.0330.01325.92
8.1.30.0330.01125.92
8.1.20.0390.00725.92
8.1.10.0250.01825.92
8.1.00.0240.00925.92

preferences:
34.28 ms | 403 KiB | 5 Q