3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = date('d/m/Y', strtotime("+1 day", strtotime(date('d/m/Y', strtotime('01-02-2017'))))); $b = date('d/m/Y', strtotime("+1 day", strtotime(date('d/m/Y', strtotime('02-02-2017'))))); var_dump($a,$b); if($a < $b){ echo "maior"; }else{ echo "else"; }

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.63
8.3.50.0060.01216.61
8.3.40.0150.00618.88
8.3.30.0070.00718.74
8.3.20.0070.00021.91
8.3.10.0050.00223.66
8.3.00.0040.00418.03
8.2.180.0120.00316.50
8.2.170.0150.00622.96
8.2.160.0100.00319.41
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00720.46
8.2.120.0070.00026.35
8.2.110.0070.00322.38
8.2.100.0070.00617.79
8.2.90.0000.00818.05
8.2.80.0040.00417.97
8.2.70.0050.00318.05
8.2.60.0000.00818.16
8.2.50.0000.00818.10
8.2.40.0050.00320.55
8.2.30.0040.00419.43
8.2.20.0000.00818.23
8.2.10.0000.00918.24
8.2.00.0070.00018.10
8.1.280.0100.01025.92
8.1.270.0060.00320.64
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0050.00520.87
8.1.230.0080.00419.15
8.1.220.0060.00317.74
8.1.210.0050.00518.77
8.1.200.0090.00017.61
8.1.190.0000.00817.47
8.1.180.0080.00018.10
8.1.170.0000.00818.83
8.1.160.0080.00019.07
8.1.150.0000.00722.17
8.1.140.0060.00319.68
8.1.130.0000.00719.04
8.1.120.0040.00417.73
8.1.110.0040.00417.67
8.1.100.0070.00017.63
8.1.90.0070.00017.75
8.1.80.0030.01017.76
8.1.70.0050.00317.54
8.1.60.0000.00717.78
8.1.50.0040.00417.77
8.1.40.0040.00417.70
8.1.30.0040.00417.81
8.1.20.0080.00017.85
8.1.10.0070.00017.65
8.1.00.0030.00617.69
8.0.300.0040.00419.90
8.0.290.0040.00416.88
8.0.280.0000.00718.71
8.0.270.0040.00417.28
8.0.260.0050.00216.95
8.0.250.0030.00317.18
8.0.240.0040.00417.08
8.0.230.0030.00517.19
8.0.220.0090.00017.08
8.0.210.0070.00017.11
8.0.200.0000.00817.09
8.0.190.0040.00417.20
8.0.180.0000.00717.12
8.0.170.0000.00717.23
8.0.160.0040.00417.24
8.0.150.0050.00316.98
8.0.140.0030.00317.00
8.0.130.0090.00013.49
8.0.120.0020.00517.12
8.0.110.0000.00817.07
8.0.100.0040.00416.95
8.0.90.0070.00017.05
8.0.80.0070.00717.09
8.0.70.0040.00417.12
8.0.60.0000.00717.17
8.0.50.0040.00417.19
8.0.30.0070.01017.14
8.0.20.0100.00817.49
8.0.10.0040.00417.15
8.0.00.0120.00917.13
7.4.330.0050.00015.55
7.4.320.0030.00316.73
7.4.300.0000.00716.79
7.4.290.0030.00616.69
7.4.280.0060.00316.71
7.4.270.0040.00416.69
7.4.260.0000.00716.68
7.4.250.0040.00416.62
7.4.240.0070.00016.82
7.4.230.0070.00016.62
7.4.220.0130.01316.75
7.4.210.0070.00716.73
7.4.200.0030.00316.64
7.4.160.0090.00616.66
7.4.150.0120.00617.40
7.4.140.0170.00517.86
7.4.130.0120.00616.66
7.4.120.0110.00916.72
7.4.110.0060.01216.68
7.4.100.0130.00916.75
7.4.90.0140.00316.60
7.4.80.0090.00919.39
7.4.70.0070.01016.62
7.4.60.0060.01916.69
7.4.50.0040.01016.62
7.4.40.0100.01016.68
7.4.30.0140.00316.65
7.4.00.0070.01015.01
7.3.330.0000.00613.29
7.3.320.0050.00013.32
7.3.310.0000.00616.39
7.3.300.0040.00416.43
7.3.290.0050.01216.39
7.3.280.0080.01016.37
7.3.270.0060.01317.40
7.3.260.0110.00916.54
7.3.250.0080.01116.60
7.3.240.0030.01516.44
7.3.230.0070.01016.54
7.3.210.0100.00616.61
7.3.200.0120.00916.52
7.3.190.0090.01516.74
7.3.180.0100.00716.63
7.3.170.0140.00316.59
7.3.160.0070.01316.54
7.3.120.0090.00915.28
7.3.110.0070.01015.00
7.3.100.0070.00715.15
7.3.90.0030.01415.05
7.3.80.0000.01415.00
7.3.70.0030.01014.99
7.3.60.0000.01315.02
7.3.50.0130.00014.93
7.3.40.0000.01415.04
7.3.30.0040.00414.73
7.3.20.0040.01116.62
7.3.10.0070.00716.83
7.3.00.0100.00316.95
7.2.330.0070.01016.96
7.2.320.0090.00916.79
7.2.310.0100.00716.73
7.2.300.0110.00516.77
7.2.290.0030.02016.77
7.2.250.0030.01015.16
7.2.240.0090.00915.00
7.2.230.0060.00915.52
7.2.220.0110.00715.24
7.2.210.0080.00614.95
7.2.200.0000.01415.16
7.2.190.0040.01115.28
7.2.180.0000.01314.79
7.2.170.0030.01215.30
7.2.60.0060.01116.95
7.2.50.0090.00616.83
7.1.330.0100.00315.83
7.1.320.0070.00715.77
7.1.310.0000.01516.09
7.1.300.0000.01015.69
7.1.290.0030.00616.06
7.1.280.0000.00915.88
7.1.270.0030.00616.04
7.1.260.0060.00915.99
7.1.200.0100.00016.11
7.1.70.0000.01017.01
7.1.60.0130.02035.10
7.1.50.0200.00734.74
7.1.40.0130.01334.39
7.1.30.0130.01334.64
7.1.20.0170.01035.02
7.1.10.0000.01316.76
7.1.00.0070.00316.80
7.0.200.0030.00717.05
7.0.190.0100.00016.97
7.0.180.0100.00316.39
7.0.170.0070.00716.36
7.0.160.0030.01016.39
7.0.150.0030.01016.30
7.0.140.0000.01016.58
7.0.130.0070.00716.81
7.0.120.0000.01316.35
7.0.110.0100.00316.30
7.0.100.0070.00716.56
7.0.90.0000.01316.15
7.0.80.0100.00316.40
7.0.70.0100.00716.29
7.0.60.0070.00716.35
7.0.50.0000.01716.52
7.0.40.0100.00716.51
7.0.30.0070.01016.73
7.0.20.0100.00716.59
7.0.10.0030.01316.76
7.0.00.0000.01716.46

preferences:
62.43 ms | 401 KiB | 5 Q