3v4l.org

run code in 300+ PHP versions simultaneously
<?php $type = array('Type 1','Type 2','Type 3',' Type 4','Type 5'); $desc = array('Description 1','Description 2','Description 3','Description 4','Description 5'); $brand = array('Brand 1','Brand 2','Brand 3','Brand 4','Brand 5'); $model = array('Model 1','Model 2','Model 3','Model 4','Model 5'); $res = array_map(function(...$val) {return $val;}, $type, $desc, $brand, $model); print_r($res);

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.0070.01316.63
8.3.50.0060.01216.13
8.3.40.0070.01118.67
8.3.30.0110.00418.47
8.3.20.0040.00420.33
8.3.10.0060.00323.52
8.3.00.0000.00721.89
8.2.180.0120.00318.41
8.2.170.0120.00622.96
8.2.160.0110.01120.00
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00422.21
8.2.120.0070.00026.35
8.2.110.0060.00322.11
8.2.100.0110.00617.88
8.2.90.0080.00017.93
8.2.80.0080.00018.75
8.2.70.0030.00617.63
8.2.60.0030.00717.93
8.2.50.0030.00518.07
8.2.40.0050.00318.22
8.2.30.0000.00818.09
8.2.20.0000.00717.95
8.2.10.0000.00918.17
8.2.00.0080.00018.16
8.1.280.0120.00325.92
8.1.270.0020.00522.03
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0040.00420.39
8.1.230.0100.00017.82
8.1.220.0000.00917.74
8.1.210.0030.00518.77
8.1.200.0000.01017.47
8.1.190.0080.00017.22
8.1.180.0000.00818.10
8.1.170.0000.00818.63
8.1.160.0120.00018.86
8.1.150.0000.00720.29
8.1.140.0000.00819.09
8.1.130.0000.00818.89
8.1.120.0070.00017.50
8.1.110.0030.00617.46
8.1.100.0050.00317.49
8.1.90.0030.00517.48
8.1.80.0040.00417.32
8.1.70.0000.00717.48
8.1.60.0060.00317.65
8.1.50.0000.00717.55
8.1.40.0030.00517.48
8.1.30.0030.00617.68
8.1.20.0080.00017.67
8.1.10.0040.00417.48
8.1.00.0050.00217.47
8.0.300.0000.00918.77
8.0.290.0020.00516.63
8.0.280.0030.00318.29
8.0.270.0070.00017.20
8.0.260.0000.00618.78
8.0.250.0030.00316.92
8.0.240.0030.00516.87
8.0.230.0070.00016.80
8.0.220.0050.00216.88
8.0.210.0070.00016.74
8.0.200.0070.00416.96
8.0.190.0040.00416.83
8.0.180.0050.00216.92
8.0.170.0040.00416.80
8.0.160.0000.00916.99
8.0.150.0030.00516.84
8.0.140.0000.00916.89
8.0.130.0000.00513.28
8.0.120.0070.00016.93
8.0.110.0050.00216.79
8.0.100.0000.00716.76
8.0.90.0040.00416.84
8.0.80.0090.00616.89
8.0.70.0040.00416.80
8.0.60.0040.00416.80
8.0.50.0060.00316.69
8.0.30.0100.01016.92
8.0.20.0090.01217.40
8.0.10.0050.00216.95
8.0.00.0030.01516.73
7.4.330.0000.00415.55
7.4.320.0000.00616.50
7.4.300.0060.00016.61
7.4.290.0100.00316.51
7.4.280.0040.00416.50
7.4.270.0070.00016.53
7.4.260.0030.00316.50
7.4.250.0040.00416.61
7.4.240.0000.00716.52
7.4.230.0040.00416.61
7.4.220.0130.00316.63
7.4.210.0070.00816.57
7.4.200.0000.00716.58
7.4.160.0150.00816.42
7.4.150.0090.01017.40
7.4.140.0100.00817.86
7.4.130.0150.00816.40
7.4.120.0090.01216.44
7.4.110.0040.01516.48
7.4.100.0120.00616.55
7.4.90.0170.00016.61
7.4.80.0090.00919.39
7.4.70.0090.00916.57
7.4.60.0120.00416.31
7.4.50.0130.00016.33
7.4.40.0070.01016.61
7.4.30.0130.00316.59
7.4.00.0000.01614.91
7.3.330.0000.00513.11
7.3.320.0060.00013.25
7.3.310.0050.00316.35
7.3.300.0030.00316.25
7.3.290.0040.00416.19
7.3.280.0110.00816.25
7.3.270.0150.00317.40
7.3.260.0110.00916.27
7.3.250.0130.01016.35
7.3.240.0080.01116.33
7.3.230.0060.00916.32
7.3.210.0090.01316.26
7.3.200.0000.01816.31
7.3.190.0090.00616.42
7.3.180.0160.00016.50
7.3.170.0060.01016.53
7.3.160.0190.00016.32
7.3.10.0110.00616.26
7.3.00.0140.00616.35
7.2.330.0110.00616.66
7.2.320.0070.01116.35
7.2.310.0000.01716.50
7.2.300.0120.00816.49
7.2.290.0160.01316.56
7.2.130.0120.00916.70
7.2.120.0120.00816.69
7.2.110.0100.00716.72
7.2.100.0100.00616.59
7.2.90.0110.00716.64
7.2.80.0070.01216.65
7.2.70.0130.00416.71
7.2.60.0080.00716.81
7.2.50.0080.00516.62
7.2.40.0060.01116.71
7.2.30.0090.00616.83
7.2.20.0060.01116.59
7.2.10.0100.00516.68
7.2.00.0090.00716.68
7.1.250.0120.00515.56
7.1.200.0040.01115.65
7.1.110.0690.01615.61
7.1.100.0610.01415.92
7.1.90.0840.01016.13
7.1.80.0770.00716.00
7.1.70.1030.00915.13
7.1.60.1180.01632.98
7.1.50.1260.01633.02
7.1.40.1160.01532.41
7.1.30.2820.01532.75
7.1.20.1780.00332.56
7.1.10.0920.00914.59
7.1.00.0730.00614.80
7.0.250.0490.01315.64
7.0.240.0760.01015.75
7.0.230.1050.01015.92
7.0.220.1240.00315.64
7.0.210.1350.00914.81
7.0.200.1030.00314.82
7.0.190.1720.00314.77
7.0.180.0930.01014.36
7.0.170.2100.01114.29
7.0.160.1100.01314.30
7.0.150.1170.01214.32
7.0.140.0640.01114.38
7.0.130.1030.01314.59
7.0.120.0690.00614.81
7.0.110.0690.00614.40
7.0.100.0650.01314.63
7.0.90.1290.00714.48
7.0.80.1040.01014.57
7.0.70.0750.02314.37
7.0.60.0650.00714.07
7.0.50.0860.01014.42
7.0.40.0740.01014.69
7.0.30.0880.01314.66
7.0.20.1110.01314.71
7.0.10.0820.01514.61
7.0.00.0830.01714.46

preferences:
40.64 ms | 400 KiB | 5 Q