3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("/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.0070.00718.56
8.3.50.0230.00721.95
8.3.40.0060.00919.04
8.3.30.0110.00419.46
8.3.20.0110.00720.50
8.3.10.0070.00723.73
8.3.00.0040.01120.93
8.2.180.0070.01417.00
8.2.170.0060.00922.96
8.2.160.0070.00722.39
8.2.150.0090.00624.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00417.75
8.2.110.0030.00622.41
8.2.100.0080.00417.67
8.2.90.0040.00419.33
8.2.80.0000.00818.05
8.2.70.0030.00517.62
8.2.60.0040.00418.15
8.2.50.0040.00418.07
8.2.40.0030.00620.01
8.2.30.0030.00618.15
8.2.20.0040.00417.86
8.2.10.0040.00417.82
8.2.00.0090.00017.75
8.1.280.0110.01125.92
8.1.270.0080.00024.02
8.1.260.0050.00326.35
8.1.250.0120.00328.09
8.1.240.0040.00423.93
8.1.230.0080.00319.16
8.1.220.0000.00817.79
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0040.00817.50
8.1.180.0050.00318.10
8.1.170.0000.00818.79
8.1.160.0000.00822.09
8.1.150.0040.00718.61
8.1.140.0040.00417.46
8.1.130.0030.00318.00
8.1.120.0070.00017.55
8.1.110.0070.00017.59
8.1.100.0000.00717.54
8.1.90.0050.00317.55
8.1.80.0080.00017.50
8.1.70.0030.00517.51
8.1.60.0070.00417.58
8.1.50.0000.00817.54
8.1.40.0080.00017.60
8.1.30.0060.00317.73
8.1.20.0000.00717.75
8.1.10.0030.00617.71
8.1.00.0030.00517.67
8.0.300.0000.00818.77
8.0.290.0040.00417.25
8.0.280.0080.00018.48
8.0.270.0000.00717.34
8.0.260.0070.00017.10
8.0.250.0070.00017.03
8.0.240.0000.00917.03
8.0.230.0030.00317.05
8.0.220.0060.00316.98
8.0.210.0040.00417.01
8.0.200.0030.00317.10
8.0.190.0060.00317.09
8.0.180.0040.00417.02
8.0.170.0040.00417.09
8.0.160.0030.00517.12
8.0.150.0040.00416.95
8.0.140.0040.00416.93
8.0.130.0030.00313.55
8.0.120.0000.00817.06
8.0.110.0030.00517.17
8.0.100.0080.00017.20
8.0.90.0050.00316.93
8.0.80.0090.00617.04
8.0.70.0080.00017.08
8.0.60.0000.00717.11
8.0.50.0040.00416.88
8.0.30.0090.01217.37
8.0.20.0120.01117.40
8.0.10.0080.00017.29
8.0.00.0120.00616.99
7.4.330.0000.00515.16
7.4.320.0030.00316.62
7.4.300.0000.00616.69
7.4.290.0070.00016.50
7.4.280.0040.00416.56
7.4.270.0000.00716.69
7.4.260.0080.00016.66
7.4.250.0000.00716.68
7.4.240.0030.00516.69
7.4.230.0000.00716.88
7.4.220.0120.00616.57
7.4.210.0100.00716.67
7.4.200.0030.00316.51
7.4.190.0000.00716.55
7.4.160.0100.01316.77
7.4.150.0110.01017.40
7.4.140.0130.00517.86
7.4.130.0130.00916.68
7.4.120.0110.00716.70
7.4.110.0070.01116.52
7.4.100.0130.01016.54
7.4.90.0130.00616.63
7.4.80.0040.01416.69
7.4.70.0030.01516.55
7.4.60.0140.00816.68
7.4.50.0040.00416.86
7.4.40.0060.00822.77
7.4.30.0090.01316.75
7.4.00.0130.00315.29
7.3.330.0000.00613.20
7.3.320.0060.00013.36
7.3.310.0090.00016.37
7.3.300.0000.00816.40
7.3.290.0060.01516.45
7.3.280.0090.00916.50
7.3.270.0030.01517.40
7.3.260.0130.01016.81
7.3.250.0140.00516.64
7.3.240.0120.00616.55
7.3.230.0130.00416.63
7.3.210.0070.01316.55
7.3.200.0200.00619.39
7.3.190.0090.01516.66
7.3.180.0000.01816.69
7.3.170.0120.00616.55
7.3.160.0150.00316.35
7.3.120.0070.00715.26
7.2.330.0150.00416.63
7.2.320.0120.00616.60
7.2.310.0160.00016.85
7.2.300.0040.01716.87
7.2.290.0090.00916.82
7.2.00.0070.00719.31
7.1.100.0030.01218.37
7.1.70.0080.00417.29
7.1.60.0060.01919.32
7.1.50.0100.01317.37
7.1.00.0030.07722.76
7.0.200.0100.00516.96
7.0.140.0000.07722.27
7.0.60.0170.06720.15
7.0.50.0100.07718.16
7.0.40.0100.07720.56
7.0.30.0270.04020.43
7.0.20.0100.05720.50
7.0.10.0170.03320.50
7.0.00.0030.04720.47
5.6.280.0100.07021.27
5.6.210.0070.08021.11
5.6.200.0130.07718.54
5.6.190.0070.04021.07
5.6.180.0100.07321.04
5.6.170.0370.06720.83
5.6.160.0030.09020.76
5.6.150.0070.06718.46
5.6.140.0100.07718.41
5.6.130.0030.04018.67
5.6.120.0130.08321.36
5.6.110.0170.07321.24
5.6.100.0070.07721.27
5.6.90.0100.08721.23
5.6.80.0070.07720.83
5.5.350.0070.08320.64
5.5.340.0070.05318.27
5.5.330.0070.08720.86
5.5.320.0230.04320.57
5.5.310.0400.06720.63
5.5.300.0070.04018.27
5.5.290.0170.04318.46
5.5.280.0030.04021.32
5.5.270.0000.05320.99
5.5.260.0000.09021.18
5.5.250.0100.03720.93
5.5.240.0100.07020.71
5.4.450.0330.03719.56
5.4.440.0370.05019.62
5.4.430.0270.05019.48
5.4.420.0400.04719.70
5.4.410.0430.04019.67
5.4.400.1200.06019.02
5.4.390.0930.05318.93
5.4.380.0070.06318.80
5.4.370.0200.06018.77
5.4.360.0230.05318.68
5.4.350.0270.05718.95
5.4.340.0230.06019.01
5.4.320.0030.03912.66
5.4.310.0080.04412.65
5.4.300.0080.03512.66
5.4.290.0080.04112.65
5.4.280.0090.04612.53
5.4.270.0140.04312.53
5.4.260.0170.05012.54
5.4.250.0090.05012.53
5.4.240.0080.03912.53
5.4.230.0100.04012.52
5.4.220.0090.04812.52
5.4.210.0260.08812.52
5.4.200.0190.04012.52
5.4.190.0130.04512.52
5.4.180.0100.05012.52
5.4.170.0100.04912.54
5.4.160.0080.04412.53
5.4.150.0040.05112.52
5.4.140.0140.05312.21
5.4.130.0120.05212.20
5.4.120.0090.06712.15
5.4.110.0140.04912.15
5.4.100.0110.04512.15
5.4.90.0140.05012.15
5.4.80.0120.05712.15
5.4.70.0110.04412.14
5.4.60.0100.04912.15
5.4.50.0090.05012.14
5.4.40.0110.04712.13
5.4.30.0200.04512.13
5.4.20.0140.05012.13
5.4.10.0120.05512.13
5.4.00.0170.07011.62
5.3.290.0050.04012.86
5.3.280.0100.06512.78
5.3.270.0150.05512.79
5.3.260.0120.05512.79
5.3.250.0100.04412.79
5.3.240.0070.05212.79
5.3.230.0090.04612.78
5.3.220.0110.04512.75
5.3.210.0080.04612.74
5.3.200.0080.05212.75
5.3.190.0100.05312.75
5.3.180.0120.05712.74
5.3.170.0090.05012.74
5.3.160.0090.05012.74
5.3.150.0090.05212.74
5.3.140.0090.05612.74
5.3.130.0100.05912.73
5.3.120.0120.05312.73
5.3.110.0110.04812.73
5.3.100.0150.04312.21
5.3.90.0100.05212.20
5.3.80.0100.04712.19
5.3.70.0060.05412.20
5.3.60.0120.04812.17
5.3.50.0100.04812.11
5.3.40.0140.04712.12
5.3.30.0090.05312.08
5.3.20.0100.05211.86
5.3.10.0140.05911.82
5.3.00.0080.05211.82
5.2.170.0060.0439.31
5.2.160.0080.0449.31
5.2.150.0080.0459.31
5.2.140.0080.0449.31
5.2.130.0070.0389.27
5.2.120.0060.0399.27
5.2.110.0070.0409.27
5.2.100.0110.0399.27
5.2.90.0050.0439.27
5.2.80.0080.0419.27
5.2.70.0140.0369.27
5.2.60.0160.0439.22
5.2.50.0150.0549.19
5.2.40.0050.0579.16
5.2.30.0090.0549.14
5.2.20.0080.0449.13
5.2.10.0130.0399.04
5.2.00.0070.0468.89
5.1.60.0110.0358.17
5.1.50.0080.0368.17
5.1.40.0100.0398.15
5.1.30.0110.0448.50
5.1.20.0110.0418.52
5.1.10.0110.0388.25
5.1.00.0100.0418.25
5.0.50.0050.0276.72
5.0.40.0050.0316.59
5.0.30.0030.0376.39
5.0.20.0030.0226.37
5.0.10.0020.0236.34
5.0.00.0040.0326.34
4.4.90.0040.0244.78
4.4.80.0050.0204.75
4.4.70.0060.0194.75
4.4.60.0050.0204.76
4.4.50.0020.0244.77
4.4.40.0060.0314.71
4.4.30.0040.0184.75
4.4.20.0040.0164.84
4.4.10.0040.0234.85
4.4.00.0060.0314.76
4.3.110.0090.0184.67
4.3.100.0040.0224.66
4.3.90.0020.0184.63
4.3.80.0030.0324.62
4.3.70.0070.0174.63
4.3.60.0040.0174.63
4.3.50.0080.0134.63
4.3.40.0030.0304.57
4.3.30.0050.0203.38
4.3.20.0040.0223.36
4.3.10.0050.0203.32
4.3.00.0000.02015.46

preferences:
41.67 ms | 401 KiB | 5 Q