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.0180.00418.30
8.3.50.0150.00221.95
8.3.40.0080.00818.96
8.3.30.0090.00619.21
8.3.20.0000.00820.55
8.3.10.0080.00023.57
8.3.00.0080.00022.62
8.2.180.0120.00917.00
8.2.170.0110.00722.96
8.2.160.0110.00422.21
8.2.150.0000.00824.18
8.2.140.0090.00024.66
8.2.130.0030.00526.16
8.2.120.0040.00419.48
8.2.110.0090.00021.28
8.2.100.0090.00318.16
8.2.90.0000.00818.13
8.2.80.0000.00817.97
8.2.70.0000.00917.63
8.2.60.0000.00918.05
8.2.50.0090.00018.07
8.2.40.0100.00018.28
8.2.30.0050.00218.26
8.2.20.0040.00417.80
8.2.10.0040.00419.65
8.2.00.0040.00417.88
8.1.280.0040.01125.92
8.1.270.0090.00023.95
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.01123.75
8.1.230.0000.01222.93
8.1.220.0050.00317.78
8.1.210.0040.00418.91
8.1.200.0030.00617.35
8.1.190.0030.00517.53
8.1.180.0030.00718.10
8.1.170.0000.00818.71
8.1.160.0050.00322.14
8.1.150.0040.00418.62
8.1.140.0030.00517.45
8.1.130.0040.00417.88
8.1.120.0040.00417.50
8.1.110.0000.00717.56
8.1.100.0040.00417.46
8.1.90.0070.00017.47
8.1.80.0070.00017.47
8.1.70.0000.00717.48
8.1.60.0000.00817.55
8.1.50.0040.00417.58
8.1.40.0000.00817.48
8.1.30.0000.00817.64
8.1.20.0030.00617.63
8.1.10.0050.00317.55
8.1.00.0080.00017.62
8.0.300.0040.00420.16
8.0.290.0070.00017.30
8.0.280.0070.00018.57
8.0.270.0030.00317.39
8.0.260.0040.00416.86
8.0.250.0030.00316.99
8.0.240.0000.00717.04
8.0.230.0050.00317.12
8.0.220.0040.00416.96
8.0.210.0000.00716.96
8.0.200.0030.00316.98
8.0.190.0040.00416.94
8.0.180.0000.00816.99
8.0.170.0070.00016.82
8.0.160.0070.00016.92
8.0.150.0040.00416.88
8.0.140.0000.00716.91
8.0.130.0060.00013.35
8.0.120.0050.00317.01
8.0.110.0080.00016.88
8.0.100.0040.00417.05
8.0.90.0040.00416.89
8.0.80.0130.00716.99
8.0.70.0040.00416.88
8.0.60.0040.00417.04
8.0.50.0000.00716.90
8.0.30.0110.01117.11
8.0.20.0110.00817.40
8.0.10.0050.00317.05
8.0.00.0140.00516.98
7.4.330.0030.00315.20
7.4.320.0030.00316.59
7.4.300.0030.00316.58
7.4.290.0000.00716.71
7.4.280.0040.00416.57
7.4.270.0080.00016.62
7.4.260.0040.00416.45
7.4.250.0000.00716.68
7.4.240.0080.00016.73
7.4.230.0030.00316.59
7.4.220.0060.01216.64
7.4.210.0100.00616.74
7.4.200.0050.00216.60
7.4.190.0040.00416.86
7.4.160.0210.00316.54
7.4.150.0110.00817.40
7.4.140.0110.00817.86
7.4.130.0080.01016.66
7.4.120.0100.00916.62
7.4.110.0030.01416.67
7.4.100.0100.00716.69
7.4.90.0120.00616.46
7.4.80.0070.01116.71
7.4.70.0110.01016.49
7.4.60.0030.01416.49
7.4.50.0090.00016.61
7.4.40.0090.00922.77
7.4.30.0070.01316.42
7.4.00.0030.01314.75
7.3.330.0030.00313.39
7.3.320.0050.00013.17
7.3.310.0040.00416.51
7.3.300.0030.00316.29
7.3.290.0090.00916.37
7.3.280.0090.00916.38
7.3.270.0130.00617.40
7.3.260.0130.00516.48
7.3.250.0130.00616.63
7.3.240.0060.01616.44
7.3.230.0090.00916.54
7.3.210.0130.00616.45
7.3.200.0070.01619.39
7.3.190.0120.01216.76
7.3.180.0030.01316.77
7.3.170.0030.01316.58
7.3.160.0100.01016.68
7.3.120.0090.00614.96
7.2.330.0180.00216.85
7.2.320.0030.01516.71
7.2.310.0100.00616.82
7.2.300.0130.00416.95
7.2.290.0070.01716.58
7.2.00.0130.00419.44
7.1.100.0060.00618.22
7.1.70.0040.00717.31
7.1.60.0090.01219.24
7.1.50.0190.00634.95
7.1.00.0000.08022.60
7.0.200.0140.00317.08
7.0.140.0000.07722.42
7.0.60.0130.07020.32
7.0.50.0100.08018.05
7.0.40.0030.06320.58
7.0.30.0230.05020.68
7.0.20.0170.07720.45
7.0.10.0130.08020.54
7.0.00.0100.04020.51
5.6.280.0070.07021.37
5.6.210.0030.07320.98
5.6.200.0130.07718.52
5.6.190.0030.09321.05
5.6.180.0370.07320.90
5.6.170.0100.04720.88
5.6.160.0070.08720.97
5.6.150.0030.08718.39
5.6.140.0130.07318.44
5.6.130.0070.04018.54
5.6.120.0000.08721.34
5.6.110.0170.07321.38
5.6.100.0030.08721.43
5.6.90.0230.07721.31
5.6.80.0100.06720.86
5.6.70.4200.04020.70
5.5.350.0030.04320.59
5.5.340.0030.08018.25
5.5.330.0070.05720.84
5.5.320.0370.06720.63
5.5.310.0400.07320.60
5.5.300.0100.06718.22
5.5.290.0100.07718.24
5.5.280.0130.07021.24
5.5.270.0170.07321.18
5.5.260.0170.07721.20
5.5.250.0130.03020.86
5.5.240.0100.03320.54
5.4.450.0670.04319.62
5.4.440.0230.04719.81
5.4.430.0630.05019.75
5.4.420.0700.03019.71
5.4.410.0100.06319.14
5.4.400.0170.06719.02
5.4.390.0030.05719.09
5.4.380.0170.05018.79
5.4.370.0200.04718.81
5.4.360.0070.05718.78
5.4.350.0230.04318.76
5.4.340.0270.03718.98
5.4.320.0060.03812.65
5.4.310.0040.04812.64
5.4.300.0060.03612.64
5.4.290.0060.03812.64
5.4.280.0090.05112.53
5.4.270.0130.04612.52
5.4.260.0110.05012.53
5.4.250.0100.05312.52
5.4.240.0110.05212.53
5.4.230.0180.04612.52
5.4.220.0120.05312.52
5.4.210.0170.05012.52
5.4.200.0070.06012.52
5.4.190.0100.05712.51
5.4.180.0100.05412.52
5.4.170.0120.05712.52
5.4.160.0170.04712.52
5.4.150.0120.05112.52
5.4.140.0120.07212.20
5.4.130.0130.06212.19
5.4.120.0120.05312.14
5.4.110.0150.05012.14
5.4.100.0130.05612.14
5.4.90.0220.05612.14
5.4.80.0160.08312.14
5.4.70.0160.09612.14
5.4.60.0210.07812.14
5.4.50.0170.07812.14
5.4.40.0120.07512.12
5.4.30.0110.07412.13
5.4.20.0130.07512.13
5.4.10.0120.07312.12
5.4.00.0160.10211.61
5.3.290.0060.03912.85
5.3.280.0220.06212.77
5.3.270.0240.08712.78
5.3.260.0160.08612.78
5.3.250.0120.07412.78
5.3.240.0180.08112.78
5.3.230.0230.06512.77
5.3.220.0130.08512.74
5.3.210.0150.07012.74
5.3.200.0110.05812.74
5.3.190.0080.04512.74
5.3.180.0110.08912.74
5.3.170.0270.14012.74
5.3.160.0300.10712.73
5.3.150.0160.07412.73
5.3.140.0090.05412.73
5.3.130.0080.05012.72
5.3.120.0070.03912.72
5.3.110.0080.06212.72
5.3.100.0060.04012.21
5.3.90.0040.04212.20
5.3.80.0090.03712.18
5.3.70.0080.04212.19
5.3.60.0030.04412.17
5.3.50.0070.04012.11
5.3.40.0070.03912.11
5.3.30.0090.03612.08
5.3.20.0170.05211.86
5.3.10.0150.06611.82
5.3.00.0120.05611.81
5.2.170.0050.0419.31
5.2.160.0060.0349.31
5.2.150.0070.0479.30
5.2.140.0090.0469.30
5.2.130.0070.0499.27
5.2.120.0120.0459.26
5.2.110.0200.0529.27
5.2.100.0090.0459.27
5.2.90.0190.0709.27
5.2.80.0100.0699.26
5.2.70.0120.0739.27
5.2.60.0060.0539.21
5.2.50.0110.0509.19
5.2.40.0130.0419.16
5.2.30.0110.0589.14
5.2.20.0170.0569.12
5.2.10.0100.0529.02
5.2.00.0120.0598.88
5.1.60.0120.0508.17
5.1.50.0110.0558.16
5.1.40.0220.0798.15
5.1.30.0120.0718.49
5.1.20.0110.0578.52
5.1.10.0120.0578.25
5.1.00.0150.0538.25
5.0.50.0130.0406.71
5.0.40.0040.0616.59
5.0.30.0090.0466.39
5.0.20.0050.0296.37
5.0.10.0100.0456.34
5.0.00.0110.0616.32
4.4.90.0030.0734.78
4.4.80.0030.0234.75
4.4.70.0020.0244.75
4.4.60.0030.0234.75
4.4.50.0040.0224.77
4.4.40.0090.0364.71
4.4.30.0070.0324.76
4.4.20.0070.0364.85
4.4.10.0120.0354.84
4.4.00.0030.0484.76
4.3.110.0090.0434.67
4.3.100.0120.0424.66
4.3.90.0090.0264.63
4.3.80.0040.0344.62
4.3.70.0080.0254.63
4.3.60.0150.0444.62
4.3.50.0070.0364.63
4.3.40.0060.0474.56
4.3.30.0000.0403.37
4.3.20.0170.0813.36
4.3.10.0060.0203.32
4.3.00.0030.02013.29

preferences:
37.55 ms | 401 KiB | 5 Q