3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); error_reporting(E_ALL); $month99IsValid = is_int(strtotime('2010-99-01')); $month100IsValid = is_int(strtotime('2010-100-01')); var_dump($month99IsValid); var_dump($month100IsValid);

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.140.0030.00518.32
8.3.130.0000.00818.42
8.3.120.0090.00018.72
8.3.110.0030.00516.67
8.3.100.0030.00516.67
8.3.90.0050.00226.77
8.3.80.0090.00016.63
8.3.70.0140.00718.43
8.3.60.0150.00318.30
8.3.50.0040.01120.24
8.3.40.0070.00718.96
8.3.30.0040.01118.83
8.3.20.0050.00324.18
8.3.10.0000.00724.66
8.3.00.0000.00826.16
8.2.250.0080.00016.82
8.2.240.0030.00516.98
8.2.230.0130.00320.94
8.2.220.0090.00624.06
8.2.210.0040.00426.77
8.2.200.0100.00016.75
8.2.190.0150.00016.58
8.2.180.0120.00625.92
8.2.170.0140.00318.95
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00026.16
8.2.110.0040.00422.24
8.2.100.0120.00017.86
8.2.90.0080.00019.27
8.2.80.0000.00917.97
8.2.70.0050.00517.63
8.2.60.0060.00317.79
8.2.50.0060.00318.07
8.2.40.0080.00018.22
8.2.30.0030.00618.08
8.2.20.0000.00720.33
8.2.10.0040.00417.95
8.2.00.0030.00719.19
8.1.300.0030.00616.21
8.1.290.0030.00630.84
8.1.280.0140.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.00923.74
8.1.230.0040.00718.97
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0000.00817.35
8.1.180.0060.00318.10
8.1.170.0050.00318.71
8.1.160.0050.00218.91
8.1.150.0070.00018.73
8.1.140.0050.00317.61
8.1.130.0000.00717.55
8.1.120.0000.00817.60
8.1.110.0000.00817.49
8.1.100.0070.00317.46
8.1.90.0000.00717.50
8.1.80.0070.00017.57
8.1.70.0000.00917.53
8.1.60.0120.00617.48
8.1.50.0130.00417.48
8.1.40.0160.00317.60
8.1.30.0150.00317.54
8.1.20.0050.01517.61
8.1.10.0100.00717.56
8.1.00.0150.00417.50
8.0.300.0070.00018.77
8.0.290.0040.00417.18
8.0.280.0070.00018.46
8.0.270.0030.00317.01
8.0.260.0040.00416.95
8.0.250.0030.00317.12
8.0.240.0040.00417.08
8.0.230.0060.00317.12
8.0.220.0070.00017.03
8.0.210.0000.00716.96
8.0.200.0090.00617.06
8.0.190.0080.00817.05
8.0.180.0100.00516.93
8.0.170.0070.00717.02
8.0.160.0080.00816.99
8.0.150.0110.00516.96
8.0.140.0090.00616.99
8.0.130.0000.01816.98
8.0.120.0070.00716.98
8.0.110.0060.01017.00
8.0.100.0130.00316.90
8.0.90.0100.00516.90
8.0.80.0140.00217.00
8.0.70.0130.00216.88
8.0.60.0110.00416.90
8.0.50.0120.00416.87
8.0.30.0080.00816.86
8.0.20.0100.00517.06
8.0.10.0080.00816.98
7.4.330.0030.00315.55
7.4.320.0060.00016.66
7.4.300.0000.00716.67
7.4.290.0150.00016.46
7.4.280.0060.00916.66
7.4.270.0080.00816.67
7.4.260.0120.00416.65
7.4.250.0060.01016.59
7.4.240.0170.00016.54
7.4.230.0050.00516.62
7.4.220.0100.00316.55
7.4.210.0080.00416.54
7.4.200.0040.00916.46
7.4.190.0120.00316.55
7.4.180.0150.00016.57
7.4.160.0170.00016.45
7.4.150.0100.00316.58
7.4.140.0090.00416.42
7.4.130.0070.00616.45
7.4.120.0040.00916.47
7.4.110.0070.00616.44
7.4.100.0050.01016.57
7.4.90.0110.00416.43
7.4.80.0110.00416.38
7.4.70.0100.00516.46
7.4.60.0040.01216.55
7.4.50.0080.00416.31
7.4.40.0100.00316.28
7.4.30.0100.00516.50
7.4.20.0140.00016.51
7.4.10.0110.00416.44
7.4.00.0110.00316.56

preferences:
61.5 ms | 403 KiB | 5 Q