3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http:/1/9999%00@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.60.0140.00718.74
8.3.50.0210.01322.12
8.3.40.0090.00619.27
8.3.30.0080.00819.10
8.3.20.0070.01120.25
8.3.10.0000.01823.90
8.3.00.0040.00421.00
8.2.180.0110.00416.63
8.2.170.0170.00322.96
8.2.160.0030.01722.25
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.01126.16
8.2.120.0000.00721.32
8.2.110.0100.00022.37
8.2.100.0060.00617.89
8.2.90.0080.00018.28
8.2.80.0000.00817.97
8.2.70.0030.00617.88
8.2.60.0070.00318.16
8.2.50.0050.00518.07
8.2.40.0040.00418.47
8.2.30.0040.00418.21
8.2.20.0040.00417.73
8.2.10.0060.00317.93
8.2.00.0030.00617.79
8.1.280.0210.00025.92
8.1.270.0080.00023.91
8.1.260.0080.00026.35
8.1.250.0090.00928.09
8.1.240.0000.00922.59
8.1.230.0080.00421.03
8.1.220.0050.00317.89
8.1.210.0060.00319.09
8.1.200.0030.00617.48
8.1.190.0060.00317.53
8.1.180.0100.00018.10
8.1.170.0040.00418.69
8.1.160.0000.00722.04
8.1.150.0040.00418.58
8.1.140.0040.00417.48
8.1.130.0000.00718.02
8.1.120.0000.00817.46
8.1.110.0040.00417.55
8.1.100.0000.00717.49
8.1.90.0070.00017.56
8.1.80.0000.00717.54
8.1.70.0040.00417.49
8.1.60.0040.00417.56
8.1.50.0030.00617.59
8.1.40.0050.00317.58
8.1.30.0000.00817.63
8.1.20.0060.00317.65
8.1.10.0040.00417.62
8.1.00.0000.00917.66
8.0.300.0030.00620.11
8.0.290.0080.00017.18
8.0.280.0070.00018.55
8.0.270.0040.00517.43
8.0.260.0030.00316.91
8.0.250.0040.00417.00
8.0.240.0000.00717.10
8.0.230.0070.00017.02
8.0.220.0030.00317.06
8.0.210.0040.00416.89
8.0.200.0000.00716.95
8.0.190.0080.00017.13
8.0.180.0040.00417.00
8.0.170.0080.00017.00
8.0.160.0040.00416.94
8.0.150.0070.00016.94
8.0.140.0000.00816.99
8.0.130.0030.00313.54
8.0.120.0000.00817.03
8.0.110.0040.00416.98
8.0.100.0080.00017.09
8.0.90.0050.00316.94
8.0.80.0090.00617.13
8.0.70.0080.00017.13
8.0.60.0040.00417.16
8.0.50.0000.00716.89
8.0.30.0050.01517.25
8.0.20.0090.01017.40
8.0.10.0000.00717.18
8.0.00.0130.00817.07
7.4.330.0000.00515.24
7.4.320.0060.00016.76
7.4.300.0030.00316.68
7.4.290.0030.00316.59
7.4.280.0050.00316.56
7.4.270.0000.00716.66
7.4.260.0000.00716.68
7.4.250.0080.00016.55
7.4.240.0060.00216.73
7.4.230.0000.00716.84
7.4.220.0120.01516.60
7.4.210.0100.01016.72
7.4.200.0030.00316.62
7.4.190.0000.00716.86
7.4.160.0140.00616.45
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0070.01016.72
7.4.120.0130.00716.68
7.4.110.0040.01416.87
7.4.100.0090.00916.70
7.4.90.0060.01216.57
7.4.80.0080.00916.68
7.4.70.0130.00416.63
7.4.60.0110.00616.41
7.4.50.0000.00816.71
7.4.40.0130.00022.77
7.4.30.0140.00416.71
7.4.00.0100.00615.20
7.3.330.0070.00013.43
7.3.320.0030.00313.42
7.3.310.0040.00316.57
7.3.300.0000.00816.49
7.3.290.0140.00716.54
7.3.280.0070.01116.42
7.3.270.0140.00317.40
7.3.260.0070.01116.60
7.3.250.0090.01116.48
7.3.240.0100.00716.49
7.3.230.0060.01016.54
7.3.210.0060.01216.68
7.3.200.0050.00619.39
7.3.190.0120.00916.46
7.3.180.0150.00316.64
7.3.170.0080.00816.73
7.3.160.0130.00316.66
7.3.120.0060.00915.17
7.2.330.0170.00316.59
7.2.320.0080.00816.70
7.2.310.0130.01016.54
7.2.300.0090.00916.87
7.2.290.0030.01416.64
7.2.60.0080.00516.90
7.2.00.0030.01019.66
7.1.200.0110.00315.95
7.1.100.0000.01418.07
7.1.70.0000.01717.43
7.1.60.0100.01419.32
7.1.50.0070.01417.05
7.1.00.0070.07322.79
7.0.200.0050.01017.00
7.0.140.0000.07722.42
7.0.60.0030.04020.30
7.0.50.0070.07718.20
7.0.40.0070.07720.56
7.0.30.0270.07720.45
7.0.20.0170.04720.44
7.0.10.0230.05320.49
7.0.00.0030.08020.42
5.6.280.0070.07021.32
5.6.210.0100.06720.91
5.6.200.0170.07018.44
5.6.190.0030.08720.90
5.6.180.0000.05321.04
5.6.170.0130.05020.80
5.6.160.0100.07020.83
5.6.150.0100.06318.44
5.6.140.0070.04718.41
5.6.130.0030.04718.44
5.6.120.0070.04721.28
5.6.110.0170.06321.46
5.6.100.0170.03321.34
5.6.90.0130.08021.41
5.6.80.0170.04720.86
5.6.70.4500.03320.63
5.5.350.0100.04020.75
5.5.340.0130.06718.30
5.5.330.0000.04320.86
5.5.320.0030.08320.66
5.5.310.0230.03320.59
5.5.300.0070.08018.26
5.5.290.0130.08018.29
5.5.280.0100.06721.23
5.5.270.0030.06021.17
5.5.260.0070.08320.95
5.5.250.0030.04021.00
5.5.240.0230.05020.41
5.4.450.0530.03319.64
5.4.440.0130.05319.54
5.4.430.0430.04319.72
5.4.420.0170.04319.70
5.4.410.0130.04719.67
5.4.400.0330.05018.98
5.4.390.0200.04718.81
5.4.380.0170.05019.02
5.4.370.0300.04319.09
5.4.360.0200.05318.97
5.4.350.0200.06018.73
5.4.340.0270.05718.97
5.4.320.0110.04012.66
5.4.310.0040.04412.65
5.4.300.0070.03712.65
5.4.290.0070.04112.65
5.4.280.0100.04712.53
5.4.270.0110.05712.53
5.4.260.0160.06912.54
5.4.250.0130.07212.54
5.4.240.0110.05612.53
5.4.230.0160.07912.53
5.4.220.0060.05412.53
5.4.210.0090.06512.52
5.4.200.0170.07012.53
5.4.190.0090.05712.52
5.4.180.0110.05212.52
5.4.170.0080.04012.53
5.4.160.0080.04012.53
5.4.150.0090.03912.52
5.4.140.0100.04712.20
5.4.130.0070.04412.20
5.4.120.0110.04412.15
5.4.110.0140.06012.15
5.4.100.0120.04212.14
5.4.90.0190.07212.15
5.4.80.0120.05312.15
5.4.70.0140.05212.14
5.4.60.0100.04412.14
5.4.50.0230.07512.14
5.4.40.0050.04212.13
5.4.30.0080.03912.13
5.4.20.0070.06612.13
5.4.10.0110.06212.13
5.4.00.0130.05011.62
5.3.290.0070.03912.85
5.3.280.0070.05312.77
5.3.270.0090.05612.78
5.3.260.0090.07512.79
5.3.250.0130.06112.79
5.3.240.0120.05212.79
5.3.230.0070.05512.78
5.3.220.0130.05412.75
5.3.210.0120.05012.75
5.3.200.0090.08012.74
5.3.190.0090.08112.74
5.3.180.0150.07412.74
5.3.170.0080.05312.74
5.3.160.0070.05412.74
5.3.150.0100.05812.75
5.3.140.0060.05712.74
5.3.130.0100.05312.73
5.3.120.0090.05512.73
5.3.110.0110.05312.73
5.3.100.0130.05912.21
5.3.90.0120.05012.20
5.3.80.0090.05112.19
5.3.70.0080.04912.19
5.3.60.0080.05612.17
5.3.50.0090.05812.12
5.3.40.0050.04212.11
5.3.30.0110.04012.08
5.3.20.0050.04211.86
5.3.10.0090.05011.83
5.3.00.0190.04511.82
5.2.170.0040.0479.31
5.2.160.0060.0479.31
5.2.150.0090.0829.31
5.2.140.0090.0659.31
5.2.130.0060.0509.27
5.2.120.0120.0409.27
5.2.110.0120.0529.27
5.2.100.0170.0899.27
5.2.90.0130.0399.27
5.2.80.0090.0459.27
5.2.70.0160.0789.27
5.2.60.0130.0699.22
5.2.50.0080.0579.19
5.2.40.0100.0449.16
5.2.30.0150.0549.14
5.2.20.0060.0359.13
5.2.10.0080.0299.03
5.2.00.0080.0308.89
5.1.60.0050.0278.17
5.1.50.0060.0268.17
5.1.40.0060.0268.16
5.1.30.0070.0288.50
5.1.20.0050.0298.52
5.1.10.0080.0268.24
5.1.00.0050.0288.25
5.0.50.0060.0226.72
5.0.40.0050.0236.59
5.0.30.0050.0346.40
5.0.20.0030.0236.37
5.0.10.0050.0236.35
5.0.00.0020.0366.34
4.4.90.0070.0164.78
4.4.80.0060.0164.75
4.4.70.0020.0194.76
4.4.60.0040.0174.75
4.4.50.0050.0164.77
4.4.40.0020.0304.72
4.4.30.0030.0204.76
4.4.20.0070.0144.84
4.4.10.0050.0194.85
4.4.00.0070.0294.76
4.3.110.0090.0184.67
4.3.100.0040.0254.66
4.3.90.0040.0224.63
4.3.80.0090.0314.62
4.3.70.0090.0194.63
4.3.60.0070.0204.63
4.3.50.0020.0284.63
4.3.40.0050.0354.57
4.3.30.0020.0263.38
4.3.20.0040.0233.36
4.3.10.0080.0263.32
4.3.00.0000.01715.53

preferences:
32.01 ms | 401 KiB | 5 Q