3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'www.pharmacys.com.ec'; var_dump(parse_url($url)); /*if (!filter_var($url, FILTER_VALIDATE_URL) === false) { echo("$url is a valid URL"); } else { echo("$url is not a valid URL"); }*/ ?>
based on ukYKB

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0030.01316.66
7.3.00.0090.00516.69
7.2.130.0140.00716.52
7.2.120.0030.01016.87
7.2.110.0070.00716.64
7.2.100.0090.00316.52
7.2.90.0110.00416.63
7.2.80.0060.00616.71
7.2.70.0070.00716.86
7.2.60.0030.01216.59
7.2.50.0070.00716.48
7.2.40.0030.01016.72
7.2.30.0040.00716.83
7.2.20.0080.00616.80
7.2.10.0040.00816.75
7.2.00.0060.00517.79
7.1.250.0040.01215.74
7.1.200.0030.00815.73
7.1.100.0030.00917.61
7.1.70.0000.00716.97
7.1.60.0040.01120.03
7.1.50.0120.00916.66
7.1.00.0070.07322.40
7.0.200.0030.00316.66
7.0.60.0030.06019.94
7.0.50.0100.03717.82
7.0.40.0070.06019.98
7.0.30.0070.05020.00
7.0.20.0370.07020.02
7.0.10.0130.08020.02
7.0.00.0000.04320.20
5.6.280.0000.07021.04
5.6.210.0030.06320.52
5.6.200.0070.06318.12
5.6.190.0200.06720.45
5.6.180.0500.06720.66
5.6.170.0230.04720.50
5.6.160.0100.08020.48
5.6.150.0130.07718.15
5.6.140.0030.05318.21
5.6.130.0100.08018.13
5.6.120.0070.08721.00
5.6.110.0100.07721.00
5.6.100.0100.08021.00
5.6.90.0200.07021.10
5.6.80.0070.04320.36
5.5.350.4330.03720.29
5.5.340.0030.08017.96
5.5.330.0070.07320.19
5.5.320.0200.06320.30
5.5.310.0330.04020.50
5.5.300.0100.06317.91
5.5.290.0100.04718.02
5.5.280.0070.05320.73
5.5.270.0100.06020.74
5.5.260.0130.07020.86
5.5.250.0100.08020.65
5.5.240.0030.07720.18
5.4.450.0670.04319.55
5.4.440.0530.05719.62
5.4.430.0530.05719.54
5.4.420.0570.05019.38
5.4.410.0530.05319.27
5.4.400.0570.05019.14
5.4.390.0670.04719.23
5.4.380.0530.05719.15
5.4.370.0400.05718.76
5.4.360.0470.05019.14
5.4.350.0470.06019.15
5.4.340.0530.05719.13
5.4.320.0470.06019.12
5.4.310.0530.04719.24
5.4.300.0600.06319.15
5.4.290.0570.06019.06
5.4.280.0530.05319.23
5.4.270.0670.06319.12
5.4.260.0570.06019.14
5.4.250.0430.05018.92
5.4.240.0530.05318.88
5.4.230.0570.04719.14
5.4.220.0670.04719.12
5.4.210.0600.04719.07
5.4.200.0500.05719.24
5.4.190.0570.05019.13
5.4.180.0400.05718.94
5.4.170.0630.05019.23
5.4.160.0500.04718.91
5.4.150.0530.05018.97
5.4.140.0570.05016.41
5.4.130.0530.05316.46
5.4.120.0570.06016.37
5.4.110.0430.06316.22
5.4.100.0400.05016.42
5.4.90.0470.05716.46
5.4.80.0500.04016.43
5.4.70.0330.03016.44
5.4.60.0170.04716.16
5.4.50.0230.06716.31
5.4.40.0270.04716.43
5.4.30.0030.06716.32
5.4.20.0170.03016.18
5.4.10.0230.06316.32
5.3.290.0300.07014.53
5.3.280.0300.07014.45
5.3.270.0170.07714.46
5.3.260.0230.07314.47
5.3.250.0300.06714.46
5.3.240.0230.06314.47
5.3.230.0270.06714.47
5.3.220.0300.04014.41
5.3.210.0200.05314.50
5.3.200.0130.04314.44
5.3.190.0270.05014.41
5.3.180.0170.04314.57