3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ "manufacturer" => "BB", "width" => "245, 225", "height" => "45, 65", "diameter" => "19, 17", "type" => "AA", ]; var_export( array_map( null, explode(', ', $arr['width']), explode(', ', $arr['height']), explode(', ', $arr['diameter']) ) );

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.0150.00316.50
8.3.50.0120.00320.12
8.3.40.0030.01021.95
8.3.30.0100.00718.57
8.3.20.0060.00324.18
8.3.10.0090.00024.66
8.3.00.0000.00826.16
8.2.180.0090.00625.92
8.2.170.0120.00319.00
8.2.160.0130.00622.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0060.00318.16
8.2.110.0080.01220.37
8.2.100.0060.00617.72
8.2.90.0000.00817.77
8.2.80.0090.00017.97
8.2.70.0060.00317.48
8.2.60.0090.00317.93
8.2.50.0100.00018.07
8.2.40.0060.00319.88
8.2.30.0040.00418.05
8.2.20.0040.00420.34
8.2.10.0080.00017.90
8.2.00.0040.00419.18
8.1.280.0100.00325.92
8.1.270.0060.00323.99
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0140.00722.08
8.1.230.0110.00022.10
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00517.10
8.1.190.0050.00517.10
8.1.180.0000.00818.10
8.1.170.0000.00818.50
8.1.160.0030.00618.89
8.1.150.0020.00518.49
8.1.140.0040.00417.35
8.1.130.0000.00718.82
8.1.120.0040.00417.41
8.1.110.0060.00317.29
8.1.100.0070.00017.32
8.1.90.0080.00017.30
8.1.80.0130.00617.30
8.1.70.0060.01217.23
8.1.60.0170.00717.47
8.1.50.0090.01817.30
8.1.40.0210.00417.36
8.1.30.0130.00917.50
8.1.20.0170.00317.61
8.1.10.0160.00317.48
8.1.00.0140.00717.33
8.0.300.0060.00319.79
8.0.290.0080.00016.58
8.0.280.0090.00020.22
8.0.270.0030.00518.00
8.0.260.0030.00318.44
8.0.250.0000.00716.79
8.0.240.0030.00516.78
8.0.230.0030.00716.86
8.0.220.0030.00316.80
8.0.210.0090.00816.69
8.0.200.0170.00016.94
8.0.190.0190.00016.78
8.0.180.0100.00716.66
8.0.170.0090.00916.80
8.0.160.0150.00316.77
8.0.150.0120.00616.80
8.0.140.0100.00716.79
8.0.130.0060.01216.71
8.0.120.0150.00016.80
8.0.110.0130.00416.70
8.0.100.0110.00616.67
8.0.90.0140.00216.66
8.0.80.0090.00916.76
8.0.70.0120.00816.75
8.0.60.0120.00616.71
8.0.50.0130.00416.81
8.0.30.0150.00516.77
8.0.20.0130.00316.77
8.0.10.0100.00716.86
7.4.330.0020.00215.55
7.4.320.0000.00716.51
7.4.300.0130.00516.44
7.4.290.0170.00316.42
7.4.280.0180.00016.51
7.4.270.0120.00616.40
7.4.260.0170.00316.45
7.4.250.0190.00016.50
7.4.240.0160.00316.48
7.4.230.0130.00616.46
7.4.220.0180.00016.40
7.4.210.0180.00016.48
7.4.200.0140.00616.46
7.4.190.0120.00416.37
7.4.180.0050.01116.54
7.4.160.0170.00016.46
7.4.150.0000.01616.47
7.4.140.0080.00816.42
7.4.130.0080.00816.31
7.4.120.0110.00516.39
7.4.110.0140.00316.33
7.4.100.0120.00416.44
7.4.90.0160.00016.41
7.4.80.0080.00816.32
7.4.70.0050.01016.23
7.4.60.0050.01016.37
7.4.50.0100.00516.15
7.4.40.0070.00716.23
7.4.30.0120.00316.34
7.4.20.0120.00516.29
7.4.10.0120.00416.20
7.4.00.0120.00416.25

preferences:
43.27 ms | 400 KiB | 5 Q