3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://mydomain.com/yep/2014-04-01/some-title'; $urlParts = explode('/', str_ireplace(array('http://', 'https://'), '', $url)); echo $urlParts[1];

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.5.10.0110.01116.59
8.5.00.0140.00719.90
8.4.150.0030.00014.05
8.4.140.0100.01117.55
8.4.130.0040.00517.43
8.4.120.0060.00222.46
8.4.110.0070.00920.24
8.4.100.0140.00717.71
8.4.90.0140.00417.68
8.4.80.0110.00819.45
8.4.70.0130.00719.39
8.4.60.0370.00917.60
8.4.50.0350.01117.44
8.4.40.0330.01517.24
8.4.30.0350.01517.39
8.4.20.0430.00717.12
8.4.10.0410.00817.70
8.3.280.0080.01219.95
8.3.270.0160.00516.26
8.3.260.0150.00516.68
8.3.250.0120.00718.98
8.3.240.0130.00516.56
8.3.230.0110.00516.64
8.3.220.0060.00216.50
8.3.210.0140.00616.38
8.3.200.0120.00716.54
8.3.190.0320.01116.38
8.3.180.0390.01216.14
8.3.170.0360.01116.53
8.3.160.0370.00916.14
8.3.150.0360.01116.20
8.3.140.0380.00916.21
8.3.130.0380.00516.33
8.3.120.0300.01216.53
8.3.110.0290.01316.14
8.3.100.0370.01016.14
8.3.90.0310.01616.55
8.3.80.0370.01016.38
8.3.70.0400.00716.14
8.3.60.0380.00716.14
8.3.50.0570.00616.29
8.3.40.0440.01017.39
8.3.30.0360.00217.52
8.3.20.0170.00617.40
8.3.10.0320.00717.49
8.3.00.0100.01317.48
8.2.290.0130.00620.80
8.2.280.0270.00616.17
8.2.270.0260.01116.38
8.2.260.0290.01116.26
8.2.250.0320.00716.66
8.2.240.0290.01016.40
8.2.230.0260.00816.52
8.2.220.0150.00416.61
8.2.210.0150.00216.39
8.2.200.0230.00716.31
8.2.190.0300.00816.32
8.2.180.0310.00816.77
8.2.170.0310.00817.80
8.2.160.0270.01017.75
8.2.150.0310.01317.37
8.2.140.0320.01017.28
8.2.130.0320.01017.73
8.2.120.0370.00517.54
8.2.110.0310.01017.45
8.2.100.0320.00817.58
8.2.90.0330.00817.43
8.2.80.0300.01017.59
8.2.70.0290.01017.29
8.2.60.0260.01017.59
8.2.50.0300.01317.32
8.2.40.0360.01117.64
8.2.30.0400.00917.28
8.2.20.0310.00717.48
8.2.10.0280.00617.45
8.2.00.0320.00717.52

preferences:
55.58 ms | 403 KiB | 5 Q