3v4l.org

run code in 300+ PHP versions simultaneously
<?php $zoneparts = array_reverse(explode('.',"0.0.127")); $parts = explode('.',"127.0.0.1"); $intersect = array_intersect_assoc($zoneparts,$parts); print_r(range(0, count($intersect))); if(array_keys($intersect) === range(0, count($intersect))) { 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.0110.00418.15
8.3.50.0070.00821.14
8.3.40.0040.01118.79
8.3.30.0100.00319.11
8.3.20.0070.00020.20
8.3.10.0080.00021.92
8.3.00.0060.00922.30
8.2.180.0180.00416.38
8.2.170.0080.00822.96
8.2.160.0110.00419.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0130.00326.16
8.2.120.0030.00619.24
8.2.110.0090.00022.20
8.2.100.0090.00317.78
8.2.90.0000.00817.83
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0050.00317.92
8.2.50.0040.00418.07
8.2.40.0000.00818.34
8.2.30.0040.00417.99
8.2.20.0000.00717.59
8.2.10.0040.00417.55
8.2.00.0060.00317.59
8.1.280.0110.00425.92
8.1.270.0040.00422.24
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00622.45
8.1.230.0120.00020.82
8.1.220.0050.00517.74
8.1.210.0040.00419.03
8.1.200.0070.00317.25
8.1.190.0040.00417.53
8.1.180.0040.00418.57
8.1.170.0000.00818.55
8.1.160.0070.00022.10
8.1.150.0040.00418.63
8.1.140.0070.00017.37
8.1.130.0040.00417.74
8.1.120.0000.00717.35
8.1.110.0040.00417.33
8.1.100.0070.00017.48
8.1.90.0000.00717.37
8.1.80.0020.00517.50
8.1.70.0000.00717.32
8.1.60.0040.00417.59
8.1.50.0000.00717.50
8.1.40.0070.00017.54
8.1.30.0000.00717.59
8.1.20.0040.00417.58
8.1.10.0040.00417.55
8.1.00.0020.00517.52
8.0.300.0040.00419.91
8.0.290.0070.00016.93
8.0.280.0050.00318.29
8.0.270.0040.00417.14
8.0.260.0040.00416.74
8.0.250.0000.00716.79
8.0.240.0000.00816.93
8.0.230.0030.00316.77
8.0.220.0000.00716.82
8.0.210.0030.00316.80
8.0.200.0000.00616.85
8.0.190.0030.00316.93
8.0.180.0000.00816.88
8.0.170.0030.00316.90
8.0.160.0040.00416.83
8.0.150.0000.00716.79
8.0.140.0000.00716.89
8.0.130.0030.00313.34
8.0.120.0050.00216.74
8.0.110.0050.00316.90
8.0.100.0080.00016.79
8.0.90.0040.00416.75
8.0.80.0080.00616.89
8.0.70.0000.00716.93
8.0.60.0050.00216.92
8.0.50.0040.00416.87
8.0.30.0130.00616.97
8.0.20.0060.01217.41
8.0.10.0040.00316.90
8.0.00.0060.01616.76
7.4.330.0000.00615.00
7.4.320.0060.00016.43
7.4.300.0050.00316.50
7.4.290.0030.00316.65
7.4.280.0030.00316.47
7.4.270.0070.00016.60
7.4.260.0030.00316.53
7.4.250.0040.00416.60
7.4.240.0050.00316.46
7.4.230.0000.00716.57
7.4.220.0140.01016.64
7.4.210.0110.00716.57
7.4.200.0000.00716.71
7.4.190.0000.00716.46
7.4.160.0040.01116.34
7.4.150.0130.00317.40
7.4.140.0050.01217.86
7.4.130.0060.00916.52
7.4.120.0080.01016.57
7.4.110.0070.01016.48
7.4.100.0070.01016.49
7.4.90.0120.00616.50
7.4.80.0080.01219.39
7.4.70.0030.01216.52
7.4.60.0030.01516.46
7.4.50.0080.00016.07
7.4.40.0090.00922.77
7.4.30.0030.01316.44
7.4.00.0050.01215.05
7.3.330.0050.00013.02
7.3.320.0000.00513.16
7.3.310.0050.00216.38
7.3.300.0000.00716.26
7.3.290.0100.00316.31
7.3.280.0090.01416.26
7.3.270.0070.01017.40
7.3.260.0190.00616.36
7.3.250.0120.00516.38
7.3.240.0140.00316.36
7.3.230.0100.00716.39
7.3.210.0090.00916.46
7.3.200.0130.00616.43
7.3.190.0080.00816.34
7.3.180.0060.01516.54
7.3.170.0110.00916.27
7.3.160.0070.01016.45
7.3.120.0050.01214.69
7.3.110.0030.01314.85
7.3.100.0060.01214.68
7.3.90.0040.00814.94
7.3.80.0110.00414.85
7.3.70.0070.00714.56
7.3.60.0070.00714.64
7.3.50.0030.01214.71
7.3.40.0090.00315.01
7.3.30.0030.01314.87
7.3.20.0000.01216.41
7.3.10.0040.01116.54
7.3.00.0030.00716.65
7.2.330.0060.01216.33
7.2.320.0100.00716.33
7.2.310.0100.00616.52
7.2.300.0090.00616.58
7.2.290.0130.00416.42
7.2.250.0000.01714.99
7.2.240.0060.01214.93
7.2.230.0040.00714.94
7.2.220.0060.00915.12
7.2.210.0040.01414.95
7.2.200.0040.01114.57
7.2.190.0060.01214.91
7.2.180.0090.00614.90
7.2.170.0040.01215.07
7.2.00.0110.00019.43
7.1.330.0060.01015.81
7.1.320.0030.01015.62
7.1.310.0060.00815.88
7.1.300.0060.00615.76
7.1.290.0060.00915.83
7.1.280.0000.00915.71
7.1.270.0070.00715.50
7.1.260.0030.01015.70
7.1.100.0030.00818.15
7.1.70.0000.00716.93
7.1.60.0030.01719.82
7.1.50.0070.01416.88
7.1.00.0030.05722.31
7.0.200.0000.00916.63
7.0.140.0130.06322.12
7.0.60.0000.05019.94
7.0.50.0030.04717.88
7.0.40.0130.07720.13
7.0.30.0370.05720.26
7.0.20.0300.07020.24
7.0.10.0070.05720.34
7.0.00.0100.08320.10
5.6.280.0000.07720.82
5.6.210.0070.07720.69
5.6.200.0100.07718.16
5.6.190.0030.08720.51
5.6.180.0200.05320.41
5.6.170.0200.04020.71
5.6.160.0070.08320.55
5.6.150.0030.08018.16
5.6.140.0070.07018.13
5.6.130.0030.05318.13
5.6.120.0130.05321.02
5.6.110.0070.07721.02
5.6.100.0030.04720.97
5.6.90.0070.07321.07
5.6.80.0070.08020.53
5.5.350.0270.04020.42
5.5.340.0130.07717.97
5.5.330.0070.05720.25
5.5.320.0230.03720.37
5.5.310.0400.06720.26
5.5.300.0000.05017.98
5.5.290.0130.07717.94
5.5.280.0070.08320.87
5.5.270.0030.04320.82
5.5.260.0230.06720.73
5.5.250.0130.07720.53
5.5.240.0030.06020.25
5.4.450.0670.06719.55
5.4.440.0870.04719.38
5.4.430.0130.05319.32
5.4.420.0070.05719.38
5.4.410.0200.05018.93
5.4.400.0170.05318.77
5.4.390.0070.05718.74
5.4.380.0130.05018.51
5.4.370.0100.05718.75
5.4.360.0200.05018.73
5.4.350.0100.06018.55
5.4.340.0170.05018.85
5.4.320.0060.03612.48
5.4.310.0050.03812.48
5.4.300.0030.03912.48
5.4.290.0080.03712.48
5.4.280.0080.03712.38
5.4.270.0030.03912.38
5.4.260.0100.07018.95
5.4.250.0100.07018.94
5.4.240.0100.05019.08
5.4.230.0330.03018.79
5.4.220.0100.05718.93
5.4.210.0130.05018.87
5.4.200.0030.05718.97
5.4.190.0070.05318.84
5.4.180.0100.05318.75
5.4.170.0070.05018.82
5.4.160.0130.05318.86
5.4.150.0130.05018.97
5.4.140.0030.05316.36
5.4.130.0130.06016.36
5.4.120.0070.05016.33
5.4.110.0170.06016.28
5.4.100.0100.06316.56
5.4.90.0100.04316.52
5.4.80.0100.04716.54
5.4.70.0130.04016.36
5.4.60.0130.04016.36
5.4.50.0100.04716.37
5.4.40.0130.04316.57
5.4.30.0100.05016.46
5.4.20.0070.04716.36
5.4.10.0070.05016.43
5.4.00.0170.04716.00
5.3.290.0050.04012.80
5.3.280.0130.05714.57
5.3.270.0070.05714.58
5.3.260.0170.04314.57
5.3.250.0070.05314.82
5.3.240.0100.04714.60
5.3.230.0070.05014.73
5.3.220.0030.05014.65
5.3.210.0100.07714.54
5.3.200.0200.05014.64
5.3.190.0100.05014.64
5.3.180.0000.05714.47
5.3.170.0130.04314.46
5.3.160.0070.06714.39
5.3.150.0070.05014.52
5.3.140.0100.06014.63
5.3.130.0070.07714.61
5.3.120.0100.04714.52
5.3.110.0100.05014.72
5.3.100.0100.04714.25
5.3.90.0070.05014.00
5.3.80.0070.05013.91
5.3.70.0070.05014.01
5.3.60.0170.04014.00
5.3.50.0070.06014.02
5.3.40.0030.05714.01
5.3.30.0100.06314.12
5.3.20.0070.04713.76
5.3.10.0100.05313.66
5.3.00.0100.05313.71
5.2.170.0030.05311.22
5.2.160.0030.04011.22
5.2.150.0100.04311.23
5.2.140.0070.03711.20
5.2.130.0100.03711.31
5.2.120.0070.03711.25
5.2.110.0000.04310.99
5.2.100.0000.04311.00
5.2.90.0000.04311.17
5.2.80.0030.04311.26
5.2.70.0070.04010.99
5.2.60.0030.04311.11
5.2.50.0070.03710.98
5.2.40.0030.04011.20
5.2.30.0070.04310.95
5.2.20.0100.03311.11
5.2.10.0000.04311.01
5.2.00.0070.04010.69
5.1.60.0030.0339.94
5.1.50.0000.0409.83
5.1.40.0100.0439.92
5.1.30.0100.02710.41
5.1.20.0000.04010.43
5.1.10.0100.03010.03
5.1.00.0070.03710.26
5.0.50.0000.0308.77
5.0.40.0000.0308.36
5.0.30.0030.0408.16
5.0.20.0000.0308.27
5.0.10.0000.0308.00
5.0.00.0170.0478.11
4.4.90.0070.0177.26
4.4.80.0000.0237.26
4.4.70.0000.0307.26
4.4.60.0070.0207.26
4.4.50.0000.0237.26
4.4.40.0070.0407.26
4.4.30.0000.0237.26
4.4.20.0030.0277.26
4.4.10.0070.0177.26
4.4.00.0000.0377.26
4.3.110.0030.0237.26
4.3.100.0030.0277.26
4.3.90.0070.0177.26
4.3.80.0030.0337.26
4.3.70.0000.0237.26
4.3.60.0070.0177.26
4.3.50.0000.0237.26
4.3.40.0070.0307.26
4.3.30.0000.0307.26
4.3.20.0030.0237.26
4.3.10.0070.0177.26
4.3.00.0130.0236.76

preferences:
49.19 ms | 401 KiB | 5 Q