3v4l.org

run code in 300+ PHP versions simultaneously
<?php $zoneparts = array_reverse(explode('.',"11.0.127")); $parts = explode('.',"127.2.11.1"); $intersect = array_intersect_assoc($zoneparts,$parts); print_r(range(0,count($intersect))); print_r(range(0,array_keys($intersect))); print_r($intersect); if(array_keys($intersect) === range(0, count($intersect)-1)) { echo "fu"; } ?>

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.00318.55
8.3.50.0090.00721.09
8.3.40.0090.00618.82
8.3.30.0090.00618.98
8.3.20.0000.00820.39
8.3.10.0050.00322.04
8.3.00.0030.00622.51
8.2.180.0140.00318.13
8.2.170.0140.00322.96
8.2.160.0100.00319.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0090.00026.16
8.2.120.0040.00419.23
8.2.110.0090.00019.30
8.2.100.0060.00617.93
8.2.90.0000.00819.09
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0030.00617.80
8.2.50.0060.00618.09
8.2.40.0000.00822.25
8.2.30.0000.00717.99
8.2.20.0040.00417.66
8.2.10.0040.00417.69
8.2.00.0040.00417.61
8.1.280.0100.00325.92
8.1.270.0040.00421.88
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0110.00022.52
8.1.230.0070.00417.83
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0040.00417.22
8.1.190.0000.00817.24
8.1.180.0000.00918.10
8.1.170.0050.00318.59
8.1.160.0000.00720.76
8.1.150.0000.00818.71
8.1.140.0040.00417.36
8.1.130.0060.00317.82
8.1.120.0000.00717.48
8.1.110.0000.00917.48
8.1.100.0040.00417.35
8.1.90.0040.00417.46
8.1.80.0070.00017.50
8.1.70.0030.00317.42
8.1.60.0040.00417.62
8.1.50.0000.00717.52
8.1.40.0040.00417.47
8.1.30.0000.00817.53
8.1.20.0040.00417.50
8.1.10.0040.00417.51
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.31
8.0.270.0030.00317.17
8.0.260.0000.00616.68
8.0.250.0030.00316.80
8.0.240.0000.00716.87
8.0.230.0000.00716.91
8.0.220.0030.00316.93
8.0.210.0040.00416.89
8.0.200.0060.00016.93
8.0.190.0000.00916.90
8.0.180.0000.00716.74
8.0.170.0050.00316.78
8.0.160.0040.00416.87
8.0.150.0000.00716.71
8.0.140.0000.00816.91
8.0.130.0030.00313.39
8.0.120.0040.00416.80
8.0.110.0000.00716.79
8.0.100.0080.00016.89
8.0.90.0040.00416.76
8.0.80.0060.01316.81
8.0.70.0000.00816.88
8.0.60.0020.00516.74
8.0.50.0000.00816.93
8.0.30.0140.00517.22
8.0.20.0120.00617.40
8.0.10.0000.00717.06
8.0.00.0090.00916.78
7.4.330.0050.00015.00
7.4.320.0000.00716.51
7.4.300.0000.00616.42
7.4.290.0040.00416.53
7.4.280.0030.00316.63
7.4.270.0040.00416.48
7.4.260.0030.00316.58
7.4.250.0050.00216.55
7.4.240.0030.00516.55
7.4.230.0000.00716.57
7.4.220.0100.01016.63
7.4.210.0050.01016.49
7.4.200.0000.00716.64
7.4.190.0030.00316.32
7.4.160.0100.00716.60
7.4.150.0120.00917.40
7.4.140.0080.00917.86
7.4.130.0120.00716.45
7.4.120.0120.00516.53
7.4.110.0120.00616.45
7.4.100.0180.00416.46
7.4.90.0100.00716.48
7.4.80.0090.01519.39
7.4.70.0110.00516.31
7.4.60.0060.01016.53
7.4.50.0000.00816.26
7.4.40.0070.01122.77
7.4.30.0000.01616.39
7.4.00.0080.01015.10
7.3.330.0060.00013.00
7.3.320.0030.00313.05
7.3.310.0000.00616.35
7.3.300.0000.00616.17
7.3.290.0100.01016.36
7.3.280.0080.01016.30
7.3.270.0030.01617.40
7.3.260.0140.00416.34
7.3.250.0110.00816.33
7.3.240.0160.00616.33
7.3.230.0070.01016.39
7.3.210.0040.01216.21
7.3.200.0120.01119.39
7.3.190.0150.00716.16
7.3.180.0070.01016.41
7.3.170.0080.00816.39
7.3.160.0100.00616.50
7.3.120.0050.01114.63
7.3.110.0070.01014.69
7.3.100.0060.01214.76
7.3.90.0100.00314.79
7.3.80.0070.00714.44
7.3.70.0030.00914.56
7.3.60.0040.00814.69
7.3.50.0070.00314.95
7.3.40.0060.00614.60
7.3.30.0070.00714.93
7.3.20.0080.00616.73
7.3.10.0030.01016.65
7.3.00.0030.01016.46
7.2.330.0050.01116.73
7.2.320.0110.00816.68
7.2.310.0210.00016.51
7.2.300.0080.01016.50
7.2.290.0110.00516.51
7.2.250.0100.01014.94
7.2.240.0120.00614.99
7.2.230.0060.00914.80
7.2.220.0060.00915.08
7.2.210.0080.00815.07
7.2.200.0030.01314.96
7.2.190.0060.00615.00
7.2.180.0000.01015.11
7.2.170.0000.01414.82
7.1.330.0060.00915.69
7.1.320.0040.01215.59
7.1.310.0120.00315.80
7.1.300.0060.00915.72
7.1.290.0070.00715.61
7.1.280.0030.01015.42
7.1.270.0030.01015.46
7.1.260.0040.00415.71
7.1.70.0040.00416.73
7.1.60.0090.01619.82
7.1.50.0060.01816.87
7.1.00.0000.03722.45
7.0.200.0000.00816.43
7.0.140.0030.07321.92
7.0.60.0100.08020.11
7.0.50.0100.07317.91
7.0.40.0100.08720.30
7.0.30.0100.05020.24
7.0.20.0230.08320.19
7.0.10.0070.08720.23
7.0.00.0030.08320.09
5.6.280.0130.06021.03
5.6.210.0170.07320.61
5.6.200.0130.07718.19
5.6.190.0000.04720.57
5.6.180.0300.04320.57
5.6.170.0230.07320.57
5.6.160.0130.07320.46
5.6.150.0100.05018.16
5.6.140.0100.08018.12
5.6.130.0030.04018.27
5.6.120.0100.05721.03
5.6.110.0130.07721.09
5.6.100.0170.06721.00
5.6.90.0130.03720.97
5.6.80.0030.03720.39
5.5.350.0130.03320.34
5.5.340.0030.04317.98
5.5.330.0030.04720.28
5.5.320.3700.04320.23
5.5.310.0270.03720.23
5.5.300.0000.04317.98
5.5.290.0070.06717.98
5.5.280.0100.07320.89
5.5.270.0030.04020.83
5.5.260.0100.08020.79
5.5.250.0130.03720.48
5.5.240.0000.07720.25
5.4.450.0370.06319.61
5.4.440.0130.05719.43
5.4.430.0100.06319.59
5.4.420.0100.07019.40
5.4.410.0170.05018.91
5.4.400.0970.06018.79
5.4.390.1130.05718.53
5.4.380.0400.04718.74
5.4.370.0100.05718.72
5.4.360.0100.05718.63
5.4.350.0200.05018.59
5.4.340.0230.04318.71
5.4.320.0110.04512.48
5.4.310.0060.03812.48
5.4.300.0080.04412.48
5.4.290.0080.03612.48
5.4.280.0080.03312.38
5.4.270.0090.03812.38
5.4.260.0070.05318.88
5.4.250.0100.05018.93
5.4.240.0100.05018.92
5.4.230.0130.04318.90
5.4.220.0000.06318.63
5.4.210.0100.05018.63
5.4.200.0100.05318.94
5.4.190.0070.05318.79
5.4.180.0070.06318.93
5.4.170.0130.06718.82
5.4.160.0070.05318.62
5.4.150.0130.07019.05
5.4.140.0100.05016.47
5.4.130.0000.06016.42
5.4.120.0070.05016.42
5.4.110.0200.05716.45
5.4.100.0030.05316.44
5.4.90.0100.04716.39
5.4.80.0030.05316.53
5.4.70.0130.04316.30
5.4.60.0100.04716.32
5.4.50.0170.04016.43
5.4.40.0100.04716.32
5.4.30.0130.05316.23
5.4.20.0000.05316.38
5.4.10.0070.06016.34
5.4.00.0130.05315.86
5.3.290.0090.03712.80
5.3.280.0070.05314.72
5.3.270.0170.06314.73
5.3.260.0070.05314.73
5.3.250.0100.05014.58
5.3.240.0130.07014.76
5.3.230.0230.03714.67
5.3.220.0130.07014.63
5.3.210.0030.05714.78
5.3.200.0130.07714.63
5.3.190.0170.04014.64
5.3.180.0100.07314.77
5.3.170.0170.04014.62
5.3.160.0130.05714.56
5.3.150.0130.04714.38
5.3.140.0100.04714.54
5.3.130.0200.06014.76
5.3.120.0200.04014.51
5.3.110.0070.06014.37
5.3.100.0100.04714.00
5.3.90.0000.05713.99
5.3.80.0030.05713.84
5.3.70.0170.05014.17
5.3.60.0030.05314.07
5.3.50.0100.04714.11
5.3.40.0030.05014.12
5.3.30.0070.07014.07
5.3.20.0030.05013.68
5.3.10.0030.06013.71
5.3.00.0070.07313.61
5.2.170.0030.04311.32
5.2.160.0100.03311.22
5.2.150.0030.04011.12
5.2.140.0130.03311.22
5.2.130.0100.03711.25
5.2.120.0100.05011.17
5.2.110.0070.04011.17
5.2.100.0100.05010.92
5.2.90.0130.05011.16
5.2.80.0100.05711.05
5.2.70.0000.04311.26
5.2.60.0030.04311.00
5.2.50.0030.05011.09
5.2.40.0030.05011.16
5.2.30.0130.04311.03
5.2.20.0130.03710.92
5.2.10.0070.04010.85
5.2.00.0000.04310.70
5.1.60.0030.03710.04
5.1.50.0000.0379.97
5.1.40.0030.0339.97
5.1.30.0070.03010.54
5.1.20.0030.03710.50
5.1.10.0100.04710.16
5.1.00.0100.04710.25
5.0.50.0000.0308.59
5.0.40.0100.0208.37
5.0.30.0170.0278.20
5.0.20.0070.0238.15
5.0.10.0030.0278.23
5.0.00.0070.0378.13
4.4.90.0000.0237.23
4.4.80.0070.0177.23
4.4.70.0000.0237.23
4.4.60.0070.0277.23
4.4.50.0030.0237.23
4.4.40.0030.0407.23
4.4.30.0030.0207.23
4.4.20.0030.0207.23
4.4.10.0000.0237.23
4.4.00.0100.0277.23
4.3.110.0000.0237.23
4.3.100.0030.0207.23
4.3.90.0030.0277.23
4.3.80.0030.0407.23
4.3.70.0030.0207.23
4.3.60.0030.0207.23
4.3.50.0030.0207.23
4.3.40.0000.0337.23
4.3.30.0000.0237.23
4.3.20.0070.0207.23
4.3.10.0070.0177.23
4.3.00.0130.0206.89

preferences:
44.3 ms | 401 KiB | 5 Q