3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://134744072\x00@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.0120.00418.43
8.3.50.0110.00722.10
8.3.40.0110.01119.09
8.3.30.0030.01019.35
8.3.20.0040.00420.54
8.3.10.0000.00822.34
8.3.00.0040.00422.79
8.2.180.0090.00616.63
8.2.170.0090.00622.96
8.2.160.0090.00921.14
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.01026.16
8.2.120.0080.00019.39
8.2.110.0060.00322.34
8.2.100.0040.00817.84
8.2.90.0040.00419.30
8.2.80.0040.00418.29
8.2.70.0030.00617.75
8.2.60.0040.00418.05
8.2.50.0030.00618.07
8.2.40.0000.00718.47
8.2.30.0040.00418.32
8.2.20.0020.00517.79
8.2.10.0000.00817.81
8.2.00.0040.00417.68
8.1.280.0150.00325.92
8.1.270.0040.00423.83
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00323.95
8.1.230.0060.00619.15
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0050.00317.53
8.1.180.0030.00518.10
8.1.170.0030.00618.78
8.1.160.0040.00422.02
8.1.150.0040.00418.76
8.1.140.0040.00717.51
8.1.130.0060.00018.00
8.1.120.0030.00517.43
8.1.110.0000.00817.52
8.1.100.0000.00717.44
8.1.90.0080.00017.55
8.1.80.0040.00417.36
8.1.70.0050.00317.42
8.1.60.0040.00417.55
8.1.50.0000.00717.59
8.1.40.0050.00317.58
8.1.30.0090.00017.55
8.1.20.0000.00817.63
8.1.10.0030.00617.73
8.1.00.0040.00417.64
8.0.300.0030.00318.77
8.0.290.0040.00417.30
8.0.280.0000.00618.57
8.0.270.0000.00717.39
8.0.260.0030.00316.95
8.0.250.0070.00017.13
8.0.240.0070.00017.09
8.0.230.0070.00016.94
8.0.220.0030.00316.84
8.0.210.0070.00017.00
8.0.200.0000.00716.99
8.0.190.0030.00516.96
8.0.180.0000.00716.93
8.0.170.0000.00816.91
8.0.160.0030.00516.89
8.0.150.0040.00416.91
8.0.140.0030.00416.77
8.0.130.0050.00013.44
8.0.120.0030.00616.78
8.0.110.0000.00717.02
8.0.100.0000.00816.76
8.0.90.0030.00517.05
8.0.80.0060.00917.00
8.0.70.0000.00816.84
8.0.60.0040.00416.95
8.0.50.0040.00416.79
8.0.30.0080.01117.10
8.0.20.0130.00617.40
8.0.10.0080.00016.93
8.0.00.0150.00716.88
7.4.330.0030.00315.00
7.4.320.0050.00216.66
7.4.300.0000.00616.67
7.4.290.0030.00616.66
7.4.280.0070.00016.59
7.4.270.0030.00316.52
7.4.260.0040.00416.45
7.4.250.0040.00416.63
7.4.240.0010.00616.54
7.4.230.0030.00316.58
7.4.220.0090.00916.65
7.4.210.0080.00916.55
7.4.200.0040.00416.70
7.4.190.0070.00016.47
7.4.160.0100.01016.87
7.4.150.0040.01317.40
7.4.140.0130.00517.86
7.4.130.0170.00016.52
7.4.120.0080.00916.51
7.4.110.0070.01416.46
7.4.100.0100.01016.59
7.4.90.0060.01116.60
7.4.80.0120.00619.39
7.4.70.0140.00716.52
7.4.60.0090.01016.59
7.4.50.0020.00216.68
7.4.40.0070.01022.77
7.4.30.0120.00416.80
7.4.00.0100.00715.26
7.3.330.0050.00013.23
7.3.320.0000.00613.30
7.3.310.0000.00716.40
7.3.300.0030.00316.33
7.3.290.0060.00916.36
7.3.280.0060.01216.33
7.3.270.0140.00417.40
7.3.260.0090.00916.79
7.3.250.0080.00816.26
7.3.240.0140.00916.54
7.3.230.0140.01016.39
7.3.210.0080.00816.43
7.3.200.0150.00419.39
7.3.190.0130.00816.30
7.3.180.0120.01016.33
7.3.170.0130.00316.36
7.3.160.0070.01016.36
7.3.120.0060.00614.96
7.3.10.0070.01016.47
7.3.00.0110.00316.71
7.2.330.0100.01116.53
7.2.320.0110.00716.88
7.2.310.0100.01016.49
7.2.300.0100.00716.78
7.2.290.0120.01216.67
7.2.130.0060.00816.89
7.2.120.0060.00716.81
7.2.110.0070.00516.81
7.2.100.0070.00716.99
7.2.90.0040.01016.67
7.2.80.0090.00517.05
7.2.70.0050.00816.77
7.2.60.0080.00716.92
7.2.50.0070.00717.05
7.2.40.0060.00916.91
7.2.30.0060.00816.91
7.2.20.0100.00216.95
7.2.10.0050.00716.79
7.2.00.0090.00717.64
7.1.250.0050.00715.87
7.1.200.0100.00315.73
7.1.100.0070.00418.17
7.1.70.0030.00617.27
7.1.60.0110.01419.82
7.1.50.0150.01534.80
7.1.00.0100.07022.52
7.0.200.0060.00916.85
7.0.140.0100.06322.28
7.0.60.0070.08320.06
7.0.50.0130.07717.94
7.0.40.0100.04720.37
7.0.30.0270.03320.23
7.0.20.0430.05720.19
7.0.10.0270.07320.27
7.0.00.0100.03720.25
5.6.280.0000.07321.08
5.6.210.0000.06020.80
5.6.200.0030.04318.36
5.6.190.0130.08320.56
5.6.180.3200.04020.54
5.6.170.0270.06320.64
5.6.160.0100.07320.61
5.6.150.0070.08018.22
5.6.140.0100.03718.28
5.6.130.0100.07318.22
5.6.120.0100.08021.02
5.6.110.0130.07321.04
5.6.100.0100.08321.11
5.6.90.0070.08321.11
5.6.80.0070.03720.41
5.6.70.0300.05720.51
5.5.350.0030.08320.47
5.5.340.0070.08018.14
5.5.330.0000.05720.33
5.5.320.0270.05320.41
5.5.310.0200.05020.40
5.5.300.0070.04717.98
5.5.290.0070.04018.00
5.5.280.0100.04720.96
5.5.270.0030.05020.82
5.5.260.0030.04020.80
5.5.250.0170.07720.82
5.5.240.0230.05720.16
5.4.450.0300.03719.60
5.4.440.0370.03019.48
5.4.430.0500.03719.34
5.4.420.0300.05019.42
5.4.410.0100.05719.02
5.4.400.0130.04718.56
5.4.390.0000.06318.63
5.4.380.0270.05318.67
5.4.370.0070.06318.65
5.4.360.0070.06018.90
5.4.350.0230.05018.65
5.4.340.0270.04318.53
5.4.320.0070.04212.52
5.4.310.0100.03412.52
5.4.300.0100.03712.52
5.4.290.0030.04112.52
5.4.280.0110.05012.39
5.4.270.0100.05412.39
5.4.260.0090.05712.39
5.4.250.0100.05512.39
5.4.240.0080.05512.39
5.4.230.0050.05112.38
5.4.220.0140.05112.38
5.4.210.0140.05012.38
5.4.200.0090.05812.38
5.4.190.0180.06712.38
5.4.180.0270.09312.38
5.4.170.0130.11312.38
5.4.160.0170.05912.38
5.4.150.0080.04912.38
5.4.140.0120.04812.06
5.4.130.0050.04812.05
5.4.120.0080.05412.01
5.4.110.0110.05612.00
5.4.100.0130.04012.00
5.4.90.0100.05012.00
5.4.80.0120.04812.00
5.4.70.0080.04912.00
5.4.60.0090.04712.00
5.4.50.0080.05112.00
5.4.40.0070.05111.99
5.4.30.0080.04811.99
5.4.20.0050.05311.98
5.4.10.0110.04411.98
5.4.00.0080.05111.48
5.3.290.0070.03812.80
5.3.280.0100.05012.71
5.3.270.0100.04712.72
5.3.260.0120.07312.72
5.3.250.0080.05212.72
5.3.240.0090.04912.72
5.3.230.0080.05012.71
5.3.220.0100.05112.68
5.3.210.0120.05312.68
5.3.200.0100.05312.68
5.3.190.0090.04912.68
5.3.180.0080.04912.67
5.3.170.0060.05412.67
5.3.160.0110.05312.67
5.3.150.0070.05612.67
5.3.140.0100.05112.66
5.3.130.0050.06012.66
5.3.120.0110.05412.66
5.3.110.0070.05712.66
5.3.100.0120.05112.12
5.3.90.0060.05712.09
5.3.80.0080.05512.08
5.3.70.0100.05412.08
5.3.60.0110.04812.07
5.3.50.0100.05012.01
5.3.40.0120.04912.01
5.3.30.0060.05311.97
5.3.20.0060.04911.76
5.3.10.0070.05011.72
5.3.00.0070.05311.71
5.2.170.0130.0389.20
5.2.160.0060.0419.20
5.2.150.0110.0389.20
5.2.140.0090.0419.20
5.2.130.0110.0439.16
5.2.120.0120.0369.16
5.2.110.0100.0459.16
5.2.100.0050.0489.17
5.2.90.0050.0429.16
5.2.80.0090.0399.16
5.2.70.0080.0449.16
5.2.60.0070.0419.11
5.2.50.0070.0399.09
5.2.40.0070.0389.06
5.2.30.0070.0439.04
5.2.20.0070.0379.02
5.2.10.0080.0388.94
5.2.00.0050.0418.80
5.1.60.0050.0358.07
5.1.50.0060.0328.07
5.1.40.0080.0318.06
5.1.30.0080.0338.41
5.1.20.0080.0308.43
5.1.10.0080.0308.15
5.1.00.0060.0278.16
5.0.50.0100.0266.63
5.0.40.0060.0196.50
5.0.30.0050.0336.30
5.0.20.0030.0236.28
5.0.10.0040.0226.25
5.0.00.0050.0316.24
4.4.90.0020.0184.78
4.4.80.0050.0154.75
4.4.70.0070.0134.76
4.4.60.0040.0174.76
4.4.50.0050.0144.77
4.4.40.0040.0284.71
4.4.30.0040.0164.76
4.4.20.0020.0194.84
4.4.10.0070.0144.85
4.4.00.0040.0274.76
4.3.110.0060.0144.67
4.3.100.0040.0184.66
4.3.90.0260.0594.63
4.3.80.0030.0314.58
4.3.70.0050.0194.63
4.3.60.0040.0214.62
4.3.50.0050.0194.63
4.3.40.0020.0254.54
4.3.30.0010.0173.30
4.3.20.0030.0153.29
4.3.10.0020.0163.25
4.3.00.0070.01313.28

preferences:
48.96 ms | 401 KiB | 5 Q