3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime(str_replace('.', '-', "2014.10.09")) . "\n\r"; echo strtotime('6 month ago') . "\n\r"; echo strtotime('3 years ago') . "\n\r"; echo str_replace('.', '-', "2014.10.09") . "\n\r";

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.0120.00318.25
8.3.50.0170.00721.32
8.3.40.0040.01819.01
8.3.30.0040.01518.57
8.3.20.0050.00320.19
8.3.10.0040.00421.60
8.3.00.0090.00017.77
8.2.180.0150.00616.63
8.2.170.0090.00622.96
8.2.160.0140.00020.50
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00317.75
8.2.110.0090.00021.20
8.2.100.0080.00418.03
8.2.90.0070.00319.09
8.2.80.0040.00417.97
8.2.70.0040.00417.88
8.2.60.0050.00318.04
8.2.50.0000.00918.07
8.2.40.0040.00419.95
8.2.30.0040.00418.06
8.2.20.0000.00817.86
8.2.10.0040.00418.06
8.2.00.0000.00718.11
8.1.280.0070.01425.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00617.65
8.1.230.0080.00419.00
8.1.220.0030.00517.76
8.1.210.0060.00318.77
8.1.200.0080.00017.35
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0040.00419.02
8.1.160.0000.00718.91
8.1.150.0000.00718.84
8.1.140.0040.00417.54
8.1.130.0000.00717.71
8.1.120.0000.00817.64
8.1.110.0040.00417.59
8.1.100.0030.00517.65
8.1.90.0030.00417.68
8.1.80.0000.00717.61
8.1.70.0070.00017.53
8.1.60.0000.00817.56
8.1.50.0000.00817.52
8.1.40.0030.00717.65
8.1.30.0000.00817.67
8.1.20.0000.00717.71
8.1.10.0090.00017.65
8.1.00.0000.00717.50
8.0.300.0060.00318.77
8.0.290.0040.00417.00
8.0.280.0000.00718.57
8.0.270.0040.00417.34
8.0.260.0030.00317.32
8.0.250.0000.00717.15
8.0.240.0040.00417.13
8.0.230.0030.00317.08
8.0.220.0030.00617.07
8.0.210.0080.00016.96
8.0.200.0040.00417.18
8.0.190.0000.01017.05
8.0.180.0050.00317.13
8.0.170.0050.00217.11
8.0.160.0000.00817.09
8.0.150.0040.00417.11
8.0.140.0070.00017.08
8.0.130.0000.00613.36
8.0.120.0050.00317.05
8.0.110.0080.00017.09
8.0.100.0070.00017.10
8.0.90.0050.00317.14
8.0.80.0090.01217.08
8.0.70.0040.00416.89
8.0.60.0000.00816.99
8.0.50.0040.00416.87
8.0.30.0120.00617.21
8.0.20.0130.00817.40
8.0.10.0050.00217.04
8.0.00.0090.01116.82
7.4.330.0000.00515.15
7.4.320.0030.00316.55
7.4.300.0000.00616.66
7.4.290.0030.00616.66
7.4.280.0000.00916.65
7.4.270.0040.00416.64
7.4.260.0030.00716.63
7.4.250.0050.00216.60
7.4.240.0050.00216.60
7.4.230.0000.00716.41
7.4.220.0150.01316.41
7.4.210.0110.00316.69
7.4.200.0000.00716.68
7.4.160.0040.01516.54
7.4.150.0150.00317.40
7.4.140.0050.01517.86
7.4.130.0120.00616.47
7.4.120.0120.00516.60
7.4.110.0100.01416.63
7.4.100.0030.01516.55
7.4.90.0070.01116.54
7.4.80.0150.00419.39
7.4.70.0140.00416.57
7.4.60.0140.00316.60
7.4.50.0000.00816.23
7.4.40.0030.01316.85
7.4.30.0040.01216.54
7.4.00.0030.01315.04
7.3.330.0030.00313.18
7.3.320.0000.00713.21
7.3.310.0000.00716.47
7.3.300.0000.00716.38
7.3.290.0070.00916.33
7.3.280.0100.00916.42
7.3.270.0110.00717.40
7.3.260.0110.00616.45
7.3.250.0080.00916.58
7.3.240.0040.01416.74
7.3.230.0120.00616.43
7.3.210.0150.00316.76
7.3.200.0060.00916.52
7.3.190.0060.01316.50
7.3.180.0130.00316.48
7.3.170.0090.00916.54
7.3.160.0100.00616.44
7.3.10.0140.01216.25
7.3.00.0130.01016.00
7.2.330.0030.01716.56
7.2.320.0090.01016.89
7.2.310.0070.01016.41
7.2.300.0080.00816.92
7.2.290.0150.00616.52
7.2.130.0130.01316.26
7.2.120.0080.01516.40
7.2.110.0180.01216.57
7.2.100.0230.00816.08
7.2.90.0200.00716.19
7.2.80.0180.00716.36
7.2.70.0120.01716.60
7.2.60.0150.00516.64
7.2.50.0090.01416.51
7.2.40.0120.00916.63
7.2.30.0150.00816.49
7.2.20.0140.00316.54
7.2.10.0090.00916.21
7.2.00.0070.01017.91
7.1.250.0170.00816.06
7.1.200.0030.00616.00
7.1.100.0040.00718.03
7.1.70.0030.00517.41
7.1.60.0040.02219.19
7.1.50.0030.01717.05
7.1.00.0070.07722.30
7.0.200.0220.01115.02
7.0.60.0100.07719.74
7.0.50.0070.06017.82
7.0.40.0030.05319.96
7.0.30.0230.03720.09
7.0.20.0300.06020.09
7.0.10.0070.05720.09
7.0.00.0130.08020.00
5.6.280.0030.07020.82
5.6.210.0030.08320.66
5.6.200.0030.09018.22
5.6.190.0130.05020.39
5.6.180.0270.06720.68
5.6.170.0270.07720.41
5.6.160.0000.04320.40
5.6.150.0070.07018.14
5.6.140.0130.06018.15
5.6.130.0070.03718.17
5.6.120.0100.04020.95
5.6.110.0200.07020.98
5.6.100.0170.07720.96
5.6.90.0130.08021.09
5.6.80.0200.06720.42
5.5.350.0030.08720.29
5.5.340.0030.06318.02
5.5.330.0100.07320.13
5.5.320.3930.04320.29
5.5.310.0170.04020.10
5.5.300.0130.04317.95
5.5.290.0270.03317.94
5.5.280.0000.05020.86
5.5.270.0170.06320.81
5.5.260.0100.08720.76
5.5.250.0030.08320.65
5.5.240.0000.08020.12
5.4.450.0130.05319.64
5.4.440.0200.06019.59
5.4.430.0070.07019.60
5.4.420.0230.04719.63
5.4.410.0130.05319.50
5.4.400.0100.05719.23
5.4.390.0130.05318.82
5.4.380.0270.04019.21
5.4.370.0170.05018.95
5.4.360.0370.04019.25
5.4.350.0170.06718.81
5.4.340.0100.06019.31
5.4.320.0100.06019.16
5.4.310.0030.06019.14
5.4.300.0170.05719.15
5.4.290.0030.06019.28
5.4.280.0200.05019.16
5.4.270.0200.05018.91
5.4.260.0130.05019.22
5.4.250.0130.05319.23
5.4.240.0230.04718.96
5.4.230.0070.06319.11
5.4.220.0270.05019.11
5.4.210.0130.05319.13
5.4.200.0070.05719.21
5.4.190.0200.04719.30
5.4.180.0200.05019.07
5.4.170.0100.05719.27
5.4.160.0100.07018.79
5.4.150.0030.07719.13
5.4.140.0200.06716.38
5.4.130.0070.06016.37
5.4.120.0100.05016.27
5.4.110.0170.04316.54
5.4.100.0130.04716.23
5.4.90.0100.05016.59
5.4.80.0070.05716.48
5.4.70.0300.06316.53
5.4.60.0000.03716.33
5.4.50.0000.05316.38
5.4.40.0270.04316.43
5.4.30.0230.03716.41
5.4.20.0230.06716.27

preferences:
58.28 ms | 401 KiB | 5 Q