3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tomorrow = mktime(0,0,0,date("m"),date("d")+1,date("Y")); $yesterday = mktime(0,0,0,date("m"),date("d")-1,date("y")); echo "Tomorrow is ".date("Y/jS/d", $tomorrow); echo "yesterday is ".date("d-m-y A",$yesterday 'a'); ?>

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.170.0190.05412.37
5.4.160.0130.04012.36
5.4.150.0110.04212.36
5.4.140.0120.04012.05
5.4.130.0120.04112.03
5.4.120.0140.06012.00
5.4.110.0120.04111.99
5.4.100.0110.04511.99
5.4.90.0130.04012.00
5.4.80.0120.04212.00
5.4.70.0110.04311.99
5.4.60.0120.04011.99
5.4.50.0150.03711.99
5.4.40.0150.05611.98
5.4.30.0120.03911.98
5.4.20.0130.03811.97
5.4.10.0120.03911.98
5.4.00.0130.04311.47
5.3.260.0160.06012.72
5.3.250.0070.04312.72
5.3.240.0110.04312.72
5.3.230.0110.04412.71
5.3.220.0130.04512.68
5.3.210.0150.04212.68
5.3.200.0130.04412.68
5.3.190.0100.04812.68
5.3.180.0100.04412.67
5.3.170.0110.04412.67
5.3.160.0120.04112.67
5.3.150.0150.05912.67
5.3.140.0120.04212.66
5.3.130.0110.04312.66
5.3.120.0100.04512.66
5.3.110.0120.04412.66
5.3.100.0110.04212.12
5.3.90.0140.04212.08
5.3.80.0210.05412.08
5.3.70.0130.04212.08
5.3.60.0110.04312.06
5.3.50.0130.04212.00
5.3.40.0160.05812.00
5.3.30.0130.04411.95
5.3.20.0140.03911.72
5.3.10.0130.04211.68
5.3.00.0120.03911.66
5.2.170.0100.0349.17
5.2.160.0160.0469.17
5.2.150.0090.0349.17
5.2.140.0120.0329.17
5.2.130.0090.0389.13
5.2.120.0100.0339.13
5.2.110.0110.0339.13
5.2.100.0120.0319.13
5.2.90.0090.0349.13
5.2.80.0150.0489.12
5.2.70.0140.0429.12
5.2.60.0110.0329.08
5.2.50.0090.0379.05
5.2.40.0110.0379.02
5.2.30.0110.0329.00
5.2.20.0090.0328.99
5.2.10.0130.0308.91
5.2.00.0160.0458.77
5.1.60.0110.0248.06
5.1.50.0090.0278.06
5.1.40.0080.0278.04
5.1.30.0180.0418.39
5.1.20.0120.0278.42
5.1.10.0100.0298.14
5.1.00.0100.0298.14
5.0.50.0070.0236.61
5.0.40.0050.0236.47
5.0.30.0090.0516.29
5.0.20.0070.0236.26
5.0.10.0060.0256.24
5.0.00.0090.0426.23
4.4.90.0060.0184.78
4.4.80.0040.0194.75
4.4.70.0070.0164.76
4.4.60.0060.0174.75
4.4.50.0070.0164.77
4.4.40.0070.0274.71
4.4.30.0060.0184.76
4.4.20.0090.0334.84
4.4.10.0050.0184.85
4.4.00.0060.0274.76
4.3.110.0070.0154.67
4.3.100.0060.0164.67
4.3.90.0060.0154.63
4.3.80.0050.0264.58
4.3.70.0050.0164.63
4.3.60.0070.0154.63
4.3.50.0050.0174.63
4.3.40.0060.0274.53
4.3.30.0050.0163.30
4.3.20.0030.0183.28
4.3.10.0020.0193.25
4.3.00.0130.0178.15

preferences:
144.5 ms | 1394 KiB | 7 Q