3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://login.some.site/a/b/c?redir=ef"; echo parse_url($url, PHP_URL_SCHEME) + echo parse_url($url, PHP_URL_HOST);

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.390.1000.05718.45
5.4.380.1000.05018.68
5.4.370.0900.05318.79
5.4.360.0970.04718.77
5.4.350.0830.06018.66
5.4.340.0930.05018.76
5.4.320.0900.05718.73
5.4.310.0900.05718.74
5.4.300.1100.04718.56
5.4.290.0800.05018.56
5.4.280.0970.06318.72
5.4.270.1000.05718.77
5.4.260.0730.06018.58
5.4.250.0930.04318.54
5.4.240.0770.05718.51
5.4.230.0730.05318.48
5.4.220.0770.06718.75
5.4.210.0970.04018.68
5.4.200.0770.04716.80
5.4.190.0830.06018.55
5.4.180.0930.05318.58
5.4.170.0970.05718.54
5.4.160.0900.05318.73
5.4.150.0800.06318.70
5.4.140.0800.06716.21
5.4.130.0870.05016.43
5.4.120.0930.06016.24
5.4.110.0970.04716.29
5.4.100.0900.07316.20
5.4.90.1030.07316.43
5.4.80.0800.05316.31
5.4.70.0700.06016.29
5.4.60.0800.06316.18
5.4.50.0700.05316.26
5.4.40.0930.04716.16
5.4.30.0970.05716.19
5.4.20.0870.05316.19
5.4.10.0630.05316.38
5.4.00.0930.04315.73
5.3.290.0870.06014.65
5.3.280.0630.06314.57
5.3.270.0670.06014.70
5.3.260.1030.06014.53
5.3.250.0730.07014.66
5.3.240.0870.07314.59
5.3.230.0830.07014.70
5.3.220.0770.05714.48
5.3.210.0870.06714.50
5.3.200.0900.07714.48
5.3.190.0830.06014.50
5.3.180.0630.07014.54
5.3.170.0670.06714.54
5.3.160.0830.05714.54
5.3.150.1100.08014.54
5.3.140.1170.06314.47
5.3.130.0700.06714.62
5.3.120.0830.06014.44
5.3.110.0900.04714.64
5.3.100.0870.06013.97
5.3.90.0830.05313.93
5.3.80.0900.04714.10
5.3.70.0970.05013.96
5.3.60.0800.05714.00
5.3.50.1200.04713.94
5.3.40.0830.05014.04
5.3.30.0900.06713.82
5.3.20.0730.05313.61
5.3.10.0830.04713.64
5.3.00.0900.05013.65
5.2.170.0630.04011.18
5.2.160.0830.04311.18
5.2.150.0730.06311.19
5.2.140.0730.05711.10
5.2.130.0570.04311.14
5.2.120.0830.04011.15
5.2.110.0670.04311.14
5.2.100.0870.03711.15
5.2.90.0630.04011.04
5.2.80.0770.06011.07
5.2.70.0730.04311.14
5.2.60.0600.04311.08
5.2.50.0700.04310.98
5.2.40.0670.04010.96
5.2.30.0500.04710.96
5.2.20.0500.04011.02
5.2.10.0530.04010.93
5.2.00.0600.04310.81
5.1.60.0470.04310.13
5.1.50.0500.03710.13
5.1.40.0400.03310.04
5.1.30.0570.03710.38
5.1.20.0600.03710.46
5.1.10.0370.04310.11
5.1.00.0800.03710.13
5.0.50.0330.0308.60
5.0.40.0330.0308.43
5.0.30.0270.0478.29
5.0.20.0200.0278.20
5.0.10.0330.0278.25
5.0.00.0270.0578.36
4.4.90.0300.0205.88
4.4.80.0400.0235.90
4.4.70.0300.0235.91
4.4.60.0300.0235.91
4.4.50.0370.0275.91
4.4.40.0230.0335.90
4.4.30.0170.0275.86
4.4.20.0300.0205.94
4.4.10.0170.0205.92
4.4.00.0300.0335.86
4.3.110.0370.0275.76
4.3.100.0170.0305.80
4.3.90.0230.0235.84
4.3.80.0270.0375.89
4.3.70.0230.0235.82
4.3.60.0300.0235.82
4.3.50.0230.0275.90
4.3.40.0330.0305.77
4.3.30.0130.0274.56
4.3.20.0170.0204.57
4.3.10.0200.0304.52
4.3.00.0030.0238.69

preferences:
142.73 ms | 1398 KiB | 7 Q