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.60.0140.00718.68
8.3.50.0230.00321.95
8.3.40.0120.00318.82
8.3.30.0120.00919.21
8.3.20.0090.00920.26
8.3.10.0000.01123.73
8.3.00.0140.00022.60
8.2.180.0120.00616.88
8.2.170.0110.00422.96
8.2.160.0100.00322.43
8.2.150.0040.00424.18
8.2.140.0040.01124.66
8.2.130.0040.00426.16
8.2.120.0030.00619.38
8.2.110.0100.00022.38
8.2.100.0120.00017.97
8.2.90.0000.00819.34
8.2.80.0040.00418.29
8.2.70.0030.00617.88
8.2.60.0050.00318.05
8.2.50.0040.00418.07
8.2.40.0030.00518.28
8.2.30.0000.00718.34
8.2.20.0000.00817.70
8.2.10.0050.00217.84
8.2.00.0030.00517.92
8.1.280.0060.00925.92
8.1.270.0050.00322.32
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00324.10
8.1.230.0040.00819.16
8.1.220.0000.00717.79
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0030.00517.43
8.1.180.0040.00418.10
8.1.170.0060.00318.68
8.1.160.0020.00522.01
8.1.150.0040.00418.59
8.1.140.0070.00017.63
8.1.130.0000.00717.43
8.1.120.0080.00017.43
8.1.110.0040.00417.50
8.1.100.0050.00217.46
8.1.90.0060.00317.55
8.1.80.0030.00417.45
8.1.70.0030.00317.43
8.1.60.0000.00817.65
8.1.50.0060.00317.57
8.1.40.0000.00817.57
8.1.30.0040.00417.75
8.1.20.0050.00317.61
8.1.10.0000.00717.57
8.1.00.0070.00017.55
8.0.300.0030.00318.77
8.0.290.0070.00017.18
8.0.280.0030.00318.47
8.0.270.0070.00017.38
8.0.260.0030.00317.00
8.0.250.0000.00717.05
8.0.240.0030.00716.96
8.0.230.0000.00717.00
8.0.220.0040.00416.92
8.0.210.0040.00416.86
8.0.200.0030.00317.06
8.0.190.0000.00717.03
8.0.180.0050.00217.00
8.0.170.0040.00416.99
8.0.160.0080.00016.75
8.0.150.0030.00316.87
8.0.140.0040.00416.92
8.0.130.0000.00613.30
8.0.120.0000.00816.98
8.0.110.0040.00417.01
8.0.100.0040.00417.09
8.0.90.0050.00217.01
8.0.80.0120.00616.88
8.0.70.0070.00017.06
8.0.60.0050.00217.00
8.0.50.0040.00417.03
8.0.30.0130.00617.08
8.0.20.0110.00817.45
8.0.10.0030.00316.91
8.0.00.0080.01016.90
7.4.330.0050.00015.27
7.4.320.0060.00016.63
7.4.300.0000.00716.54
7.4.290.0030.00316.64
7.4.280.0030.00316.57
7.4.270.0030.00316.72
7.4.260.0000.00716.70
7.4.250.0000.00716.69
7.4.240.0020.00516.67
7.4.230.0000.00716.66
7.4.220.0110.01116.48
7.4.210.0070.00816.57
7.4.200.0070.00016.68
7.4.190.0000.00716.80
7.4.160.0060.01216.33
7.4.150.0130.00517.40
7.4.140.0090.01117.86
7.4.130.0050.01516.69
7.4.120.0100.00716.65
7.4.110.0070.01116.42
7.4.100.0070.01016.39
7.4.90.0030.01416.64
7.4.80.0060.01516.46
7.4.70.0030.01216.52
7.4.60.0060.01016.70
7.4.50.0000.00616.38
7.4.40.0030.00922.77
7.4.30.0120.00616.63
7.4.00.0100.00714.92
7.3.330.0050.00013.33
7.3.320.0000.00513.28
7.3.310.0000.00716.29
7.3.300.0030.00316.21
7.3.290.0000.02116.38
7.3.280.0080.00916.35
7.3.270.0070.01717.40
7.3.260.0090.01216.40
7.3.250.0110.00616.54
7.3.240.0060.01016.46
7.3.230.0100.00716.57
7.3.210.0170.00316.45
7.3.200.0070.01519.39
7.3.190.0100.01016.57
7.3.180.0080.00816.35
7.3.170.0000.01616.54
7.3.160.0110.00616.34
7.3.120.0040.01214.83
7.2.330.0120.00616.77
7.2.320.0090.00916.83
7.2.310.0090.01216.84
7.2.300.0120.00416.51
7.2.290.0070.01016.77
7.2.00.0110.00418.95
7.1.200.0070.00315.69
7.1.100.0030.00918.26
7.1.70.0000.00717.14
7.1.60.0100.01419.24
7.1.50.0130.01017.13
7.1.00.0000.07722.70
7.0.200.0070.00716.53
7.0.140.0030.07322.18
7.0.60.0030.07319.96
7.0.50.0130.06017.95
7.0.40.0100.08320.22
7.0.30.0300.04020.37
7.0.20.0070.05020.29
7.0.10.0270.03720.22
7.0.00.0030.04020.18
5.6.280.0170.05721.06
5.6.210.0070.08020.80
5.6.200.0100.07718.36
5.6.190.0100.07320.69
5.6.180.3470.04320.63
5.6.170.0200.08320.61
5.6.160.0030.05720.62
5.6.150.0100.07718.42
5.6.140.0100.04318.26
5.6.130.0170.07318.21
5.6.120.0130.08021.09
5.6.110.0100.08020.93
5.6.100.0200.05721.15
5.6.90.0170.06021.00
5.6.80.0170.07020.48
5.6.70.0100.08020.50
5.5.350.0100.07320.51
5.5.340.0000.05718.04
5.5.330.0130.08320.41
5.5.320.0000.04020.54
5.5.310.0270.07020.33
5.5.300.0070.08018.05
5.5.290.0030.04718.11
5.5.280.0070.08020.91
5.5.270.0030.05320.77
5.5.260.0070.08321.01
5.5.250.0070.08020.58
5.5.240.0070.03720.22
5.4.450.0130.04719.41
5.4.440.0170.03319.46
5.4.430.0200.04319.34
5.4.420.0470.04019.47
5.4.410.0100.06019.09
5.4.400.0170.04718.60
5.4.390.0130.05318.91
5.4.380.0170.05318.69
5.4.370.0130.05018.69
5.4.360.0100.05318.85
5.4.350.0200.04718.60
5.4.340.0170.05018.69
5.4.320.0040.03712.52
5.4.310.0080.03612.52
5.4.300.0050.04112.52
5.4.290.0080.03612.52
5.4.280.0120.05612.39
5.4.270.0160.07612.39
5.4.260.0160.06512.39
5.4.250.0130.06512.39
5.4.240.0070.06112.39
5.4.230.0080.06212.38
5.4.220.0070.06212.39
5.4.210.0100.05812.38
5.4.200.0130.07812.39
5.4.190.0130.06412.38
5.4.180.0160.08612.38
5.4.170.0120.07712.39
5.4.160.0130.05212.38
5.4.150.0090.08412.38
5.4.140.0170.07212.07
5.4.130.0140.08912.05
5.4.120.0110.05312.01
5.4.110.0070.05612.00
5.4.100.0050.05212.01
5.4.90.0120.07412.00
5.4.80.0110.07912.00
5.4.70.0120.05212.00
5.4.60.0160.06412.00
5.4.50.0230.17512.00
5.4.40.0090.07911.99
5.4.30.0140.07311.98
5.4.20.0150.07311.98
5.4.10.0120.08111.98
5.4.00.0090.08411.48
5.3.290.0090.04412.80
5.3.280.0160.08312.70
5.3.270.0090.10512.72
5.3.260.0090.08612.71
5.3.250.0110.08512.72
5.3.240.0150.06512.72
5.3.230.0180.08112.71
5.3.220.0110.07012.68
5.3.210.0120.06412.68
5.3.200.0160.06612.68
5.3.190.0150.06712.68
5.3.180.0120.06012.68
5.3.170.0050.05712.67
5.3.160.0120.04912.67
5.3.150.0030.05912.68
5.3.140.0140.04712.66
5.3.130.0060.05012.66
5.3.120.0080.07812.66
5.3.110.0100.04212.66
5.3.100.0060.04512.12
5.3.90.0080.04212.09
5.3.80.0090.04312.08
5.3.70.0180.07812.08
5.3.60.0130.06412.06
5.3.50.0140.05612.01
5.3.40.0190.05812.01
5.3.30.0140.04311.97
5.3.20.0120.03311.76
5.3.10.0090.03511.71
5.3.00.0040.04911.71
5.2.170.0070.0489.20
5.2.160.0080.0539.20
5.2.150.0090.0629.20
5.2.140.0070.0409.20
5.2.130.0060.0379.16
5.2.120.0070.0399.16
5.2.110.0060.0399.17
5.2.100.0080.0389.16
5.2.90.0370.0999.16
5.2.80.0140.0659.16
5.2.70.0130.0499.16
5.2.60.0140.0339.12
5.2.50.0070.0319.09
5.2.40.0060.0329.06
5.2.30.0060.0359.04
5.2.20.0100.0449.02
5.2.10.0090.0588.93
5.2.00.0120.0458.80
5.1.60.0090.0348.08
5.1.50.0080.0518.08
5.1.40.0050.0618.06
5.1.30.0320.0658.41
5.1.20.0190.0458.43
5.1.10.0150.0618.16
5.1.00.0050.0398.16
5.0.50.0070.0286.63
5.0.40.0260.0756.50
5.0.30.0090.0596.30
5.0.20.0060.0266.28
5.0.10.0080.0326.26
5.0.00.0060.0466.24
4.4.90.0060.0284.78
4.4.80.0050.0264.75
4.4.70.0040.0274.75
4.4.60.0110.0374.75
4.4.50.0140.0414.77
4.4.40.0050.0434.71
4.4.30.0030.0324.76
4.4.20.0090.0334.84
4.4.10.0050.0234.85
4.4.00.0060.0424.76
4.3.110.0090.0374.67
4.3.100.0180.0284.67
4.3.90.0060.0224.64
4.3.80.0040.0384.59
4.3.70.0160.0414.63
4.3.60.0080.0244.63
4.3.50.0090.0354.63
4.3.40.0060.0434.54
4.3.30.0110.0423.30
4.3.20.0060.0313.29
4.3.10.0100.0393.25
4.3.00.0070.01313.33

preferences:
55.14 ms | 401 KiB | 5 Q