3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = new DateTime('first Monday of May '. $date("Y"); echo $dt->format('d M');

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.270.0170.04718.95
5.4.260.0130.05318.79
5.4.250.0130.05318.83
5.4.240.0030.05718.75
5.4.230.0030.05718.99
5.4.220.0170.06018.96
5.4.210.0030.07718.94
5.4.200.0070.06318.79
5.4.190.0200.06318.76
5.4.180.0200.05018.77
5.4.170.0170.06318.98
5.4.160.0170.05018.95
5.4.150.0070.08318.73
5.4.140.0100.05716.55
5.4.130.0100.06316.38
5.4.120.0030.06716.55
5.4.110.0030.06016.39
5.4.100.0130.06316.64
5.4.90.0200.05716.41
5.4.80.0070.07316.63
5.4.70.0130.06316.60
5.4.60.0100.07316.36
5.4.50.0100.05716.45
5.4.40.0130.04316.55
5.4.30.0070.05016.52
5.4.20.0200.06316.52
5.4.10.0170.05316.38
5.4.00.0130.04715.83
5.3.280.0270.06014.61
5.3.270.0300.05714.47
5.3.260.0100.07314.76
5.3.250.0130.05314.45
5.3.240.0030.07714.38
5.3.230.0170.05714.64
5.3.220.0070.05714.27
5.3.210.0170.05314.72
5.3.200.0200.03714.41
5.3.190.0170.05714.48
5.3.180.0070.06714.45
5.3.170.0100.05014.40
5.3.160.0030.05314.59
5.3.150.0070.06714.45
5.3.140.0230.04014.57
5.3.130.0130.05014.57
5.3.120.0100.07714.44
5.3.110.0070.05714.39
5.3.100.0170.05714.05
5.3.90.0170.07013.72
5.3.80.0230.04014.11
5.3.70.0170.06313.86
5.3.60.0100.05313.84
5.3.50.0030.05313.82
5.3.40.0070.06713.97
5.3.30.0030.05313.92
5.3.20.0100.04713.84
5.3.10.0070.07313.66
5.3.00.0130.04713.52
5.2.170.0000.05011.30
5.2.160.0100.05011.06
5.2.150.0030.06011.06
5.2.140.0100.03711.14
5.2.130.0100.04311.04
5.2.120.0030.04311.02
5.2.110.0100.04311.11
5.2.100.0000.04311.25
5.2.90.0100.04011.01
5.2.80.0100.05311.15
5.2.70.0130.04011.01
5.2.60.0100.05711.05
5.2.50.0070.05710.91
5.2.40.0130.04311.09
5.2.30.0070.04010.80
5.2.20.0130.04311.11
5.2.10.0100.03710.76
5.2.00.0070.04010.88
5.1.60.0100.05010.09
5.1.50.0030.0409.92
5.1.40.0030.03710.13
5.1.30.0100.04310.25
5.1.20.0030.04010.41
5.1.10.0030.03710.00
5.1.00.0130.05010.23
5.0.50.0000.0308.57
5.0.40.0130.0208.33
5.0.30.0070.0408.14
5.0.20.0130.0278.34
5.0.10.0030.0278.23
5.0.00.0100.0508.23
4.4.90.0030.0306.61
4.4.80.0030.0276.61
4.4.70.0030.0206.61
4.4.60.0030.0206.61
4.4.50.0030.0276.61
4.4.40.0100.0406.61
4.4.30.0070.0276.61
4.4.20.0070.0206.61
4.4.10.0030.0336.61
4.4.00.0030.0376.61
4.3.110.0100.0176.61
4.3.100.0030.0206.61
4.3.90.0000.0236.61
4.3.80.0070.0406.61
4.3.70.0030.0276.61
4.3.60.0070.0176.61
4.3.50.0100.0206.61
4.3.40.0030.0476.61
4.3.30.0070.0206.61
4.3.20.0030.0236.61
4.3.10.0030.0206.61
4.3.00.0130.0306.41

preferences:
141.41 ms | 1394 KiB | 7 Q