3v4l.org

run code in 300+ PHP versions simultaneously
<?php $incorrect = '1999-11-30'; $time = date('Y-m-d',strtotime('00-00-00 00:00:00')); var_dump($time === $incorrect); var_dump($strtotime($incorrent)); var_dump($strtotime('00-00-00'));

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.3.60.0090.00616.88
8.3.50.0100.01222.13
8.3.40.0110.00318.91
8.3.30.0040.01118.96
8.3.20.0050.00320.21
8.3.10.0050.00323.70
8.3.00.0040.00419.91
8.2.180.0120.00318.43
8.2.170.0040.01122.96
8.2.160.0030.01020.52
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00419.19
8.2.120.0030.00526.35
8.2.110.0060.00320.39
8.2.100.0040.00818.05
8.2.90.0050.00319.05
8.2.80.0030.00617.97
8.2.70.0000.00917.88
8.2.60.0040.00418.16
8.2.50.0060.00318.07
8.2.40.0030.00522.15
8.2.30.0040.00420.61
8.2.20.0000.00817.75
8.2.10.0060.00318.18
8.2.00.0000.00718.13
8.1.280.0100.00725.92
8.1.270.0070.00020.38
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0030.00622.20
8.1.230.0090.00317.64
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00017.50
8.1.190.0040.00417.38
8.1.180.0000.00818.10
8.1.170.0040.00418.65
8.1.160.0000.00820.74
8.1.150.0020.00518.80
8.1.140.0040.00419.49
8.1.130.0030.00317.62
8.1.120.0000.00717.60
8.1.110.0070.00317.59
8.1.100.0000.00817.64
8.1.90.0000.00817.57
8.1.80.0040.00417.61
8.1.70.0000.00717.45
8.1.60.0000.00817.58
8.1.50.0080.00017.65
8.1.40.0000.00717.69
8.1.30.0080.00017.81
8.1.20.0000.00717.82
8.1.10.0040.00417.68
8.1.00.0000.00817.55
8.0.300.0050.00218.77
8.0.290.0000.00716.88
8.0.280.0000.00718.50
8.0.270.0020.00517.31
8.0.260.0070.00017.26
8.0.250.0000.00717.13
8.0.240.0030.00317.11
8.0.230.0050.00317.13
8.0.220.0050.00217.13
8.0.210.0000.00717.15
8.0.200.0030.00317.04
8.0.190.0030.00517.20
8.0.180.0000.00717.14
8.0.170.0030.00717.13
8.0.160.0080.00017.08
8.0.150.0050.00317.13
8.0.140.0040.00417.04
8.0.130.0030.00513.44
8.0.120.0050.00317.02
8.0.110.0030.00617.03
8.0.100.0070.00017.15
8.0.90.0040.00416.90
8.0.80.0030.01317.06
8.0.70.0000.00717.05
8.0.60.0040.00417.14
8.0.50.0050.00216.93
8.0.30.0070.01117.17
8.0.20.0130.00917.40
8.0.10.0050.00317.20
8.0.00.0100.00916.95
7.4.330.0000.00516.67
7.4.320.0000.00616.64
7.4.300.0000.00816.64
7.4.290.0030.00316.55
7.4.280.0040.00416.53
7.4.270.0030.00316.59
7.4.260.0000.00716.73
7.4.250.0040.00416.50
7.4.240.0040.00416.76
7.4.230.0030.00316.66
7.4.220.0120.00616.61
7.4.210.0040.01116.75
7.4.200.0000.00816.53
7.4.160.0080.00816.69
7.4.150.0110.00717.40
7.4.140.0090.01117.86
7.4.130.0070.01016.65
7.4.120.0140.00616.72
7.4.110.0150.00916.72
7.4.100.0100.00716.80
7.4.90.0070.01016.98
7.4.80.0130.00319.39
7.4.70.0120.00416.86
7.4.60.0070.01116.66
7.4.50.0120.00316.63
7.4.40.0030.01316.80
7.4.30.0070.01316.59
7.4.00.0040.01414.82
7.3.330.0000.00613.35
7.3.320.0000.00613.29
7.3.310.0030.00316.59
7.3.300.0070.00016.45
7.3.290.0110.00516.48
7.3.280.0080.01216.43
7.3.270.0120.00617.40
7.3.260.0160.00816.52
7.3.250.0120.00716.50
7.3.240.0090.00916.55
7.3.230.0040.01216.60
7.3.210.0130.00316.61
7.3.200.0090.00616.67
7.3.190.0080.01016.48
7.3.180.0030.01216.33
7.3.170.0070.01016.73
7.3.160.0090.00816.54
7.2.330.0070.01116.86
7.2.320.0120.00916.54
7.2.310.0120.00616.77
7.2.300.0030.01816.71
7.2.290.0090.00816.73
7.2.60.0120.00016.98
7.2.00.0030.00719.53
7.1.200.0080.00015.70
7.1.100.0040.00718.03
7.1.70.0030.00617.22
7.1.60.0100.01619.44
7.1.50.0030.01317.05
7.1.00.0030.07722.35
7.0.200.0580.00614.95
7.0.80.0100.06719.89
7.0.70.0030.05719.93
7.0.60.0170.05320.06
7.0.50.0070.06020.31
7.0.40.0070.04720.07
7.0.30.0030.09720.13
7.0.20.0070.06020.01
7.0.10.0130.07320.10
7.0.00.0130.08320.10
5.6.280.0000.03321.09
5.6.230.0070.06320.63
5.6.220.0100.05720.64
5.6.210.0070.04720.43
5.6.200.0030.06020.99
5.6.190.0070.08720.95
5.6.180.0130.07720.99
5.6.170.0100.05020.93
5.6.160.0070.09021.07
5.6.150.0230.06721.13
5.6.140.0130.07021.07
5.6.130.0000.06321.09
5.6.120.0100.07321.10
5.6.110.0100.09021.00
5.6.100.0070.08021.05
5.6.90.0100.08020.89
5.6.80.0130.08020.49
5.6.70.0070.05020.45
5.6.60.0000.05320.35
5.6.50.0100.03720.39
5.6.40.0030.05020.38
5.6.30.0130.07020.36
5.6.20.0100.07020.38
5.6.10.0000.05020.43
5.6.00.0100.04320.44
5.5.370.0070.06720.39
5.5.360.0170.06320.37
5.5.350.0100.07020.32
5.5.340.0030.08320.62
5.5.330.0000.07320.80
5.5.320.0130.06320.73
5.5.310.0170.07020.91
5.5.300.0070.04720.80
5.5.290.0000.05020.63
5.5.280.0070.07720.81
5.5.270.0030.08320.71
5.5.260.0100.06320.89
5.5.250.0070.05720.67
5.5.240.0070.07720.25
5.5.230.0070.08020.24
5.5.220.0070.07720.28
5.5.210.0070.06020.27
5.5.200.0030.04720.23
5.5.190.0100.05320.21
5.5.180.0130.06720.21
5.5.160.0070.07320.21
5.5.150.0130.07320.18
5.5.140.0070.07320.13
5.5.130.0100.07720.23
5.5.120.0070.07020.23
5.5.110.0130.07320.14
5.5.100.0070.07020.16
5.5.90.0070.08020.14
5.5.80.0070.07320.14
5.5.70.0200.06720.03
5.5.60.0130.06020.11
5.5.50.0100.07320.11
5.5.40.0070.07720.07
5.5.30.0100.04020.00
5.5.20.0130.05720.03
5.5.10.0100.04320.05
5.5.00.0070.04720.04

preferences:
43.09 ms | 401 KiB | 5 Q