3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Wednesday, November 11'; $time = strtotime( $string ); echo time() . "\r\n"; echo date( 'Y-m-d h:i A', $time );

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.2.00.0060.00619.70
7.1.70.0040.00417.47
7.1.60.0040.00717.41
7.1.00.0030.07722.36
7.0.200.1500.01014.89
7.0.130.0100.05021.96
7.0.120.0100.06722.02
7.0.110.0130.07022.04
7.0.100.0070.05722.07
7.0.90.0070.05722.11
7.0.80.0000.06722.19
7.0.70.0070.05722.06
7.0.60.0030.06322.04
7.0.50.0130.05722.05
7.0.40.0100.05322.00
7.0.30.0030.06721.98
7.0.20.0070.06021.98
7.0.10.0100.05322.05
7.0.00.0100.05722.19
5.6.280.0130.04721.13
5.6.270.0000.07320.97
5.6.260.0070.05721.13
5.6.250.0030.06020.79
5.6.240.0130.05020.75
5.6.230.0100.05720.82
5.6.220.0070.06020.82
5.6.210.0170.04720.95
5.6.200.0130.05721.00
5.6.190.0030.06321.03
5.6.180.0070.06021.00
5.6.170.0100.06720.94
5.6.160.0170.04721.08
5.6.150.0100.05721.08
5.6.140.0030.08021.01
5.6.130.0100.05720.88
5.6.120.0100.06720.84
5.6.110.0130.05320.98
5.6.100.0170.05720.85
5.6.90.0100.06720.95
5.6.80.0130.05320.41
5.6.70.0170.04320.23
5.6.60.0130.05720.37
5.6.50.0070.06320.32
5.6.40.0030.05720.38
5.6.30.0100.07320.20
5.6.20.0130.05720.10
5.6.10.0130.06020.43
5.6.00.0070.07020.27

preferences:
35.24 ms | 400 KiB | 5 Q