3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tempInicioTime = substr('2017-01-01 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.0130.00716.50
8.3.50.0070.01116.56
8.3.40.0060.00918.82
8.3.30.0040.01118.71
8.3.20.0050.00320.24
8.3.10.0000.00821.65
8.3.00.0040.00420.96
8.2.180.0150.00618.29
8.2.170.0070.01022.96
8.2.160.0070.00722.18
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00422.20
8.2.120.0070.00026.35
8.2.110.0060.00320.59
8.2.100.0060.00617.91
8.2.90.0040.00419.36
8.2.80.0050.00217.97
8.2.70.0050.00317.50
8.2.60.0040.00418.16
8.2.50.0060.00318.10
8.2.40.0040.00422.19
8.2.30.0000.00821.06
8.2.20.0070.00018.07
8.2.10.0040.00418.17
8.2.00.0000.00718.16
8.1.280.0090.00925.92
8.1.270.0040.00422.24
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00022.12
8.1.230.0110.00019.05
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0090.00917.23
8.1.190.0030.00617.35
8.1.180.0110.00018.10
8.1.170.0040.00418.72
8.1.160.0040.00419.07
8.1.150.0040.00420.75
8.1.140.0000.00719.57
8.1.130.0030.00318.79
8.1.120.0000.00817.52
8.1.110.0000.00817.59
8.1.100.0000.00717.48
8.1.90.0030.00517.55
8.1.80.0000.00717.56
8.1.70.0000.00817.50
8.1.60.0040.00417.53
8.1.50.0060.00317.56
8.1.40.0030.00517.44
8.1.30.0050.00317.64
8.1.20.0060.00317.60
8.1.10.0040.00417.63
8.1.00.0040.00417.52
8.0.300.0040.00418.77
8.0.290.0040.00417.00
8.0.280.0070.00018.47
8.0.270.0000.00717.28
8.0.260.0030.00317.02
8.0.250.0000.00717.17
8.0.240.0040.00417.01
8.0.230.0040.00416.97
8.0.220.0040.00417.05
8.0.210.0000.00716.91
8.0.200.0040.00417.09
8.0.190.0050.00317.09
8.0.180.0040.00417.00
8.0.170.0000.00716.92
8.0.160.0000.00717.01
8.0.150.0000.00916.92
8.0.140.0070.00016.95
8.0.130.0020.00613.36
8.0.120.0000.00716.99
8.0.110.0040.00416.93
8.0.100.0000.00817.04
8.0.90.0100.00017.01
8.0.80.0000.01817.08
8.0.70.0040.00417.04
8.0.60.0000.00716.97
8.0.50.0000.00716.89
8.0.30.0100.00617.27
8.0.20.0110.00917.40
8.0.10.0040.00417.15
8.0.00.0070.01117.07
7.4.330.0050.00015.55
7.4.320.0030.00316.72
7.4.300.0000.00616.71
7.4.290.0000.00716.64
7.4.280.0000.00716.48
7.4.270.0040.00416.59
7.4.260.0000.00716.66
7.4.250.0000.00816.39
7.4.240.0050.00216.67
7.4.230.0000.00716.65
7.4.220.0060.01216.47
7.4.210.0080.01016.61
7.4.200.0070.00016.55
7.4.160.0110.00616.74
7.4.150.0030.01517.40
7.4.140.0100.00817.86
7.4.130.0180.00616.55
7.4.120.0100.00916.74
7.4.110.0030.01316.70
7.4.100.0130.00516.57
7.4.90.0090.01216.54
7.4.80.0100.00719.39
7.4.70.0060.00916.75
7.4.60.0030.01316.70
7.4.50.0070.01116.58
7.4.40.0080.00816.48
7.4.30.0150.00616.39
7.4.10.0090.00915.04
7.4.00.0060.01015.17
7.3.330.0000.00513.01
7.3.320.0000.00513.06
7.3.310.0050.00316.43
7.3.300.0040.00416.37
7.3.290.0000.00716.38
7.3.280.0090.00716.32
7.3.270.0120.00817.40
7.3.260.0120.00616.41
7.3.250.0170.00516.30
7.3.240.0020.01516.42
7.3.230.0090.00916.32
7.3.210.0140.00316.32
7.3.200.0060.01116.54
7.3.190.0040.01116.55
7.3.180.0060.00916.38
7.3.170.0070.01016.42
7.3.160.0100.00716.27
7.3.130.0110.00715.12
7.3.120.0070.01015.05
7.3.110.0060.01314.98
7.3.100.0030.00915.11
7.3.90.0030.00615.13
7.3.80.0040.00715.07
7.3.70.0030.01014.67
7.3.60.0120.00014.92
7.3.50.0070.00714.96
7.3.40.0060.00314.93
7.3.30.0030.01014.89
7.3.20.0030.01016.73
7.3.10.0090.00616.73
7.3.00.0040.00716.77
7.2.330.0150.00316.59
7.2.320.0090.01216.42
7.2.310.0110.00516.79
7.2.300.0100.01016.78
7.2.290.0030.01316.76
7.2.260.0040.01514.98
7.2.250.0110.00715.07
7.2.240.0030.01315.34
7.2.230.0040.01115.14
7.2.220.0070.01015.07
7.2.210.0040.01115.19
7.2.200.0060.00915.07
7.2.190.0000.01715.18
7.2.180.0060.00915.02
7.2.170.0080.00415.20
7.2.160.0110.00714.93
7.2.150.0070.00717.10
7.2.140.0110.00317.02
7.2.130.0070.00716.84
7.2.120.0060.00917.00
7.2.110.0050.00517.08
7.2.100.0030.01016.73
7.2.90.0060.00316.98
7.2.80.0030.01017.02
7.2.70.0060.01017.03
7.2.60.0020.01216.80
7.2.50.0030.01317.11
7.2.40.0070.01016.93
7.2.30.0070.00716.91
7.2.20.0050.00517.00
7.2.10.0070.00717.15
7.2.00.0040.00818.26
7.1.330.0030.00915.81
7.1.320.0080.00615.75
7.1.310.0040.00716.02
7.1.300.0060.00616.05
7.1.290.0120.00016.05
7.1.280.0040.01115.93
7.1.270.0040.01116.02
7.1.260.0080.00616.08
7.1.250.0110.00316.07
7.1.240.0060.00316.01
7.1.230.0090.00315.74
7.1.220.0030.01015.79
7.1.210.0030.00715.89
7.1.200.0060.00715.76
7.1.190.0000.00816.04
7.1.180.0000.01315.81
7.1.170.0000.01216.06
7.1.160.0110.00715.86
7.1.150.0080.00015.90
7.1.140.0060.00615.87
7.1.130.0070.00715.91
7.1.120.0070.01015.63
7.1.110.0060.00916.02
7.1.100.0080.00517.11
7.1.90.0070.00716.14
7.1.80.0060.00616.14
7.1.70.0080.00916.43
7.1.60.0290.00924.68
7.1.50.0270.00924.54
7.1.40.0330.00724.27
7.1.30.0320.00524.49
7.1.20.0270.01124.52
7.1.10.0230.00715.46
7.1.00.0250.00815.46
7.0.330.0000.00815.20
7.0.320.0070.00715.67
7.0.310.0000.01215.52
7.0.300.0030.00615.73
7.0.290.0030.01415.45
7.0.280.0040.00415.57
7.0.270.0000.01015.44
7.0.260.0000.01515.55
7.0.250.0000.00815.66
7.0.240.0040.01115.63
7.0.230.0070.00715.60
7.0.220.0000.01315.64
7.0.210.0030.00815.67
7.0.200.0230.00915.38
7.0.190.0250.00815.29
7.0.180.0220.01015.20
7.0.170.0270.00815.02
7.0.160.0280.00514.93
7.0.150.0270.00515.20
7.0.140.0220.00915.22
7.0.130.0230.01015.18
7.0.120.0330.00715.08
7.0.110.0250.00615.13
7.0.100.0270.00614.95
7.0.90.0280.00815.08
7.0.80.0240.00915.08
7.0.70.0260.00515.04
7.0.60.0260.00614.91
7.0.50.0240.00914.87
7.0.40.0290.00514.23
7.0.30.0520.00814.05
7.0.20.0230.00814.07
7.0.10.0210.00914.18
7.0.00.0310.00114.14
5.6.400.0000.01114.48
5.6.390.0070.00714.39
5.6.380.0080.00414.34
5.6.370.0000.01414.52
5.6.360.0080.00614.77
5.6.350.0030.01214.84
5.6.340.0070.00714.52
5.6.330.0060.01214.44
5.6.320.0040.00714.14
5.6.310.0080.00513.97
5.6.300.0060.00614.33
5.6.290.0030.00614.37
5.6.280.0000.01114.77
5.6.270.0110.00014.56
5.6.260.0070.00714.43
5.6.250.0070.00714.36
5.6.240.0060.00614.31
5.6.230.0000.01214.50
5.6.220.0110.00414.63
5.6.210.0040.01114.53
5.6.200.0110.00314.23
5.6.190.0040.00814.52
5.6.180.0000.01414.35
5.6.170.0160.00014.28
5.6.160.0060.00814.15
5.6.150.0000.01014.23
5.6.140.0080.00414.54
5.6.130.0000.01014.21
5.6.120.0030.01014.34
5.6.110.0040.01214.38
5.6.100.0070.01014.41
5.6.90.0030.00714.19
5.6.80.0030.01014.09
5.6.70.0030.01314.07
5.6.60.0080.00414.31
5.6.50.0030.00914.42
5.6.40.0110.00014.48
5.6.30.0070.00714.26
5.6.20.0030.01014.18
5.6.10.0060.00614.21
5.6.00.0060.00614.22

preferences:
62.75 ms | 401 KiB | 5 Q