3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(function_exists('date_default_timezone_set') { date_default_timezone_set('Europe/Brussels') } echo date('Y-m-d', time('now')); ?>

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.40.0180.04711.97
5.4.30.0130.04211.96
5.4.20.0130.04111.96
5.4.10.0240.05011.96
5.4.00.0120.04211.46
5.3.140.0160.04212.66
5.3.130.0150.04412.66
5.3.120.0260.06812.66
5.3.110.0160.04512.66
5.3.100.0180.04212.12
5.3.90.0140.04212.09
5.3.80.0190.06012.08
5.3.70.0140.04312.08
5.3.60.0120.04512.07
5.3.50.0240.06412.00
5.3.40.0150.04312.00
5.3.30.0110.04211.94
5.3.20.0170.05711.72
5.3.10.0220.06311.68
5.3.00.0130.04111.66

preferences:
140.91 ms | 1394 KiB | 7 Q