3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = datefmt_create( "pl_PL" ,IntlDateFormatter::FULL,IntlDateFormatter::FULL,'America/Los_Angeles',IntlDateFormatter::GREGORIAN ); echo .datefmt_format( $fmt , 0); $fmt = datefmt_create( "pl_PL" ,IntlDateFormatter::FULL,IntlDateFormatter::FULL,'America/Los_Angeles',IntlDateFormatter::GREGORIAN ,"MM/dd/yyyy"); echo " | pattern: ".datefmt_format( $fmt , 0); ?>

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)
7.0.20.0330.09020.08
7.0.10.0030.08320.13
7.0.00.0100.08020.15
5.6.170.0230.07320.47
5.6.160.0070.08020.62
5.6.150.0170.07018.27
5.6.140.0130.06318.23
5.6.130.0200.07318.14
5.6.120.0030.05320.98
5.6.110.0170.07320.89
5.6.100.0130.07021.12
5.6.90.0100.07721.01
5.6.80.0170.06720.50
5.5.310.0230.07320.27
5.5.300.0030.08318.07
5.5.290.0100.07318.03
5.5.280.0100.06720.76
5.5.270.0030.06320.87
5.5.260.0330.07020.72
5.5.250.0030.04020.58
5.5.240.0230.04720.26

preferences:
134.24 ms | 1398 KiB | 7 Q