3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ ['name'=>'John B'], ['age'=>30], ['sizes'=> [ 'weight'=>80, 'height'=>120 ] ] ], [ ['name'=>'Marie B'], ['age'=>31], ['sizes'=> [ 'weight'=>60, 'height'=>110 ] ] ], [ ['name'=>'Carl M'], ['age'=>12], ['sizes'=> [ 'weight'=>70, 'height'=>100 ] ] ], [ ['name'=>'Mike N'], ['age'=>19], ['sizes'=> [ 'weight'=>70, 'height'=>150 ] ] ], [ ['name'=>'Nancy N'], ['age'=>15], ['sizes'=> [ 'weight'=>60, 'height'=>150 ] ] ], [ ['name'=>'Cory X'], ['age'=>15], ['sizes'=> [ 'weight'=>44, 'height'=>150 ] ] ] ]; ?>

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.3.60.0120.00318.33
8.3.50.0140.00019.78
8.3.40.0070.01118.46
8.3.30.0090.00918.75
8.3.20.0030.00521.96
8.3.10.0030.00523.71
8.3.00.0040.00423.57
8.2.180.0130.00725.92
8.2.170.0040.01122.96
8.2.160.0170.00020.44
8.2.150.0070.00024.18
8.2.140.0060.00324.66
8.2.130.0000.00818.03
8.2.120.0000.00726.35
8.2.110.0110.00019.10
8.2.100.0040.00817.76
8.2.90.0040.00417.91
8.2.80.0000.00817.97
8.2.70.0000.00717.80
8.2.60.0030.00617.97
8.2.50.0000.00818.10
8.2.40.0050.00319.39
8.2.30.0040.00419.14
8.2.20.0040.00418.07
8.2.10.0000.00720.67
8.2.00.0040.00419.33
8.1.280.0070.00725.92
8.1.270.0040.00418.75
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00821.92
8.1.230.0110.00020.88
8.1.220.0060.00317.74
8.1.210.0080.00018.84
8.1.200.0050.00317.35
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0050.00318.59
8.1.160.0030.00518.84
8.1.150.0040.00418.76
8.1.140.0000.00723.84
8.1.130.0000.00720.09
8.1.120.0050.00317.43
8.1.110.0070.00017.42
8.1.100.0030.00717.30
8.1.90.0000.00817.39
8.1.80.0070.00017.30
8.1.70.0070.00017.41
8.1.60.0060.00317.44
8.1.50.0000.00717.53
8.1.40.0090.00017.48
8.1.30.0000.00817.58
8.1.20.0000.00917.50
8.1.10.0050.00317.46
8.1.00.0080.00017.41
8.0.300.0040.00419.89
8.0.290.0060.00316.58
8.0.280.0060.00318.38
8.0.270.0000.00817.11
8.0.260.0030.00318.35
8.0.250.0030.00316.96
8.0.240.0000.00816.87
8.0.230.0040.00416.90
8.0.220.0070.00016.85
8.0.210.0070.00016.85
8.0.200.0030.00316.81
8.0.190.0000.00816.78
8.0.180.0030.00516.84
8.0.170.0040.00416.91
8.0.160.0030.00316.83
8.0.150.0040.00416.79
8.0.140.0000.00816.71
8.0.130.0050.00013.31
8.0.120.0000.00816.86
8.0.110.0040.00416.73
8.0.100.0040.00416.73
8.0.90.0050.00216.73
8.0.80.0060.00916.80
8.0.70.0000.00716.89
8.0.60.0040.00416.70
8.0.50.0080.00016.79
8.0.30.0130.01016.93
8.0.20.0100.00917.40
8.0.10.0000.00817.00
8.0.00.0100.01116.67
7.4.330.0020.00216.79
7.4.320.0000.00716.54
7.4.300.0070.00016.52
7.4.290.0030.00316.38
7.4.280.0040.00416.49
7.4.270.0030.00516.45
7.4.260.0030.00316.39
7.4.250.0000.00816.31
7.4.240.0030.00316.54
7.4.230.0000.00716.36
7.4.220.0000.00716.58
7.4.210.0130.00516.48
7.4.200.0070.00016.58
7.4.160.0090.00816.50
7.4.140.0090.01117.86
7.4.130.0170.00616.46
7.4.120.0120.00616.47
7.4.110.0100.01016.34
7.4.100.0070.01716.49
7.4.90.0130.00716.62
7.4.80.0090.00619.39
7.4.70.0050.01416.68
7.4.60.0080.00816.42
7.4.50.0030.01316.38
7.4.40.0160.00016.31
7.4.00.0080.00414.84
7.3.330.0000.00513.02
7.3.320.0030.00312.89
7.3.310.0000.00716.31
7.3.300.0060.00015.97
7.3.290.0000.00616.11
7.3.280.0100.00616.09
7.3.260.0070.01016.30
7.3.240.0100.01016.27
7.3.230.0090.01216.22
7.3.210.0060.00916.14
7.3.200.0030.01316.19
7.3.190.0060.01016.20
7.3.180.0190.00016.04
7.3.170.0090.01416.22
7.3.160.0050.01316.59
7.3.00.0380.00014.24
7.2.330.0130.00316.46
7.2.320.0070.01016.45
7.2.310.0030.01316.28
7.2.300.0090.00616.41
7.2.290.0060.00916.59
7.2.130.0320.01014.44
7.2.120.0360.01014.54
7.2.110.0370.01014.73
7.2.100.0280.00314.73
7.2.90.1260.01014.74
7.2.80.0320.01014.32
7.2.70.0470.00514.98
7.2.60.0380.01214.68
7.2.50.0370.00614.71
7.2.40.0230.01314.93
7.2.30.0390.01314.74
7.2.20.0300.00714.90
7.2.10.0370.01414.87
7.2.00.0170.01014.90
7.1.250.0280.00313.71
7.0.330.0200.00713.49
5.6.380.0030.01314.45

preferences:
69.94 ms | 400 KiB | 5 Q