3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a[uno] = 1; $a[dos] = 2; $a[dos] = 3; $a = reg_split(';','1;2;3;4'); print_r($a); ?>

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.0130.00618.56
8.3.50.0140.00721.99
8.3.40.0140.00718.91
8.3.30.0070.00719.04
8.3.20.0080.00020.33
8.3.10.0070.00021.97
8.3.00.0040.00422.44
8.2.180.0090.00916.50
8.2.170.0070.00722.96
8.2.160.0100.00319.26
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0160.00326.16
8.2.120.0040.00719.36
8.2.110.0030.00722.32
8.2.100.0040.00717.91
8.2.90.0080.00017.50
8.2.80.0080.00017.97
8.2.70.0030.00518.03
8.2.60.0000.00817.80
8.2.50.0050.00318.10
8.2.40.0090.00020.56
8.2.30.0030.00617.93
8.2.20.0030.00517.63
8.2.10.0040.00417.71
8.2.00.0000.00717.71
8.1.280.0100.00725.92
8.1.270.0000.00822.14
8.1.260.0040.00426.35
8.1.250.0100.00328.09
8.1.240.0030.00623.74
8.1.230.0040.00719.17
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0000.01017.25
8.1.190.0000.00917.35
8.1.180.0040.00418.10
8.1.170.0060.00318.53
8.1.160.0050.00322.05
8.1.150.0040.00418.70
8.1.140.0090.00017.52
8.1.130.0070.00017.73
8.1.120.0030.00317.43
8.1.110.0000.00817.47
8.1.100.0030.00317.36
8.1.90.0000.00717.46
8.1.80.0050.00217.36
8.1.70.0000.00717.39
8.1.60.0030.00517.46
8.1.50.0080.00017.42
8.1.40.0040.00417.55
8.1.30.0040.00417.58
8.1.20.0060.00317.61
8.1.10.0080.00017.61
8.1.00.0000.00717.54
8.0.300.0030.00619.84
8.0.290.0080.00016.75
8.0.280.0050.00318.43
8.0.270.0000.00717.14
8.0.260.0050.00316.88
8.0.250.0000.00717.00
8.0.240.0030.00516.93
8.0.230.0040.00416.99
8.0.220.0040.00416.98
8.0.210.0070.00016.81
8.0.200.0040.00417.06
8.0.190.0000.00717.06
8.0.180.0040.00416.93
8.0.170.0040.00416.96
8.0.160.0000.00717.02
8.0.150.0000.00716.82
8.0.140.0030.00416.80
8.0.130.0050.00013.33
8.0.120.0050.00316.95
8.0.110.0040.00416.94
8.0.100.0050.00216.82
8.0.90.0070.00017.00
8.0.80.0140.00516.93
8.0.70.0000.00717.04
8.0.60.0000.00816.95
8.0.50.0000.00716.97
8.0.30.0050.01516.98
8.0.20.0110.01117.40
8.0.10.0030.00516.96
8.0.00.0030.01716.92
7.4.330.0050.00015.01
7.4.320.0000.00616.43
7.4.300.0000.00616.40
7.4.290.0070.00016.43
7.4.280.0070.00016.41
7.4.270.0040.00416.51
7.4.260.0000.00716.52
7.4.250.0000.00716.47
7.4.240.0020.00516.58
7.4.230.0000.00716.35
7.4.220.0090.00916.44
7.4.210.0100.00816.58
7.4.200.0040.00416.30
7.4.190.0040.00416.59
7.4.160.0160.00416.60
7.4.150.0070.01017.40
7.4.140.0120.00917.86
7.4.130.0110.00816.62
7.4.120.0120.00416.57
7.4.110.0170.00616.65
7.4.100.0050.01916.44
7.4.90.0120.00616.36
7.4.80.0090.01119.39
7.4.70.0040.01516.41
7.4.60.0070.01016.44
7.4.50.0000.00416.62
7.4.40.0070.00722.77
7.4.30.0130.00316.71
7.4.00.0080.00415.19
7.3.330.0000.00513.08
7.3.320.0000.00513.11
7.3.310.0070.00016.41
7.3.300.0060.00016.34
7.3.290.0090.00716.43
7.3.280.0120.00416.30
7.3.270.0090.00917.40
7.3.260.0090.01416.26
7.3.250.0110.00716.35
7.3.240.0110.01216.54
7.3.230.0060.01216.39
7.3.210.0040.01316.48
7.3.200.0060.00919.39
7.3.190.0080.00816.22
7.3.180.0040.01116.42
7.3.170.0080.00816.49
7.3.160.0130.00316.27
7.3.120.0100.00314.95
7.3.10.0120.00416.27
7.3.00.0070.00716.10
7.2.330.0090.00816.36
7.2.320.0040.01216.40
7.2.310.0130.00316.53
7.2.300.0130.00316.59
7.2.290.0070.01016.64
7.2.130.0110.00416.29
7.2.120.0100.01116.34
7.2.110.0040.01316.58
7.2.100.0100.00616.48
7.2.90.0080.00816.54
7.2.80.0140.00316.32
7.2.70.0140.00316.77
7.2.60.0070.00716.65
7.2.50.0050.01116.77
7.2.40.0040.01216.73
7.2.30.0110.00316.91
7.2.20.0100.00316.52
7.2.10.0040.00816.52
7.2.00.0070.00518.02
7.1.250.0060.00915.68
7.1.200.0000.01415.77
7.1.100.0000.01117.93
7.1.70.0030.00517.09
7.1.60.0080.00316.96
7.1.50.0040.00717.07
7.1.40.0030.00716.61
7.1.30.0000.01116.46
7.1.20.0100.00316.75
7.1.10.0060.01216.50
7.1.00.0030.00716.48
7.0.200.0030.00716.75
7.0.190.0060.00316.51
7.0.180.0000.00716.37
7.0.170.0060.00316.26
7.0.160.0000.01516.22
7.0.150.0050.00216.52
7.0.140.0120.00016.38
7.0.130.0000.00816.44
7.0.120.0050.00216.53
7.0.110.0000.01016.36
7.0.100.0030.01016.44
7.0.90.0000.00816.34
7.0.80.0030.00616.50
7.0.70.0040.00416.23
7.0.60.0070.01016.20
7.0.50.0040.00416.39
7.0.40.0030.00714.93
7.0.30.0040.00714.93
7.0.20.0050.00314.93
7.0.10.0080.00014.93
7.0.00.0050.00514.93
5.6.300.0060.05420.68
5.6.290.0030.04420.78
5.6.280.0100.03520.74
5.6.270.0070.04020.99
5.6.260.0070.03721.02
5.6.250.0030.05520.95
5.6.240.0030.04420.78
5.6.230.0070.04720.93
5.6.220.0060.04820.89
5.6.210.0030.04621.09
5.6.200.0000.05820.81
5.6.190.0100.04720.94
5.6.180.0000.04521.00
5.6.170.0030.04620.77
5.6.160.0030.04520.72
5.6.150.0100.03620.93
5.6.140.0030.04920.88
5.6.130.0030.04420.80
5.6.120.0070.03721.00
5.6.110.0140.05120.77
5.6.100.0070.04220.72
5.6.90.0000.05220.80
5.6.80.0000.05020.37
5.6.70.0030.04320.28
5.6.60.0000.04620.12
5.6.50.0070.04320.17
5.6.40.0100.03620.30
5.6.30.0030.04220.05
5.6.20.0000.04920.33
5.6.10.0070.04320.15
5.6.00.0000.04620.13
5.5.380.0430.04617.54
5.5.370.0000.05117.50
5.5.360.0000.05017.49
5.5.350.0030.05017.49
5.5.340.0030.04617.94
5.5.330.0000.04617.84
5.5.320.0030.04117.86
5.5.310.0000.04517.97
5.5.300.0030.04718.04
5.5.290.0040.04717.94
5.5.280.0000.04717.74
5.5.270.0100.03618.05
5.5.260.0120.04618.11
5.5.250.0030.04217.55
5.5.240.0030.04417.41
5.5.230.0000.04417.49
5.5.220.0130.03317.12
5.5.210.0070.03617.32
5.5.200.0030.04817.38
5.5.190.0030.06817.38
5.5.180.0060.03517.37
5.5.160.0070.03717.41
5.5.150.0000.04017.29
5.5.140.0120.03017.32
5.5.130.0090.05717.38
5.5.120.0060.07017.29
5.5.110.0000.05417.29
5.5.100.0070.04317.29
5.5.90.0060.03717.25
5.5.80.0220.03117.27
5.5.70.0000.04117.28
5.5.60.0070.03617.18
5.5.50.0030.04217.24
5.5.40.0030.03717.19
5.5.30.0060.05817.30
5.5.20.0000.08117.26
5.5.10.0090.03716.95
5.5.00.0160.03217.26
5.4.450.0040.04419.35
5.4.440.0070.04719.49
5.4.430.0070.03719.34
5.4.420.0030.04219.18
5.4.410.0060.04819.05
5.4.400.0000.04419.02
5.4.390.0030.04819.02
5.4.380.0030.04219.14
5.4.370.0030.03718.98
5.4.360.0030.03819.17
5.4.350.0000.03919.00
5.4.340.0000.05819.04
5.4.320.0160.04119.17
5.4.310.0100.03419.05
5.4.300.0040.03618.98
5.4.290.0090.04118.91
5.4.280.0070.03618.99
5.4.270.0070.06419.02
5.4.260.0300.03719.00
5.4.250.0000.04519.05
5.4.240.0070.03719.07
5.4.230.0030.06919.06
5.4.220.0100.03319.07
5.4.210.0000.03919.00
5.4.200.0060.06819.06
5.4.190.0030.03619.16
5.4.180.0000.04319.18
5.4.170.0030.04419.04
5.4.160.0060.03919.02
5.4.150.0090.03318.96
5.4.140.0000.04516.58
5.4.130.0000.04216.57
5.4.120.0000.04216.63
5.4.110.0120.02816.60
5.4.100.0090.02816.62
5.4.90.0000.04216.62
5.4.80.0060.03116.64
5.4.70.0370.02416.55
5.4.60.0070.03316.48
5.4.50.0060.03116.32
5.4.40.0100.04816.44
5.4.30.0070.04016.56
5.4.20.0070.03716.58
5.4.10.0030.04516.62
5.4.00.0070.03415.92
5.3.290.0030.04314.93
5.3.280.0060.03214.93
5.3.270.0000.04214.93
5.3.260.0060.04814.93
5.3.250.0040.03614.93
5.3.240.0040.03614.93
5.3.230.0070.03714.93
5.3.220.0060.03514.93
5.3.210.0070.04414.93
5.3.200.0000.04314.93
5.3.190.0000.04314.93
5.3.180.0030.03914.93
5.3.170.0100.06214.93
5.3.160.0060.03514.93
5.3.150.0060.04714.93
5.3.140.0040.03914.93
5.3.130.0060.03714.93
5.3.120.0030.03714.93
5.3.110.0030.03814.93
5.3.100.0000.04014.93
5.3.90.0090.03414.93
5.3.80.0030.03814.93
5.3.70.0030.03914.93
5.3.60.0030.03914.93
5.3.50.0000.03714.93
5.3.40.0170.04114.93
5.3.30.0060.03314.93
5.3.20.0000.03714.93
5.3.10.0070.03014.93
5.3.00.0040.03614.93

preferences:
42.82 ms | 401 KiB | 5 Q