3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "lorem Ipsum dolor sit Amet"; $array1=array("abc","def"); $array2=array("ghi","jkl"); $a1=array("red","green"); $a2=array("blue","yellow"); print_r(array_merge($a1,$a2)); print_r(array_merge($array1,$array2)); ?>

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.40.0140.00018.71
8.3.30.0120.00318.46
8.3.20.0070.00020.22
8.3.10.0050.00221.89
8.3.00.0040.00418.89
8.2.170.0030.01222.96
8.2.160.0070.00720.32
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0080.00020.98
8.2.120.0040.00426.35
8.2.110.0030.00620.35
8.2.100.0090.00317.72
8.2.90.0060.00319.22
8.2.80.0040.00417.97
8.2.70.0040.00717.50
8.2.60.0040.00418.04
8.2.50.0000.00818.10
8.2.40.0070.00020.64
8.2.30.0040.00420.93
8.2.20.0040.00417.93
8.2.10.0040.00417.86
8.2.00.0040.00417.91
8.1.270.0080.00022.09
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0060.00324.02
8.1.230.0040.00722.16
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0030.00617.22
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0080.00018.52
8.1.160.0000.00718.96
8.1.150.0040.00418.69
8.1.140.0000.00719.42
8.1.130.0030.00318.86
8.1.120.0000.00717.39
8.1.110.0050.00317.30
8.1.100.0000.00817.45
8.1.90.0040.00417.41
8.1.80.0050.00317.34
8.1.70.0040.00417.29
8.1.60.0030.00717.39
8.1.50.0060.00317.46
8.1.40.0000.00717.44
8.1.30.0040.00417.53
8.1.20.0070.00017.48
8.1.10.0070.00017.51
8.1.00.0030.00517.33
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0040.00418.44
8.0.270.0030.00317.16
8.0.260.0030.00318.37
8.0.250.0000.00716.75
8.0.240.0080.00016.86
8.0.230.0000.00716.75
8.0.220.0040.00416.72
8.0.210.0000.00716.84
8.0.200.0000.00716.79
8.0.190.0050.00316.83
8.0.180.0050.00216.81
8.0.170.0070.00016.74
8.0.160.0040.00416.82
8.0.150.0030.00316.73
8.0.140.0080.00016.72
8.0.130.0000.00513.24
8.0.120.0000.00716.80
8.0.110.0020.00516.93
8.0.100.0040.00416.72
8.0.90.0030.00416.83
8.0.80.0070.01016.77
8.0.70.0050.00216.67
8.0.60.0050.00316.86
8.0.50.0030.00316.65
8.0.30.0100.00817.05
8.0.20.0130.00717.40
8.0.10.0000.00716.98
8.0.00.0090.00916.73
7.4.330.0050.00015.55
7.4.320.0060.00016.47
7.4.300.0030.00316.43
7.4.290.0090.00316.32
7.4.280.0050.00516.47
7.4.270.0040.00416.38
7.4.260.0000.00716.48
7.4.250.0030.00516.42
7.4.240.0000.00716.42
7.4.230.0000.00716.64
7.4.220.0070.01116.54
7.4.210.0070.01116.46
7.4.200.0000.00716.55
7.4.160.0110.00616.43
7.4.150.0000.01817.40
7.4.140.0120.00817.86
7.4.130.0110.00616.40
7.4.120.0080.01416.43
7.4.110.0110.00516.48
7.4.100.0140.00316.40
7.4.90.0070.01016.49
7.4.80.0130.00419.39
7.4.70.0030.01316.44
7.4.60.0120.00316.48
7.4.50.0130.00316.53
7.4.40.0060.01216.37
7.4.30.0100.01016.33
7.4.10.0070.01015.03
7.4.00.0100.00714.94
7.3.330.0060.00013.06
7.3.320.0000.00612.98
7.3.310.0070.00016.27
7.3.300.0000.00615.97
7.3.290.0030.00316.16
7.3.280.0100.00916.11
7.3.270.0150.00417.40
7.3.260.0120.00916.42
7.3.250.0070.01016.13
7.3.240.0110.00616.36
7.3.230.0130.00616.20
7.3.210.0130.00616.29
7.3.200.0160.00616.38
7.3.190.0110.00616.13
7.3.180.0120.00316.45
7.3.170.0140.00316.49
7.3.160.0120.00616.02
7.3.130.0070.00714.61
7.3.120.0050.01215.73
7.3.110.0100.00415.88
7.3.100.0070.00915.84
7.3.90.0100.00616.04
7.3.80.0060.00515.97
7.3.70.0070.00815.97
7.3.60.0050.00715.90
7.3.50.0060.00815.96
7.3.40.0080.00415.86
7.3.30.0080.00715.95
7.3.20.0050.01016.83
7.3.10.0100.00716.84
7.3.00.0070.00716.86
7.2.330.0060.01216.30
7.2.320.0070.01016.55
7.2.310.0120.00316.21
7.2.300.0070.01016.31
7.2.290.0100.00716.35
7.2.260.0100.00314.98
7.2.250.0030.01315.05
7.2.240.0050.01115.99
7.2.230.0060.00816.09
7.2.220.0050.01316.14
7.2.210.0070.00716.16
7.2.200.0060.00616.04
7.2.190.0120.00515.94
7.2.180.0050.01016.06
7.2.170.0050.01116.01
7.2.160.0050.01015.92
7.2.150.0060.00916.82
7.2.140.0060.00816.97
7.2.130.0060.00816.98
7.2.120.0050.01216.91
7.2.110.0050.00916.99
7.2.100.0030.01216.98
7.2.90.0040.00917.05
7.2.80.0030.00716.99
7.2.70.0080.00816.91
7.2.60.0090.00516.90
7.2.50.0050.00816.99
7.2.40.0090.00617.00
7.2.30.0070.00617.06
7.2.20.0120.00516.86
7.2.10.0030.01216.82
7.2.00.0050.00817.78
7.1.330.0050.01016.36
7.1.320.0060.00816.32
7.1.310.0050.01016.42
7.1.300.0030.01016.33
7.1.290.0080.00716.48
7.1.280.0070.00716.46
7.1.270.0070.00316.45
7.1.260.0060.00816.51
7.1.250.0040.00916.44
7.1.240.0050.00315.41
7.1.230.0090.00615.71
7.1.220.0040.00815.66
7.1.210.0000.01115.72
7.1.200.0030.00615.65
7.1.190.0080.00815.66
7.1.180.0070.00715.55
7.1.170.0000.01015.51
7.1.160.0110.00415.60
7.1.150.0040.00415.40
7.1.140.0070.00715.48
7.1.130.0110.00415.87
7.1.120.0050.00815.56
7.1.110.0110.00315.46
7.1.100.0050.00616.90
7.1.90.0070.00715.55
7.1.80.0110.00415.80
7.1.70.0070.00516.30
7.1.60.0050.01116.45
7.1.50.0050.01416.25
7.1.40.0060.01016.21
7.1.30.0100.00916.21
7.1.20.0110.00516.12
7.1.10.0090.00516.24
7.1.00.0030.01016.14
7.0.330.0040.00815.20
7.0.320.0040.00715.27
7.0.310.0000.00815.12
7.0.300.0080.00415.33
7.0.290.0100.00315.31
7.0.280.0030.00715.54
7.0.270.0040.00415.30
7.0.260.0090.00615.48
7.0.250.0060.01015.14
7.0.240.0070.00715.35
7.0.230.0060.00915.20
7.0.220.0100.00315.34
7.0.210.0030.01315.06
7.0.200.0090.01016.01
7.0.190.0100.00716.03
7.0.180.0090.00416.11
7.0.170.0060.01016.10
7.0.160.0070.00715.94
7.0.150.0050.00916.02
7.0.140.0050.00915.99
7.0.130.0020.01216.02
7.0.120.0080.00316.06
7.0.110.0060.01315.90
7.0.100.0070.00915.94
7.0.90.0000.01516.00
7.0.80.0070.01015.97
7.0.70.0070.01116.03
7.0.60.0060.00715.91
7.0.50.0060.00616.12
7.0.40.0040.00915.10
7.0.30.0050.01015.17
7.0.20.0030.00915.00
7.0.10.0060.00915.09
7.0.00.0040.00614.88
5.6.400.0070.00414.28
5.6.390.0000.00914.49
5.6.380.0070.00713.78
5.6.370.0030.01013.94
5.6.360.0070.00714.43
5.6.350.0100.00314.64
5.6.340.0040.01114.42
5.6.330.0110.00014.28
5.6.320.0060.00614.30
5.6.310.0060.01114.15
5.6.300.0040.01114.26
5.6.290.0080.00614.27
5.6.280.0070.01014.59
5.6.270.0030.00714.35
5.6.260.0030.00814.34
5.6.250.0030.00914.37
5.6.240.0080.00414.35
5.6.230.0000.01214.30
5.6.220.0060.00914.32
5.6.210.0000.00814.19
5.6.200.0000.01114.02
5.6.190.0030.01214.37
5.6.180.0000.01314.55
5.6.170.0030.01014.12
5.6.160.0000.01214.33
5.6.150.0100.00014.64
5.6.140.0000.01414.34
5.6.130.0060.00614.20
5.6.120.0040.00814.00
5.6.110.0030.01014.15
5.6.100.0060.00914.37
5.6.90.0070.01014.11
5.6.80.0070.00714.03
5.6.70.0090.00314.11
5.6.60.0040.00414.02
5.6.50.0070.00714.43
5.6.40.0030.01014.17
5.6.30.0070.00714.54
5.6.20.0000.01414.41
5.6.10.0030.01414.36
5.6.00.0090.00014.16

preferences:
42.24 ms | 400 KiB | 5 Q