3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date_create('2011-04-24')->modify('-1 days')->format('Y-m-d');

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)
8.4.10.0100.00319.57
8.3.140.0120.00618.82
8.3.130.0050.00318.46
8.3.120.0000.01018.63
8.3.110.0090.00616.75
8.3.100.0060.00324.06
8.3.90.0040.00726.77
8.3.80.0090.00018.56
8.3.70.0130.01018.43
8.3.60.0110.00922.78
8.3.50.0060.01119.63
8.3.40.0070.00718.82
8.3.30.0120.00318.60
8.3.20.0040.00420.21
8.3.10.0080.00021.85
8.3.00.0050.00826.60
8.2.260.0070.01118.15
8.2.250.0090.00918.29
8.2.240.0080.00018.94
8.2.230.0030.00620.94
8.2.220.0040.00437.54
8.2.210.0090.00926.77
8.2.200.0030.00616.88
8.2.190.0090.00616.58
8.2.180.0070.00725.92
8.2.170.0070.01419.09
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0050.00325.17
8.2.120.0050.00326.35
8.2.110.0050.00921.26
8.2.100.0130.00118.54
8.2.90.0080.00418.47
8.2.80.0040.00818.48
8.2.70.0070.00438.72
8.2.60.0090.00538.67
8.2.50.0090.00538.74
8.2.40.0080.00538.69
8.2.30.0100.00239.14
8.2.20.0070.00638.76
8.2.10.0110.00233.52
8.2.00.0060.00733.48
8.1.310.0030.00520.36
8.1.300.0080.00818.32
8.1.290.0080.00318.88
8.1.280.0030.01225.92
8.1.270.0000.00724.66
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0100.00221.28
8.1.230.0110.00219.83
8.1.220.0080.00218.30
8.1.210.0100.00119.43
8.1.200.0090.00438.34
8.1.190.0070.00538.36
8.1.180.0090.00438.60
8.1.170.0070.00638.59
8.1.160.0090.00438.99
8.1.150.0120.00139.61
8.1.140.0080.00633.63
8.1.130.0080.00533.52
8.1.120.0080.00526.71
8.1.110.0090.00526.71
8.1.100.0090.00626.70
8.1.90.0100.00526.76
8.1.80.0080.00726.73
8.1.70.0060.00725.60
8.1.60.0120.00424.70
8.1.50.0110.00524.68
8.1.40.0100.00724.70
8.1.30.0120.00623.03
8.1.20.0140.00622.58
8.1.10.0100.00520.68
8.1.00.0130.00421.90
8.0.300.0070.00519.03
8.0.290.0090.00537.96
8.0.280.0080.00438.61
8.0.270.0080.00538.04
8.0.260.0070.00732.82
8.0.250.0090.00526.53
8.0.240.0080.00626.26
8.0.230.0090.00526.24
8.0.220.0090.00526.16
8.0.210.0080.00626.16
8.0.200.0090.00425.06
8.0.190.0090.00524.19
8.0.180.0080.00724.12
8.0.170.0110.00424.16
8.0.160.0120.00422.32
8.0.150.0090.00621.88
8.0.140.0100.00421.23
8.0.130.0090.00521.00
8.0.120.0100.00521.29
8.0.110.0100.00420.97
8.0.100.0090.00520.99
8.0.90.0090.00520.53
8.0.80.0090.00420.55
8.0.70.0090.00420.51
8.0.60.0090.00520.52
8.0.50.0090.00520.53
8.0.30.0110.00519.69
8.0.20.0110.00619.55
8.0.10.0100.00520.02
8.0.00.0090.00519.91
7.4.330.0070.00524.04
7.4.320.0080.00525.81
7.4.300.0060.00623.02
7.4.290.0100.00622.47
7.4.280.0110.00421.96
7.4.270.0110.00320.88
7.4.260.0080.00620.65
7.4.250.0120.00420.86
7.4.240.0110.00420.60
7.4.230.0110.00420.14
7.4.220.0090.00420.18
7.4.210.0090.00419.98
7.4.200.0080.00420.20
7.4.190.0110.00320.43
7.4.180.0090.00520.44
7.4.160.0100.00519.42
7.4.150.0100.00619.41
7.4.140.0080.00719.23
7.4.130.0110.00519.22
7.4.120.0100.00618.96
7.4.110.0100.00619.02
7.4.100.0090.00719.02
7.4.90.0110.00618.84
7.4.80.0120.00518.91
7.4.70.0090.00718.83
7.4.60.0100.00718.85
7.4.50.0100.00618.74
7.4.40.0100.00718.77
7.4.30.0100.00618.79
7.4.20.0100.00818.81
7.4.10.0110.00618.75
7.4.00.0100.00718.64
7.3.330.0100.00520.46
7.3.320.0110.00520.38
7.3.310.0120.00320.34
7.3.300.0130.00320.07
7.3.290.0100.00419.89
7.3.280.0100.00618.60
7.3.270.0110.00519.18
7.3.260.0110.00519.05
7.3.250.0110.00618.88
7.3.240.0120.00618.97
7.3.230.0160.00518.82
7.3.220.0120.00618.93
7.3.210.0120.00718.65
7.3.200.0120.00618.70
7.3.190.0130.00518.63
7.3.180.0110.00718.67
7.3.170.0110.00618.66
7.3.160.0120.00518.66
7.3.150.0120.00618.67
7.3.140.0120.00618.67
7.3.130.0110.00618.61
7.3.120.0110.00618.59
7.3.110.0120.00618.43
7.3.100.0120.00618.44
7.3.90.0120.00518.25
7.3.80.0100.00818.03
7.3.70.0110.00718.06
7.3.60.0120.00517.92
7.3.50.0110.00617.82
7.3.40.0110.00717.91
7.3.30.0110.00717.93
7.3.20.0220.00718.51
7.3.10.0150.00718.35
7.3.00.0150.00618.35
7.2.340.0120.00719.11
7.2.330.0120.00718.81
7.2.320.0120.00718.82
7.2.310.0130.00618.88
7.2.300.0120.00718.87
7.2.290.0130.00618.83
7.2.280.0130.00618.84
7.2.270.0160.00618.83
7.2.260.0140.00618.73
7.2.250.0130.00618.73
7.2.240.0130.00618.65
7.2.230.0130.00718.63
7.2.220.0120.00718.27
7.2.210.0120.00718.22
7.2.200.0130.00718.23
7.2.190.0120.00718.03
7.2.180.0130.00718.07
7.2.170.0120.00718.08
7.2.160.0120.00618.09
7.2.150.0160.00718.73
7.2.140.0140.00818.73
7.2.130.0150.00718.73
7.2.120.0160.00718.42
7.2.110.0160.00718.39
7.2.100.0180.00718.36
7.2.90.0250.00818.24
7.2.80.0270.00718.21
7.2.70.0280.00818.30
7.2.60.0270.00718.24
7.2.50.0250.00718.27
7.2.40.0230.00718.32
7.2.30.0310.00718.25
7.2.20.0250.00818.27
7.2.10.0280.00818.36
7.2.00.0270.00718.31
7.1.330.0130.00618.46
7.1.320.0140.00618.04
7.1.310.0150.00717.93
7.1.300.0140.00717.76
7.1.290.0130.00617.73
7.1.280.0130.00617.75
7.1.270.0130.00717.72
7.1.260.0130.00717.72
7.1.250.0150.00617.57
7.1.240.0160.00717.42
7.1.230.0190.00717.35
7.1.220.0190.00717.35
7.1.210.0270.00717.21
7.1.200.0290.00717.25
7.1.190.0270.00617.23
7.1.180.0230.00617.21
7.1.170.0290.00717.25
7.1.160.0260.00817.22
7.1.150.0260.00717.24
7.1.140.0240.00717.22
7.1.130.0260.00717.23
7.1.120.0250.00617.19
7.1.110.0260.00717.21
7.1.100.0260.00617.19
7.1.90.0290.00717.18
7.1.80.0260.00617.26
7.1.70.0240.00617.10
7.1.60.0280.00618.89
7.1.50.0240.00718.90
7.1.40.0210.00718.88
7.1.30.0240.00718.84
7.1.20.0230.00718.81
7.1.10.0200.00717.17
7.1.00.0200.00617.13
7.0.330.0150.00717.19
7.0.320.0170.00717.04
7.0.310.0270.00616.87
7.0.300.0250.00616.85
7.0.290.0260.00616.82
7.0.280.0250.00616.85
7.0.270.0240.00716.85
7.0.260.0270.00716.85
7.0.250.0250.00616.93
7.0.240.0260.00716.96
7.0.230.0310.00716.94
7.0.220.0230.00616.88
7.0.210.0210.00716.88
7.0.200.0200.00716.90
7.0.190.0240.00716.89
7.0.180.0220.00716.87
7.0.170.0270.00716.91
7.0.160.0220.00616.84
7.0.150.0200.00616.81
7.0.140.0220.00716.83
7.0.130.0240.00616.87
7.0.120.0210.00716.89
7.0.110.0220.00616.90
7.0.100.0210.00716.89
7.0.90.0190.00716.80
7.0.80.0180.00616.80
7.0.70.0180.00716.76
7.0.60.0190.00716.82
7.0.50.0190.00616.83
7.0.40.0210.00616.89
7.0.30.0260.00716.87
7.0.20.0290.00616.82
7.0.10.0230.00716.87
7.0.00.0210.00716.82
5.6.400.0130.00718.42
5.6.390.0130.00717.38
5.6.380.0120.00817.07
5.6.370.0130.00718.09
5.6.360.0120.00718.07
5.6.350.0130.00718.11
5.6.340.0130.00718.08
5.6.330.0130.00718.14
5.6.320.0140.00618.08
5.6.310.0130.00718.07
5.6.300.0130.00818.06
5.6.290.0130.00718.13
5.6.280.0130.00618.08
5.6.270.0130.00718.15
5.6.260.0140.00618.13
5.6.250.0120.00818.06
5.6.240.0120.00818.10
5.6.230.0150.00718.16
5.6.220.0130.00618.18
5.6.210.0130.00818.16
5.6.200.0130.00718.21
5.6.190.0130.00718.22
5.6.180.0140.00618.16
5.6.170.0150.00518.21
5.6.160.0130.00618.20
5.6.150.0120.00718.22
5.6.140.0130.00718.21
5.6.130.0120.00618.25
5.6.120.0130.00818.23
5.6.110.0120.00618.16
5.6.100.0130.00618.14
5.6.90.0120.00718.13
5.6.80.0120.00718.07
5.6.70.0120.00618.17
5.6.60.0120.00618.13
5.6.50.0120.00718.06
5.6.40.0120.00618.08
5.6.30.0110.00718.09
5.6.20.0120.00718.04
5.6.10.0120.00718.04
5.6.00.0130.00618.03

preferences:
16.51 ms | 403 KiB | 5 Q