3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tempInicioTime = substr('08:00:00', 11, 5); echo $tempInicioTime; $tempInicioTime = strtotime($tempInicioTime); echo $tempInicioTime; $tempFimTime = substr('12:00:00', 11, 5); $tempFimTime = strtotime($tempFimTime);

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.0100.00718.43
8.3.50.0110.00716.03
8.3.40.0120.00318.70
8.3.30.0100.00318.71
8.3.20.0040.00420.34
8.3.10.0000.00821.89
8.3.00.0080.00020.82
8.2.180.0070.00718.18
8.2.170.0030.01322.96
8.2.160.0100.00722.16
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00422.11
8.2.120.0070.00026.35
8.2.110.0130.00919.30
8.2.100.0060.00617.53
8.2.90.0050.00319.22
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0040.00418.05
8.2.50.0000.00718.10
8.2.40.0040.00422.32
8.2.30.0050.00221.13
8.2.20.0000.00717.98
8.2.10.0050.00218.12
8.2.00.0000.00717.93
8.1.280.0070.00725.92
8.1.270.0070.00022.20
8.1.260.0030.00326.35
8.1.250.0000.00828.09
8.1.240.0060.00319.12
8.1.230.0110.00019.02
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00516.98
8.1.190.0000.00817.10
8.1.180.0000.01218.10
8.1.170.0030.00518.46
8.1.160.0040.00419.00
8.1.150.0080.00020.60
8.1.140.0080.00019.57
8.1.130.0030.00318.82
8.1.120.0000.01017.28
8.1.110.0040.00417.36
8.1.100.0050.00217.44
8.1.90.0040.00417.29
8.1.80.0040.00417.38
8.1.70.0000.00717.43
8.1.60.0040.00417.52
8.1.50.0050.00317.35
8.1.40.0030.00517.45
8.1.30.0030.00617.55
8.1.20.0000.00717.55
8.1.10.0000.00817.50
8.1.00.0070.00017.45
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0000.00718.36
8.0.270.0000.00717.26
8.0.260.0060.00016.72
8.0.250.0000.00616.85
8.0.240.0040.00416.80
8.0.230.0030.00316.83
8.0.220.0030.00416.82
8.0.210.0030.00316.77
8.0.200.0030.00616.80
8.0.190.0080.00016.94
8.0.180.0000.00716.83
8.0.170.0040.00416.82
8.0.160.0080.00016.86
8.0.150.0030.00316.80
8.0.140.0040.00316.77
8.0.130.0000.00813.16
8.0.120.0040.00416.84
8.0.110.0080.00016.71
8.0.100.0040.00416.77
8.0.90.0080.00016.86
8.0.80.0070.01116.75
8.0.70.0000.00716.84
8.0.60.0070.00016.79
8.0.50.0080.00016.85
8.0.30.0130.00717.05
8.0.20.0140.00717.40
8.0.10.0040.00417.01
8.0.00.0110.00716.63
7.4.330.0000.00515.55
7.4.320.0040.00416.51
7.4.300.0030.00316.66
7.4.290.0070.00016.58
7.4.280.0000.00816.50
7.4.270.0000.00716.56
7.4.260.0000.00716.55
7.4.250.0000.00716.57
7.4.240.0040.00416.54
7.4.230.0070.00016.70
7.4.220.0040.01416.60
7.4.210.0130.00516.48
7.4.200.0040.00416.58
7.4.160.0070.00816.55
7.4.150.0180.01217.40
7.4.140.0090.00917.86
7.4.130.0090.00916.49
7.4.120.0090.00916.52
7.4.110.0070.01016.83
7.4.100.0070.01016.66
7.4.90.0100.00716.55
7.4.80.0120.01019.39
7.4.70.0060.00916.58
7.4.60.0070.01016.59
7.4.50.0060.00916.72
7.4.40.0100.00716.48
7.4.30.0120.01216.63
7.4.00.0070.01115.19
7.3.330.0000.00513.19
7.3.320.0000.00613.05
7.3.310.0000.00716.16
7.3.300.0030.00316.20
7.3.290.0030.00616.37
7.3.280.0070.01016.33
7.3.270.0060.01017.40
7.3.260.0060.01116.60
7.3.250.0100.00916.31
7.3.240.0120.00716.51
7.3.230.0110.00716.60
7.3.210.0140.00316.43
7.3.200.0100.00616.56
7.3.190.0160.00016.40
7.3.180.0140.00416.41
7.3.170.0100.00516.60
7.3.160.0090.00916.39
7.3.120.0090.00914.61
7.3.110.0120.00614.79
7.3.100.0000.00914.97
7.3.90.0060.00614.91
7.3.80.0030.01314.77
7.3.70.0110.00414.96
7.3.60.0050.00514.82
7.3.50.0080.00514.72
7.3.40.0060.00914.91
7.3.30.0070.00714.89
7.3.20.0110.00316.39
7.3.10.0070.01116.71
7.3.00.0070.00516.41
7.2.330.0030.01316.56
7.2.320.0070.01416.47
7.2.310.0070.01116.68
7.2.300.0120.00616.83
7.2.290.0060.01016.55
7.2.240.0060.01514.88
7.2.230.0160.00315.39
7.2.220.0070.00714.95
7.2.210.0100.00015.43
7.2.200.0030.00915.29
7.2.190.0070.00714.94
7.2.180.0000.01515.13
7.2.170.0110.00714.89
7.2.160.0040.01214.96
7.2.150.0060.00916.96
7.2.140.0030.01316.92
7.2.130.0110.00316.67
7.2.120.0060.00717.06
7.2.110.0070.00716.85
7.2.100.0060.00916.86
7.2.90.0130.00416.72
7.2.80.0100.01016.92
7.2.70.0100.00616.72
7.2.60.0110.00816.89
7.2.50.0090.00916.91
7.2.40.0080.00716.93
7.2.30.0060.00916.96
7.2.20.0020.01516.85
7.2.10.0140.00317.12
7.2.00.0060.00917.65
7.1.330.0070.00315.71
7.1.320.0120.00615.77
7.1.310.0130.00315.81
7.1.300.0140.00015.60
7.1.290.0070.01015.82
7.1.280.0140.00015.70
7.1.270.0080.00315.81
7.1.260.0090.00615.79
7.1.250.0070.00515.53
7.1.240.0120.00015.75
7.1.230.0100.00015.56
7.1.220.0100.00315.70
7.1.210.0070.00715.33
7.1.200.0030.00715.65
7.1.190.0150.00315.69
7.1.180.0110.00415.55
7.1.170.0060.01015.48
7.1.160.0090.00415.55
7.1.150.0130.00315.56
7.1.140.0100.00315.63
7.1.130.0000.01215.52
7.1.120.0070.00415.61
7.1.110.0040.01115.80
7.1.100.0060.00816.58
7.1.90.0070.01115.83
7.1.80.0040.01115.41
7.1.70.0060.00916.48
7.1.60.0230.01124.38
7.1.50.0360.00724.36
7.1.40.0320.00723.97
7.1.30.0290.01024.20
7.1.20.0320.00724.22
7.1.10.0260.00715.23
7.1.00.0260.00715.22
7.0.330.0090.00315.33
7.0.320.0090.00614.92
7.0.310.0090.00315.17
7.0.300.0070.00615.29
7.0.290.0110.00415.09
7.0.280.0140.00015.04
7.0.270.0070.00715.25
7.0.260.0100.00015.23
7.0.250.0030.01015.24
7.0.240.0120.00315.39
7.0.230.0040.00715.33
7.0.220.0120.00015.32
7.0.210.0070.00715.25
7.0.200.0250.00515.13
7.0.190.0240.00614.99
7.0.180.0210.01015.03
7.0.170.0230.00814.60
7.0.160.0250.00714.68
7.0.150.0220.00814.79
7.0.140.0230.00814.91
7.0.130.0250.00714.99
7.0.120.0260.00514.93
7.0.110.0240.00914.88
7.0.100.0200.01114.83
7.0.90.0230.00714.94
7.0.80.0210.01014.98
7.0.70.0230.00814.85
7.0.60.0240.00814.89
7.0.50.0260.00715.08
7.0.40.0220.01013.89
7.0.30.0240.00613.88
7.0.20.0260.00613.92
7.0.10.0270.00713.92
7.0.00.0200.00713.93
5.6.380.0030.00714.21

preferences:
38.25 ms | 401 KiB | 5 Q