3v4l.org

run code in 500+ PHP versions simultaneously
<?php $time_start = new DateTime('2014-10-02'); echo $time_start->format('r') . "\n"; $time_start->modify('first day of this month'); echo $time_start->format('r') . "\n"; $time_start->setTimestamp(time()); echo $time_start->format('r') . "\n"; ?>

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.60.0000.01516.99
7.2.00.0060.00919.79
7.1.200.0030.00916.01
7.1.100.0040.00718.00
7.1.70.0000.00817.05
7.1.60.0070.00317.09
7.1.50.0110.00717.16
7.1.00.0070.07322.36
7.0.200.0160.00415.04
7.0.130.0200.06722.01
7.0.120.0170.05722.07
7.0.110.0100.05722.11
7.0.100.0000.06021.98
7.0.90.0130.06022.10
7.0.80.0100.05322.11
7.0.70.0100.05022.10
7.0.60.0100.05322.11
7.0.50.0070.05322.09
7.0.40.0100.05021.98
7.0.30.0100.06322.12
7.0.20.0100.05722.12
7.0.10.0100.06722.07
7.0.00.0100.05322.00
5.6.280.0270.06020.97
5.6.270.0170.07021.07
5.6.260.0070.06321.04
5.6.250.0100.05020.87
5.6.240.0100.06720.85
5.6.230.0130.06020.83
5.6.220.0070.05720.91
5.6.210.0170.05021.03
5.6.200.0030.06021.00
5.6.190.0000.06021.03
5.6.180.0030.08020.76
5.6.170.0170.06320.83
5.6.160.0070.06320.80
5.6.150.0100.06321.01
5.6.140.0100.05721.06
5.6.130.0070.05721.04
5.6.120.0070.06020.83
5.6.110.0030.06320.83
5.6.100.0170.05020.88
5.6.90.0030.06021.02
5.6.80.0130.06320.23
5.6.70.0170.04320.31
5.6.60.0070.05720.38
5.6.50.0130.04720.40
5.6.40.0030.05320.29
5.6.30.0100.05020.29
5.6.20.0070.05320.36
5.6.10.0070.06320.18
5.6.00.0070.05020.29

preferences:
57.97 ms | 689 KiB | 5 Q