3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = strtotime('0000-02-20 00:00:00'); print $timestamp . "\n"; $date_time = date_create('@' . $timestamp); print_r($date_time); $timestamp = strtotime('0001-02-20 00:00:00'); print $timestamp . "\n"; $date_time = date_create('@' . $timestamp); print_r($date_time);

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.0030.01616.48
8.3.50.0070.00717.99
8.3.40.0110.00419.00
8.3.30.0060.01018.79
8.3.20.0040.00420.57
8.3.10.0110.00721.73
8.3.00.0040.00422.40
8.2.180.0100.01018.54
8.2.170.0040.01122.96
8.2.160.0110.00320.35
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0060.01120.29
8.2.100.0070.00417.84
8.2.90.0060.00317.88
8.2.80.0000.00818.03
8.2.70.0030.00518.02
8.2.60.0030.00518.05
8.2.50.0080.00018.10
8.2.40.0040.00419.48
8.2.30.0000.00719.20
8.2.20.0030.00517.98
8.2.10.0000.00719.23
8.2.00.0040.00419.22
8.1.280.0130.00325.92
8.1.270.0040.00422.23
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00323.92
8.1.230.0090.00321.04
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00617.61
8.1.190.0040.00417.35
8.1.180.0030.00618.10
8.1.170.0040.00418.69
8.1.160.0040.00418.94
8.1.150.0040.00418.91
8.1.140.0070.00020.92
8.1.130.0030.00320.00
8.1.120.0000.00717.51
8.1.110.0050.00317.45
8.1.100.0000.00817.55
8.1.90.0080.00017.49
8.1.80.0030.00317.45
8.1.70.0040.00417.61
8.1.60.0040.00417.46
8.1.50.0040.00417.50
8.1.40.0050.00317.58
8.1.30.0060.00317.70
8.1.20.0000.00817.55
8.1.10.0050.00217.59
8.1.00.0040.00917.69
8.0.300.0040.00419.89
8.0.290.0050.00317.00
8.0.280.0070.00018.46
8.0.270.0030.00617.19
8.0.260.0000.00620.07
8.0.250.0000.00717.12
8.0.240.0040.00417.14
8.0.230.0040.00417.05
8.0.220.0040.00417.10
8.0.210.0000.00716.98
8.0.200.0000.00717.15
8.0.190.0040.00417.07
8.0.180.0040.00416.96
8.0.170.0060.00316.99
8.0.160.0040.00417.05
8.0.150.0000.00817.07
8.0.140.0080.00017.04
8.0.130.0030.00313.43
8.0.120.0070.00016.98
8.0.110.0040.00316.91
8.0.100.0040.00416.94
8.0.90.0000.00817.12
8.0.80.0050.00817.09
8.0.70.0050.00316.91
8.0.60.0000.00717.01
8.0.50.0000.00717.07
8.0.30.0100.00717.18
8.0.20.0090.00917.22
8.0.10.0000.00717.09
8.0.00.0130.01316.93
7.4.330.0000.00516.79
7.4.320.0070.00016.49
7.4.300.0060.00016.59
7.4.290.0000.00716.61
7.4.280.0050.00316.64
7.4.270.0000.00716.71
7.4.260.0000.00613.32
7.4.250.0030.00316.38
7.4.240.0020.00516.60
7.4.230.0000.00716.76
7.4.220.0030.00316.43
7.4.210.0050.00916.69
7.4.200.0030.00316.69
7.4.140.0000.01917.86
7.4.130.0070.01116.64
7.4.120.0070.01316.69
7.4.110.0150.00616.46
7.4.100.0070.01116.61
7.4.90.0040.01416.63
7.4.80.0030.01819.39
7.4.70.0040.01216.56
7.4.60.0130.00316.67
7.4.50.0070.01116.59
7.4.40.0140.00316.45
7.4.00.0030.01015.23
7.3.330.0050.00216.33
7.3.320.0050.00013.07
7.3.310.0030.00316.15
7.3.300.0000.00716.35
7.3.290.0000.00716.23
7.3.260.0110.00916.54
7.3.240.0110.00816.46
7.3.230.0090.00816.36
7.3.210.0110.00716.61
7.3.200.0080.00816.30
7.3.190.0110.00716.45
7.3.180.0110.00616.54
7.3.170.0090.01116.54
7.3.160.0090.00616.59
7.3.90.0100.00315.13
7.3.80.0030.01314.52
7.3.70.0130.00015.01
7.3.60.0080.00414.52
7.3.50.0070.00714.91
7.3.40.0040.01214.65
7.3.30.0050.00814.63
7.3.20.0110.00814.82
7.3.10.0070.00714.70
7.3.00.0060.00815.04
7.2.330.0120.00917.00
7.2.320.0100.00916.75
7.2.310.0110.00616.70
7.2.300.0060.01217.02
7.2.290.0070.01016.55
7.2.220.0030.01015.27
7.2.210.0000.01415.13
7.2.200.0060.00715.26
7.2.190.0030.01015.20
7.2.180.0070.00715.03
7.2.170.0090.00515.23
7.2.160.0140.00015.11
7.2.150.0090.00615.16
7.2.140.0070.01015.37
7.2.130.0100.00615.46
7.2.120.0110.00415.29
7.2.110.0060.01015.28
7.2.100.0090.00915.35
7.2.90.0090.00614.95
7.2.80.0100.00615.23
7.2.70.0110.00515.36
7.2.60.0060.00915.12
7.2.50.0090.01315.39
7.2.40.0080.00815.29
7.2.30.0060.01115.00
7.2.20.0060.01215.14
7.2.10.0030.01315.32
7.2.00.0060.00915.28
7.1.320.0070.01014.06
7.1.310.0030.01314.00
7.1.300.0060.00914.02
7.1.290.0070.00714.07
7.1.280.0120.00413.98
7.1.270.0030.01114.01
7.1.260.0070.00713.70
7.1.250.0050.00914.07

preferences:
54.12 ms | 400 KiB | 5 Q