3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://134744072 :1.2.3.4/btc.txt"); print "meh"; print_r($parts); print "wah"; $hosts = gethostbynamel($parts['host']); print_r($hosts); #echo bin2hex($parts["user"]); print "wtf"; ?>

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.0120.00318.91
8.3.30.0070.00719.33
8.3.20.0080.00020.45
8.3.10.0030.00623.73
8.3.00.0040.00422.64
8.2.170.0040.01122.96
8.2.160.0090.00622.21
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0040.00419.61
8.2.110.0060.00322.21
8.2.100.0040.00718.03
8.2.90.0040.00419.47
8.2.80.0000.00818.15
8.2.70.0050.00317.88
8.2.60.0030.00518.05
8.2.50.0040.00418.07
8.2.40.0040.00418.42
8.2.30.0060.00318.21
8.2.20.0040.00417.79
8.2.10.0050.00317.85
8.2.00.0070.00017.97
8.1.270.0040.00424.13
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00324.04
8.1.230.0040.00819.32
8.1.220.0000.00817.80
8.1.210.0080.00018.77
8.1.200.0090.00017.38
8.1.190.0050.00317.63
8.1.180.0050.00318.10
8.1.170.0040.00418.71
8.1.160.0040.00422.02
8.1.150.0000.00718.71
8.1.140.0060.00317.58
8.1.130.0040.00418.02
8.1.120.0080.00017.55
8.1.110.0050.00317.56
8.1.100.0030.00517.45
8.1.90.0030.00617.59
8.1.80.0080.00017.58
8.1.70.0000.00717.44
8.1.60.0050.00517.68
8.1.50.0040.00417.62
8.1.40.0060.00317.53
8.1.30.0090.00017.76
8.1.20.0040.00417.79
8.1.10.0000.00817.70
8.1.00.0000.00817.66
8.0.300.0050.00218.77
8.0.290.0040.00417.16
8.0.280.0000.00718.60
8.0.270.0020.00517.27
8.0.260.0080.00016.89
8.0.250.0030.00317.07
8.0.240.0000.00716.93
8.0.230.0040.00417.14
8.0.220.0000.00716.98
8.0.210.0070.00017.00
8.0.200.0000.00717.06
8.0.190.0040.00417.10
8.0.180.0070.00317.05
8.0.170.0000.00817.10
8.0.160.0040.00417.02
8.0.150.0050.00516.98
8.0.140.0000.00816.83
8.0.130.0000.00813.55
8.0.120.0050.00317.02
8.0.110.0000.00817.13
8.0.100.0000.00817.10
8.0.90.0060.00317.05
8.0.80.0040.01517.15
8.0.70.0080.00017.16
8.0.60.0020.00517.09
8.0.50.0030.00517.07
8.0.30.0100.01317.22
8.0.20.0130.00617.50
8.0.10.0030.00517.01
8.0.00.0070.01317.09
7.4.330.0030.00315.21
7.4.320.0030.00316.57
7.4.300.0060.00016.66
7.4.290.0000.00716.54
7.4.280.0070.00016.66
7.4.270.0070.00016.67
7.4.260.0040.00416.49
7.4.250.0040.00416.64
7.4.240.0000.00816.80
7.4.230.0040.00416.68
7.4.220.0130.01316.57
7.4.210.0090.00516.80
7.4.200.0040.00416.84
7.4.190.0080.00016.75
7.4.160.0080.00816.65
7.4.150.0170.00717.40
7.4.140.0140.00617.86
7.4.130.0080.00916.66
7.4.120.0150.00716.78
7.4.110.0080.00916.66
7.4.100.0180.00616.72
7.4.90.0090.00916.70
7.4.80.0060.01216.68
7.4.70.0170.00716.44
7.4.60.0060.01016.66
7.4.50.0050.00316.45
7.4.40.0030.01622.77
7.4.30.0120.00916.38
7.4.00.0080.00815.33
7.3.330.0030.00313.29
7.3.320.0000.00513.15
7.3.310.0000.00816.53
7.3.300.0000.00816.46
7.3.290.0090.01016.44
7.3.280.0080.00916.43
7.3.270.0100.00717.40
7.3.260.0160.00316.39
7.3.250.0130.00416.66
7.3.240.0170.00516.55
7.3.230.0090.00916.61
7.3.210.0190.00316.64
7.3.200.0090.00919.39
7.3.190.0080.02816.43
7.3.180.0140.00816.77
7.3.170.0090.00916.66
7.3.160.0060.01516.68
7.3.120.0110.00715.18
7.2.330.0110.00716.74
7.2.320.0140.00416.89
7.2.310.0130.00416.93
7.2.300.0080.01316.89
7.2.290.0130.00316.55
7.1.70.0080.00417.43
7.1.60.0140.01019.24
7.1.50.0230.01035.21
7.1.00.0000.08022.60
7.0.200.0000.00816.97
7.0.140.0070.07022.39
7.0.100.0130.08020.20
7.0.90.0170.06720.21
7.0.80.0000.07320.26
7.0.70.0200.03720.17
7.0.60.0030.07020.36
7.0.50.0130.06020.66
7.0.40.0170.06020.43
7.0.30.0030.04320.46
7.0.20.0000.06020.42
7.0.10.0070.07020.45
7.0.00.0200.02720.52
5.6.280.0030.07321.36
5.6.250.0130.06721.13
5.6.240.0030.04321.00
5.6.230.0100.06320.87
5.6.220.0130.03020.94
5.6.210.0030.05721.09
5.6.200.0030.04321.46
5.6.190.0100.07321.43
5.6.180.0070.04321.32
5.6.170.0100.08021.23
5.6.160.0070.07021.43
5.6.150.0030.04321.27
5.6.140.0130.07721.38
5.6.130.0130.06321.34
5.6.120.0030.04721.38
5.6.110.0070.04021.37
5.6.100.0130.08021.29
5.6.90.0030.07021.42
5.6.80.0100.04320.91
5.6.70.0100.04320.69
5.6.60.0070.05320.73
5.6.50.0070.08320.69
5.6.40.0100.03720.82
5.6.30.0170.06320.71
5.6.20.0030.08320.71
5.6.10.0000.04320.77
5.6.00.0130.06020.77
5.5.380.0070.07320.71
5.5.370.0070.04320.72
5.5.360.0100.06720.79
5.5.350.0230.02320.73
5.5.340.0000.08021.05
5.5.330.0030.04321.17
5.5.320.0070.04021.04
5.5.310.0070.07321.21
5.5.300.0130.03321.16
5.5.290.0030.04321.25
5.5.280.0070.07721.17
5.5.270.0030.04321.11
5.5.260.0030.07321.16
5.5.250.0130.04721.04
5.5.240.0030.04320.47
5.5.230.0030.08020.56
5.5.220.0100.04020.55
5.5.210.0100.03320.48
5.5.200.0100.07020.53
5.5.190.0070.06320.55
5.5.180.0000.08720.55
5.5.160.0070.04020.37
5.5.150.0030.04320.57
5.5.140.0100.06020.42
5.5.130.0070.07020.53
5.5.120.0070.05020.61
5.5.110.0100.04020.58
5.5.100.0000.05720.29
5.5.90.0070.06320.36
5.5.80.0170.06720.45
5.5.70.0170.04320.43
5.5.60.0070.05020.41
5.5.50.0030.04020.41
5.5.40.0130.06020.29
5.5.30.0070.05020.43
5.5.20.0070.06720.45
5.5.10.0100.06020.43
5.5.00.0030.08020.25
5.4.450.0070.06719.72
5.4.440.0100.03319.63
5.4.430.0030.07719.85
5.4.420.0070.05719.52
5.4.410.0070.03719.70
5.4.400.0030.04319.49
5.4.390.0100.05719.11
5.4.380.0070.04019.20
5.4.370.0100.03019.19
5.4.360.0000.04319.34
5.4.350.0070.05319.49
5.4.340.0000.07319.16
5.4.320.0100.07319.45
5.4.310.0170.06719.23
5.4.300.0030.03719.30
5.4.290.0030.07719.15
5.4.280.0130.06719.34
5.4.270.0100.07319.44
5.4.260.0130.07719.39
5.4.250.0070.05019.30
5.4.240.0100.06719.39
5.4.230.0030.04019.46
5.4.220.0000.05319.30
5.4.210.0030.07019.47
5.4.200.0070.03719.39
5.4.190.0030.06319.25
5.4.180.0030.06719.34
5.4.170.0070.06319.46
5.4.160.0100.07319.42
5.4.150.0100.06019.33
5.4.140.0030.07316.77
5.4.130.0030.04016.56
5.4.120.0000.06316.77
5.4.110.0000.05316.72
5.4.100.0100.05316.78
5.4.90.0070.06716.88
5.4.80.0070.03016.63
5.4.70.0030.07016.80
5.4.60.0130.05716.80
5.4.50.0070.05716.75
5.4.40.0030.07316.79
5.4.30.0070.05316.64
5.4.20.0100.06016.77
5.4.10.0000.05716.71
5.4.00.0100.06716.01
5.3.290.0030.04314.72
5.3.280.0070.06714.84
5.3.270.0100.03314.67
5.3.260.0030.08014.79
5.3.250.0100.07014.75
5.3.240.0000.05314.89
5.3.230.0030.05314.79
5.3.220.0100.04714.90
5.3.210.0100.07714.75
5.3.200.0070.07714.70
5.3.190.0100.03314.75
5.3.180.0030.07014.75
5.3.170.0070.07714.72
5.3.160.0100.06714.85
5.3.150.0070.05314.85
5.3.140.0070.03314.70
5.3.130.0070.05714.60
5.3.120.0030.06714.88
5.3.110.0030.05714.88
5.3.100.0070.03314.37
5.3.90.0100.03314.36
5.3.80.0100.06314.35
5.3.70.0070.03314.20
5.3.60.0100.07314.07
5.3.50.0030.03713.99
5.3.40.0100.07014.09
5.3.30.0070.03314.07
5.3.20.0030.03713.88
5.3.10.0100.04013.72
5.3.00.0130.02713.82
5.2.170.0000.05312.73
5.2.160.0070.03012.73
5.2.150.0030.03012.73
5.2.140.0070.02712.73
5.2.130.0000.03312.73
5.2.120.0030.05312.73
5.2.110.0030.05712.73
5.2.100.0030.02712.73
5.2.90.0030.03312.73
5.2.80.0030.03012.73
5.2.70.0070.02712.73
5.2.60.0070.05012.73
5.2.50.0070.02712.73
5.2.40.0000.04712.73
5.2.30.0030.05012.73
5.2.20.0070.02312.73
5.2.10.0030.04012.73
5.2.00.0070.04312.73
5.1.60.0000.03012.73
5.1.50.0100.03012.73
5.1.40.0000.04712.73
5.1.30.0070.03012.73
5.1.20.0070.02312.73
5.1.10.0070.03712.73
5.1.00.0030.04312.73
5.0.50.0100.03312.73
5.0.40.0100.03712.73
5.0.30.0000.03012.73
5.0.20.0030.02012.73
5.0.10.0000.03712.73
5.0.00.0000.03012.73
4.4.90.0030.03312.73
4.4.80.0030.02012.73
4.4.70.0000.04012.73
4.4.60.0000.02312.73
4.4.50.0000.03312.73
4.4.40.0030.02712.73
4.4.30.0030.01712.73
4.4.20.0000.04012.73
4.4.10.0000.03012.73
4.4.00.0030.03312.73
4.3.110.0030.02012.73
4.3.100.0030.03012.73
4.3.90.0000.01712.73
4.3.80.0070.04712.73
4.3.70.0070.01712.73
4.3.60.0030.01712.73
4.3.50.0030.01312.73
4.3.40.0030.02712.73
4.3.30.0000.02012.73
4.3.20.0000.02312.73
4.3.10.0000.02012.73
4.3.00.0000.01712.73

preferences:
38.91 ms | 400 KiB | 5 Q