3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://9999%000xADC27040./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.0120.00318.45
8.3.50.0190.01522.11
8.3.40.0100.01019.01
8.3.30.0110.00419.42
8.3.20.0060.00920.41
8.3.10.0040.00423.90
8.3.00.0080.00820.89
8.2.180.0120.00318.67
8.2.170.0110.01122.96
8.2.160.0070.00722.20
8.2.150.0100.00624.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.01317.75
8.2.110.0090.00022.16
8.2.100.0100.00317.84
8.2.90.0040.00419.38
8.2.80.0000.00918.16
8.2.70.0080.00017.63
8.2.60.0110.00017.88
8.2.50.0030.00618.07
8.2.40.0040.00418.34
8.2.30.0020.00518.26
8.2.20.0000.00817.86
8.2.10.0040.00417.87
8.2.00.0030.00517.72
8.1.280.0070.00725.92
8.1.270.0120.00323.89
8.1.260.0100.00726.35
8.1.250.0030.00628.09
8.1.240.0030.00624.10
8.1.230.0110.00019.13
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0110.00317.35
8.1.190.0040.00417.53
8.1.180.0080.00018.10
8.1.170.0040.00418.74
8.1.160.0040.00422.00
8.1.150.0080.00018.76
8.1.140.0040.00417.38
8.1.130.0000.00718.02
8.1.120.0040.00417.59
8.1.110.0050.00317.52
8.1.100.0040.00417.50
8.1.90.0000.01017.45
8.1.80.0000.00817.37
8.1.70.0030.00317.52
8.1.60.0040.00417.70
8.1.50.0080.00017.48
8.1.40.0040.00417.56
8.1.30.0000.00817.61
8.1.20.0020.00517.70
8.1.10.0000.00817.63
8.1.00.0040.00417.60
8.0.300.0020.00518.77
8.0.290.0080.00017.30
8.0.280.0000.00718.61
8.0.270.0070.00017.41
8.0.260.0040.00416.82
8.0.250.0050.00217.02
8.0.240.0050.00316.91
8.0.230.0000.00717.04
8.0.220.0000.00716.91
8.0.210.0040.00416.86
8.0.200.0050.00316.98
8.0.190.0040.00416.89
8.0.180.0100.00017.05
8.0.170.0040.00416.93
8.0.160.0040.00416.96
8.0.150.0000.00816.86
8.0.140.0040.00416.88
8.0.130.0000.00513.45
8.0.120.0090.00016.95
8.0.110.0050.00217.05
8.0.100.0050.00216.92
8.0.90.0000.00716.91
8.0.80.0060.00917.02
8.0.70.0000.00716.86
8.0.60.0070.00016.91
8.0.50.0040.00416.81
8.0.30.0120.01117.21
8.0.20.0140.00517.40
8.0.10.0000.00817.21
8.0.00.0110.00917.00
7.4.330.0050.00015.16
7.4.320.0000.00616.65
7.4.300.0000.00616.59
7.4.290.0000.00716.62
7.4.280.0030.00316.63
7.4.270.0000.00716.62
7.4.260.0030.00516.48
7.4.250.0050.00216.58
7.4.240.0060.00216.69
7.4.230.0070.00016.59
7.4.220.0040.01216.66
7.4.210.0090.00816.67
7.4.200.0050.00216.50
7.4.190.0000.00816.82
7.4.160.0100.00616.74
7.4.150.0140.00417.40
7.4.140.0110.01017.86
7.4.130.0100.01216.68
7.4.120.0080.01216.67
7.4.110.0080.01216.59
7.4.100.0070.01416.55
7.4.90.0090.01516.62
7.4.80.0110.01016.63
7.4.70.0120.01216.80
7.4.60.0060.01116.52
7.4.50.0090.00016.68
7.4.40.0060.00922.77
7.4.30.0100.00716.68
7.4.00.0060.00715.29
7.3.330.0020.00413.18
7.3.320.0060.00013.33
7.3.310.0000.00716.42
7.3.300.0000.00716.41
7.3.290.0090.00616.41
7.3.280.0080.00716.34
7.3.270.0070.01117.40
7.3.260.0090.01216.33
7.3.250.0100.00816.54
7.3.240.0140.00316.53
7.3.230.0080.00816.58
7.3.210.0000.01616.44
7.3.200.0090.00919.39
7.3.190.0070.01116.48
7.3.180.0060.01116.50
7.3.170.0100.00716.56
7.3.160.0120.01216.44
7.3.120.0030.01215.06
7.3.110.0060.01215.08
7.3.100.0040.00814.91
7.3.90.0040.01115.13
7.3.80.0060.00914.67
7.3.70.0030.01514.97
7.3.60.0160.00014.87
7.3.50.0040.00814.85
7.3.40.0130.00315.09
7.3.30.0090.00615.04
7.3.20.0040.01116.91
7.3.10.0030.01016.52
7.3.00.0100.00316.42
7.2.330.0030.01516.61
7.2.320.0120.00616.53
7.2.310.0030.01516.54
7.2.300.0060.01216.57
7.2.290.0080.00816.47
7.2.250.0090.00915.07
7.2.240.0180.00315.15
7.2.230.0030.00715.03
7.2.220.0070.01414.77
7.2.210.0040.01315.04
7.2.200.0110.00415.20
7.2.190.0070.00715.29
7.2.180.0040.00715.23
7.2.170.0040.01114.95
7.2.00.0000.01519.38
7.1.330.0040.00716.16
7.1.320.0030.00915.93
7.1.310.0070.00716.03
7.1.300.0100.00315.77
7.1.290.0060.00316.14
7.1.280.0110.00016.00
7.1.270.0040.01115.77
7.1.260.0100.00715.97
7.1.100.0090.00918.04
7.1.70.0070.00717.33
7.1.60.0070.01419.32
7.1.50.0040.01917.16
7.1.00.0070.07322.73
7.0.200.0120.00316.71
7.0.140.0130.06322.52
7.0.60.0100.05320.30
7.0.50.0000.05318.11
7.0.40.0130.07020.45
7.0.30.0200.04720.44
7.0.20.0470.06720.43
7.0.10.0130.06020.45
7.0.00.0130.08020.31
5.6.280.0100.06721.34
5.6.210.0170.07020.87
5.6.200.0100.07718.59
5.6.190.0030.04321.05
5.6.180.0470.05720.92
5.6.170.0400.07020.79
5.6.160.0130.05320.63
5.6.150.0130.07318.39
5.6.140.0030.08018.39
5.6.130.0030.04018.45
5.6.120.0030.07321.23
5.6.110.0170.05721.45
5.6.100.0100.07721.26
5.6.90.0070.08021.43
5.6.80.0070.04320.68
5.5.350.4230.05320.62
5.5.340.0070.08018.22
5.5.330.0200.07020.77
5.5.320.0030.08720.48
5.5.310.0570.06020.57
5.5.300.0030.08018.23
5.5.290.0130.03018.21
5.5.280.0200.06021.14
5.5.270.0170.07720.97
5.5.260.0130.03021.13
5.5.250.0070.07720.95
5.5.240.0030.05020.44
5.4.450.0470.06019.63
5.4.440.0730.06719.75
5.4.430.0970.06719.73
5.4.420.0930.07019.60
5.4.410.1000.05719.57
5.4.400.0270.03319.15
5.4.390.0630.05319.18
5.4.380.0200.05019.02
5.4.370.0200.04718.75
5.4.360.0100.05318.74
5.4.350.0100.05718.95
5.4.340.0130.05018.69
5.4.320.0080.03412.63
5.4.310.0080.04112.63
5.4.300.0040.03712.63
5.4.290.0060.03712.63
5.4.280.0070.03912.50
5.4.270.0090.03912.51
5.4.260.0080.04212.50
5.4.250.0040.04012.51
5.4.240.0090.04912.50
5.4.230.0090.04812.50
5.4.220.0070.05112.50
5.4.210.0080.05312.50
5.4.200.0100.06312.50
5.4.190.0070.06212.49
5.4.180.0100.06112.49
5.4.170.0060.05412.50
5.4.160.0180.07212.50
5.4.150.0130.06112.50
5.4.140.0100.07512.18
5.4.130.0280.10412.17
5.4.120.0120.06512.13
5.4.110.0160.10212.13
5.4.100.0080.04812.13
5.4.90.0050.05512.12
5.4.80.0050.05712.13
5.4.70.0110.06112.12
5.4.60.0130.04612.12
5.4.50.0160.06112.12
5.4.40.0100.07112.11
5.4.30.0100.04712.11
5.4.20.0130.04112.10
5.4.10.0110.07312.10
5.4.00.0050.05711.59
5.3.290.0090.04312.83
5.3.280.0130.08712.75
5.3.270.0030.07212.76
5.3.260.0100.05512.76
5.3.250.0110.06712.76
5.3.240.0080.05212.76
5.3.230.0090.05012.75
5.3.220.0100.05312.72
5.3.210.0070.04712.72
5.3.200.0090.03612.72
5.3.190.0030.04212.72
5.3.180.0080.04112.72
5.3.170.0090.05212.71
5.3.160.0050.05612.72
5.3.150.0070.04712.72
5.3.140.0110.03412.71
5.3.130.0150.03812.70
5.3.120.0080.04312.70
5.3.110.0070.04812.70
5.3.100.0060.04612.19
5.3.90.0080.04112.18
5.3.80.0050.04012.17
5.3.70.0080.04412.16
5.3.60.0060.05212.15
5.3.50.0110.04612.09
5.3.40.0060.04612.09
5.3.30.0070.04112.06
5.3.20.0100.03811.85
5.3.10.0040.05311.80
5.3.00.0120.03311.79
5.2.170.0040.0339.30
5.2.160.0050.0329.29
5.2.150.0050.0369.29
5.2.140.0070.0329.28
5.2.130.0080.0299.24
5.2.120.0070.0269.24
5.2.110.0080.0319.25
5.2.100.0060.0279.25
5.2.90.0050.0309.25
5.2.80.0060.0299.24
5.2.70.0060.0369.24
5.2.60.0040.0449.20
5.2.50.0080.0439.16
5.2.40.0080.0389.14
5.2.30.0070.0409.12
5.2.20.0080.0329.10
5.2.10.0060.0289.03
5.2.00.0070.0398.89
5.1.60.0080.0248.17
5.1.50.0080.0278.16
5.1.40.0070.0368.15
5.1.30.0060.0268.50
5.1.20.0050.0288.52
5.1.10.0050.0268.25
5.1.00.0040.0358.25
5.0.50.0010.0246.72
5.0.40.0020.0226.58
5.0.30.0030.0326.39
5.0.20.0030.0236.37
5.0.10.0040.0216.35
5.0.00.0060.0296.34
4.4.90.0030.0164.78
4.4.80.0040.0154.76
4.4.70.0030.0164.75
4.4.60.0040.0214.75
4.4.50.0030.0184.77
4.4.40.0050.0334.71
4.4.30.0050.0164.76
4.4.20.0040.0174.84
4.4.10.0030.0174.84
4.4.00.0060.0224.76
4.3.110.0020.0164.67
4.3.100.0030.0154.67
4.3.90.0010.0164.64
4.3.80.0060.0224.63
4.3.70.0050.0124.63
4.3.60.0040.0134.63
4.3.50.0040.0144.63
4.3.40.0030.0264.57
4.3.30.0040.0193.38
4.3.20.0030.0213.36
4.3.10.0030.0153.32
4.3.00.0100.0306.93

preferences:
37.18 ms | 401 KiB | 5 Q