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)
5.4.280.0150.04012.36
5.4.270.0080.04112.36
5.4.260.0050.04712.36
5.4.250.0110.05212.36
5.4.240.0070.05312.36
5.4.230.0150.06412.36
5.4.220.0110.06112.35
5.4.210.0110.05712.35
5.4.200.0070.05212.36
5.4.190.0100.05312.35
5.4.180.0080.04912.35
5.4.170.0050.04012.36
5.4.160.0120.04712.36
5.4.150.0090.04512.35
5.4.140.0120.05112.04
5.4.130.0150.07712.02
5.4.120.0120.06311.99
5.4.110.0060.05511.98
5.4.100.0080.05011.98
5.4.90.0110.06511.98
5.4.80.0150.08711.98
5.4.70.0200.11011.98
5.4.60.0240.09711.98
5.4.50.0150.09711.98
5.4.40.0120.04711.97
5.4.30.0160.05911.96
5.4.20.0090.05611.96
5.4.10.0100.07211.97
5.4.00.0140.07111.46
5.3.280.0180.07612.71
5.3.270.0060.05912.72
5.3.260.0050.05812.72
5.3.250.0220.05112.72
5.3.240.0100.07812.72
5.3.230.0100.05212.71
5.3.220.0060.07112.68
5.3.210.0070.05412.68
5.3.200.0150.04912.68
5.3.190.0140.07512.68
5.3.180.0150.05712.68
5.3.170.0110.06312.67
5.3.160.0240.07612.67
5.3.150.0180.08812.68
5.3.140.0150.07712.66
5.3.130.0110.05312.66
5.3.120.0140.05112.66
5.3.110.0090.05212.66
5.3.100.0070.05012.12
5.3.90.0110.04912.08
5.3.80.0090.04212.07
5.3.70.0130.06312.07
5.3.60.0130.07912.07
5.3.50.0160.08012.00
5.3.40.0170.08912.00
5.3.30.0150.06511.94
5.3.20.0150.04911.70
5.3.10.0080.05011.67
5.3.00.0060.05511.66
5.2.170.0090.0449.15
5.2.160.0140.0529.15
5.2.150.0110.0429.15
5.2.140.0090.0439.15
5.2.130.0080.0539.11
5.2.120.0060.0449.12
5.2.110.0040.0449.12
5.2.100.0110.0339.12
5.2.90.0100.0389.11
5.2.80.0120.0419.11
5.2.70.0150.0539.11
5.2.60.0100.0429.07
5.2.50.0100.0389.04
5.2.40.0110.0419.01
5.2.30.0120.0608.99
5.2.20.0070.0438.97
5.2.10.0120.0378.91
5.2.00.0150.0598.76
5.1.60.0160.0608.05
5.1.50.0020.0378.04
5.1.40.0110.0418.04
5.1.30.0090.0308.38
5.1.20.0130.0508.40
5.1.10.0100.0458.13
5.1.00.0050.0448.13
5.0.50.0070.0276.60
5.0.40.0090.0436.46
5.0.30.0230.0576.27
5.0.20.0050.0236.24
5.0.10.0080.0246.22
5.0.00.0050.0786.21
4.4.90.0030.0194.77
4.4.80.0060.0244.75
4.4.70.0120.0334.75
4.4.60.0070.0264.76
4.4.50.0130.0244.77
4.4.40.0050.0464.71
4.4.30.0040.0184.76
4.4.20.0020.0214.84
4.4.10.0030.0184.85
4.4.00.0060.0274.76
4.3.110.0050.0144.67
4.3.100.0030.0164.66
4.3.90.0060.0184.63
4.3.80.0050.0294.58
4.3.70.0020.0214.63
4.3.60.0100.0334.63
4.3.50.0100.0404.62
4.3.40.0030.0324.54
4.3.30.0020.0343.27
4.3.20.0130.0463.26
4.3.10.0030.0173.22
4.3.00.0000.0237.57

preferences:
148.51 ms | 1394 KiB | 7 Q