3v4l.org

run code in 300+ PHP versions simultaneously
<?php $zoneparts = array_reverse(explode('.',"11.0.127")); $parts = explode('.',"127.0.0.1"); $intersect = array_intersect_assoc($zoneparts,$parts); print_r(range(0,count($intersect))); print_r(range(0,array_keys($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.0070.00718.40
8.3.50.0130.00521.14
8.3.40.0210.00018.88
8.3.30.0040.01119.16
8.3.20.0040.00420.26
8.3.10.0040.00421.92
8.3.00.0040.00422.46
8.2.180.0060.00916.63
8.2.170.0110.00422.96
8.2.160.0030.01019.13
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0030.00519.23
8.2.110.0030.00721.04
8.2.100.0040.00817.72
8.2.90.0040.00419.08
8.2.80.0060.00317.97
8.2.70.0050.00317.63
8.2.60.0030.00617.93
8.2.50.0080.00018.07
8.2.40.0040.00418.16
8.2.30.0070.00017.94
8.2.20.0040.00417.58
8.2.10.0080.00017.75
8.2.00.0000.00817.62
8.1.280.0070.01025.92
8.1.270.0000.00822.23
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00321.34
8.1.230.0060.00617.42
8.1.220.0040.00417.74
8.1.210.0000.01018.77
8.1.200.0090.00017.35
8.1.190.0030.00617.23
8.1.180.0040.00418.74
8.1.170.0030.00618.65
8.1.160.0040.00422.07
8.1.150.0050.00218.75
8.1.140.0040.00417.41
8.1.130.0030.00317.89
8.1.120.0030.00417.46
8.1.110.0040.00317.35
8.1.100.0040.00417.48
8.1.90.0000.00717.33
8.1.80.0000.00717.47
8.1.70.0040.00417.42
8.1.60.0000.00817.57
8.1.50.0030.00617.49
8.1.40.0050.00217.54
8.1.30.0040.00417.55
8.1.20.0030.00617.68
8.1.10.0000.00717.48
8.1.00.0030.00617.43
8.0.300.0080.00018.77
8.0.290.0030.00616.63
8.0.280.0070.00018.45
8.0.270.0030.00317.19
8.0.260.0000.00616.73
8.0.250.0000.00716.91
8.0.240.0040.00316.91
8.0.230.0000.00716.82
8.0.220.0000.00716.81
8.0.210.0070.00016.82
8.0.200.0050.00316.78
8.0.190.0030.00516.91
8.0.180.0000.00716.78
8.0.170.0040.00416.83
8.0.160.0000.00716.80
8.0.150.0070.00016.80
8.0.140.0000.00716.85
8.0.130.0060.00013.32
8.0.120.0040.00416.91
8.0.110.0040.00416.77
8.0.100.0040.00416.79
8.0.90.0070.00016.75
8.0.80.0150.00016.88
8.0.70.0070.00016.79
8.0.60.0040.00416.88
8.0.50.0000.00716.68
8.0.30.0070.01117.09
8.0.20.0070.01217.40
8.0.10.0000.00716.99
8.0.00.0100.01016.63
7.4.330.0020.00215.00
7.4.320.0000.00616.55
7.4.300.0030.00316.61
7.4.290.0000.00716.57
7.4.280.0070.00016.49
7.4.270.0070.00016.61
7.4.260.0000.00716.43
7.4.250.0040.00416.46
7.4.240.0020.00516.45
7.4.230.0000.00716.35
7.4.220.0070.01316.56
7.4.210.0060.00916.46
7.4.200.0030.00316.34
7.4.190.0070.00016.45
7.4.160.0110.00916.71
7.4.150.0070.01017.40
7.4.140.0140.00717.86
7.4.130.0060.01116.47
7.4.120.0110.00716.52
7.4.110.0030.01316.53
7.4.100.0120.00916.65
7.4.90.0110.01116.66
7.4.80.0110.01319.39
7.4.70.0100.00716.62
7.4.60.0110.00616.64
7.4.50.0000.00816.52
7.4.40.0060.00922.77
7.4.30.0070.01016.41
7.4.00.0070.00514.77
7.3.330.0050.00013.13
7.3.320.0030.00313.21
7.3.310.0040.00416.19
7.3.300.0000.00716.29
7.3.290.0070.01316.30
7.3.280.0080.00616.29
7.3.270.0120.00617.40
7.3.260.0070.01016.41
7.3.250.0120.00816.30
7.3.240.0060.01116.38
7.3.230.0130.00316.39
7.3.210.0040.01216.40
7.3.200.0100.01019.39
7.3.190.0090.00916.56
7.3.180.0120.00316.33
7.3.170.0060.01316.40
7.3.160.0110.00416.29
7.3.120.0070.00914.65
7.3.110.0060.01314.65
7.3.100.0060.00914.87
7.3.90.0000.01114.69
7.3.80.0090.00614.75
7.3.70.0040.01614.55
7.3.60.0040.00814.77
7.3.50.0090.00014.85
7.3.40.0070.00714.66
7.3.30.0040.01114.72
7.3.20.0070.00316.61
7.3.10.0070.00816.30
7.3.00.0070.01016.15
7.2.330.0110.00716.68
7.2.320.0170.00816.61
7.2.310.0120.00916.76
7.2.300.0150.00016.70
7.2.290.0100.00716.67
7.2.250.0000.01914.85
7.2.240.0100.01015.02
7.2.230.0100.00715.23
7.2.220.0030.01314.95
7.2.210.0090.00614.92
7.2.200.0100.01014.90
7.2.190.0000.01214.66
7.2.180.0130.00014.52
7.2.170.0070.01015.07
7.2.130.0120.00816.64
7.2.120.0070.00716.74
7.2.110.0100.01016.71
7.2.100.0150.00616.48
7.2.90.0100.01016.66
7.2.80.0130.00516.69
7.2.70.0180.00716.71
7.2.60.0130.00316.82
7.2.50.0130.00816.83
7.2.40.0070.01016.74
7.2.30.0000.01316.52
7.2.20.0130.00316.39
7.2.10.0040.01116.48
7.2.00.0070.00716.66
7.1.330.0040.01215.64
7.1.320.0060.00615.66
7.1.310.0090.00615.65
7.1.300.0130.00015.73
7.1.290.0040.00815.62
7.1.280.0000.01615.38
7.1.270.0040.01115.94
7.1.260.0090.00315.57
7.1.250.0120.00615.30
7.1.200.0090.00315.64
7.1.70.0000.00716.81
7.1.60.0110.01419.82
7.1.50.0090.01216.98
7.1.00.0070.03022.45
7.0.200.0060.00316.54
7.0.140.0000.07322.04
7.0.60.0030.04019.94
7.0.50.0130.07317.88
7.0.40.0070.04720.13
7.0.30.0400.05020.20
7.0.20.0300.03720.29
7.0.10.0070.09020.24
7.0.00.0030.05020.08
5.6.210.0230.07020.72
5.6.200.0100.06018.29
5.6.190.0130.08320.48
5.6.180.3170.05320.57
5.6.170.0230.05020.54
5.6.160.0070.06720.54
5.6.150.0130.07318.19
5.6.140.0030.04318.14
5.6.130.0070.08018.23
5.6.120.0000.05021.05
5.6.110.0100.06721.11
5.6.100.0000.08321.10
5.6.90.0100.05321.00
5.6.80.0170.07320.40
5.6.70.0230.02320.52
5.5.350.0200.08720.46
5.5.340.0200.06718.04
5.5.330.0230.03720.27
5.5.320.0230.03720.34
5.5.310.0300.07020.33
5.5.300.0100.06017.98
5.5.290.0070.03717.97
5.5.280.0070.04320.88
5.5.270.0130.05320.86
5.5.260.0100.08020.76
5.5.250.0200.07320.58
5.5.240.0270.06020.26
5.4.450.0670.06719.56
5.4.440.0630.06319.42
5.4.430.0000.06319.42
5.4.420.0130.06019.39
5.4.410.0100.05019.41
5.4.400.0800.07018.80
5.4.390.1200.05018.58
5.4.380.0230.05718.69
5.4.370.0170.05018.53
5.4.360.0130.05318.59
5.4.350.0230.04718.74
5.4.340.0230.04318.73
5.4.320.0080.03412.48
5.4.310.0120.04212.48
5.4.300.0110.04712.48
5.4.290.0090.04812.48
5.4.280.0050.03712.38
5.4.270.0120.03812.38
5.4.260.0130.05318.96
5.4.250.0130.04718.79
5.4.240.0070.05319.00
5.4.230.0100.05318.65
5.4.220.0070.08018.77
5.4.210.0130.05018.94
5.4.200.0070.07718.94
5.4.190.0070.08018.79
5.4.180.0200.04718.94
5.4.170.0030.06018.74
5.4.160.0070.06718.99
5.4.150.0200.06018.93
5.4.140.0070.05316.52
5.4.130.0100.05316.39
5.4.120.0130.05316.48
5.4.110.0070.07016.33
5.4.100.0130.04716.65
5.4.90.0100.04716.45
5.4.80.0270.04316.37
5.4.70.0030.05016.51
5.4.60.0130.06716.46
5.4.50.0100.05716.68
5.4.40.0100.05716.45
5.4.30.0000.05316.62
5.4.20.0170.06016.44
5.4.10.0000.06316.46
5.4.00.0070.04715.83
5.3.290.0090.04412.80
5.3.280.0070.05014.80
5.3.270.0170.04714.73
5.3.260.0130.05014.76
5.3.250.0100.07314.73
5.3.240.0070.05014.68
5.3.230.0030.06014.49
5.3.220.0070.05314.71
5.3.210.0170.05314.72
5.3.200.0070.05014.73
5.3.190.0200.06314.70
5.3.180.0130.05014.69
5.3.170.0300.05314.64
5.3.160.0170.04014.70
5.3.150.0070.05014.64
5.3.140.0130.04314.54
5.3.130.0100.05714.63
5.3.120.0070.05014.56
5.3.110.0100.07714.37
5.3.100.0070.05014.03
5.3.90.0100.04714.02
5.3.80.0070.05013.91
5.3.70.0030.05014.03
5.3.60.0100.04313.97
5.3.50.0170.05014.02
5.3.40.0000.06014.11
5.3.30.0170.03713.90
5.3.20.0070.05013.51
5.3.10.0030.05313.80
5.3.00.0030.05013.79
5.2.170.0100.04011.21
5.2.160.0000.06011.04
5.2.150.0070.06011.09
5.2.140.0070.04011.26
5.2.130.0030.04711.25
5.2.120.0000.04311.16
5.2.110.0030.04011.00
5.2.100.0070.05011.09
5.2.90.0100.03711.15
5.2.80.0100.05311.16
5.2.70.0070.04711.15
5.2.60.0000.04311.03
5.2.50.0030.04711.19
5.2.40.0130.05311.21
5.2.30.0130.05310.92
5.2.20.0070.04010.78
5.2.10.0170.04310.82
5.2.00.0100.04010.79
5.1.60.0070.03010.18
5.1.50.0100.03310.06
5.1.40.0070.04010.02
5.1.30.0070.04710.24
5.1.20.0000.04010.17
5.1.10.0000.0579.98
5.1.00.0030.05010.10
5.0.50.0000.0438.77
5.0.40.0170.0278.39
5.0.30.0030.0538.37
5.0.20.0030.0278.25
5.0.10.0070.0308.36
5.0.00.0000.0508.13
4.4.90.0100.0207.05
4.4.80.0000.0337.05
4.4.70.0000.0307.05
4.4.60.0030.0207.05
4.4.50.0000.0237.05
4.4.40.0000.0507.05
4.4.30.0030.0307.05
4.4.20.0000.0237.05
4.4.10.0030.0207.05
4.4.00.0000.0337.05
4.3.110.0070.0207.05
4.3.100.0070.0177.05
4.3.90.0030.0307.05
4.3.80.0070.0277.05
4.3.70.0000.0207.05
4.3.60.0000.0207.05
4.3.50.0030.0207.05
4.3.40.0030.0337.05
4.3.30.0030.0207.05
4.3.20.0100.0177.05
4.3.10.0070.0277.05
4.3.00.0100.0236.98

preferences:
41.84 ms | 401 KiB | 5 Q