3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mysql_timestamp = "2014-10-21 10:49:34"; $this_is_new = false; if(strtotime($mysql_timestamp) > strtotime("-30 minutes")) { $this_is_new = true; } print_r($this_is_new);

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.0030.01018.43
8.3.50.0130.01022.02
8.3.40.0070.01018.84
8.3.30.0090.00619.09
8.3.20.0070.00020.12
8.3.10.0040.00423.51
8.3.00.0090.00419.38
8.2.180.0040.01116.75
8.2.170.0120.00319.02
8.2.160.0110.00322.96
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00722.18
8.2.110.0050.00520.50
8.2.100.0070.00418.09
8.2.90.0040.00418.95
8.2.80.0040.00417.97
8.2.70.0050.00717.63
8.2.60.0030.00717.93
8.2.50.0080.00018.07
8.2.40.0030.00618.34
8.2.30.0000.00818.18
8.2.20.0070.00017.79
8.2.10.0040.00418.02
8.2.00.0040.00417.91
8.1.280.0170.00325.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00023.97
8.1.230.0060.00619.21
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.36
8.1.190.0030.00617.35
8.1.180.0020.00518.10
8.1.170.0030.00618.66
8.1.160.0070.00022.05
8.1.150.0000.00718.93
8.1.140.0000.00817.70
8.1.130.0070.00017.68
8.1.120.0020.00517.68
8.1.110.0000.00817.62
8.1.100.0040.00417.52
8.1.90.0040.00417.64
8.1.80.0070.00017.65
8.1.70.0030.00317.61
8.1.60.0060.00317.56
8.1.50.0050.00317.57
8.1.40.0030.00617.66
8.1.30.0000.00817.72
8.1.20.0070.00017.71
8.1.10.0030.00517.59
8.1.00.0040.00417.67
8.0.300.0040.00418.77
8.0.290.0070.00017.00
8.0.280.0070.00018.51
8.0.270.0000.00817.32
8.0.260.0030.00316.97
8.0.250.0030.00317.05
8.0.240.0030.00317.13
8.0.230.0070.00017.11
8.0.220.0000.00617.10
8.0.210.0070.00016.98
8.0.200.0040.00417.03
8.0.190.0030.00516.98
8.0.180.0040.00417.02
8.0.170.0000.00817.00
8.0.160.0000.00716.96
8.0.150.0070.00017.03
8.0.140.0000.00717.07
8.0.130.0000.00613.44
8.0.120.0040.00417.09
8.0.110.0050.00217.08
8.0.100.0070.00016.94
8.0.90.0050.00216.89
8.0.80.0090.00916.96
8.0.70.0040.00417.04
8.0.60.0040.00416.95
8.0.50.0040.00417.13
8.0.30.0120.00717.16
8.0.20.0110.00817.41
8.0.10.0040.00417.19
8.0.00.0140.00516.90
7.4.330.0000.00415.00
7.4.320.0060.00016.74
7.4.300.0070.00016.73
7.4.290.0030.00316.61
7.4.280.0040.00716.63
7.4.270.0000.00716.73
7.4.260.0040.00416.54
7.4.250.0060.00316.73
7.4.240.0040.00316.69
7.4.230.0030.00316.70
7.4.220.0160.00916.77
7.4.210.0060.00916.69
7.4.200.0040.00416.62
7.4.160.0000.01716.67
7.4.150.0070.01317.40
7.4.140.0130.00517.86
7.4.130.0140.00516.77
7.4.120.0090.00816.65
7.4.110.0060.01616.75
7.4.100.0060.01116.39
7.4.90.0100.01016.53
7.4.80.0150.00419.39
7.4.70.0170.00016.69
7.4.60.0100.00616.73
7.4.50.0030.00516.29
7.4.40.0080.00816.66
7.4.30.0120.00416.47
7.4.00.0070.00715.31
7.3.330.0000.00713.25
7.3.320.0000.00513.32
7.3.310.0030.00316.46
7.3.300.0050.00216.35
7.3.290.0030.01016.50
7.3.280.0060.01116.39
7.3.270.0130.00717.40
7.3.260.0060.01216.77
7.3.250.0100.00716.59
7.3.240.0030.01316.61
7.3.230.0060.01116.55
7.3.210.0070.01016.45
7.3.200.0140.00519.39
7.3.190.0070.01016.42
7.3.180.0100.00716.76
7.3.170.0030.01116.42
7.3.160.0120.01016.61
7.2.330.0100.00716.57
7.2.320.0120.00616.67
7.2.310.0080.00916.58
7.2.300.0030.01316.66
7.2.290.0100.00716.66
7.2.00.0030.00919.24
7.1.100.0060.00618.02
7.1.70.0000.01317.33
7.1.60.0110.01419.32
7.1.50.0040.01117.02
7.1.00.0070.07322.30
7.0.200.0080.00416.54
7.0.140.0030.07022.09
7.0.60.0070.07319.92
7.0.50.0030.05717.84
7.0.40.0070.04020.24
7.0.30.0200.04020.34
7.0.20.0270.09020.30
7.0.10.0270.08020.03
7.0.00.0100.05020.32
5.6.280.0070.07020.90
5.6.210.0100.07720.46
5.6.200.0100.05718.19
5.6.190.0000.05320.61
5.6.180.3130.04720.46
5.6.170.0170.04720.39
5.6.160.0130.07720.41
5.6.150.0030.08018.09
5.6.140.0070.07318.11
5.6.130.0000.06018.18
5.6.120.0170.07021.09
5.6.110.0030.08721.10
5.6.100.0070.07721.13
5.6.90.0030.05320.99
5.6.80.0030.07320.41
5.6.70.0100.07320.36
5.5.350.0330.06320.48
5.5.340.0170.03317.95
5.5.330.0000.04720.07
5.5.320.0230.04320.29
5.5.310.0370.03720.23
5.5.300.0000.05017.93
5.5.290.0000.05317.91
5.5.280.0170.07720.68
5.5.270.0030.04320.66
5.5.260.0070.03720.87
5.5.250.0100.08320.61
5.5.240.0100.05720.16
5.4.450.1470.03319.49
5.4.440.0730.06019.50
5.4.430.0630.04719.49
5.4.420.0670.00019.50
5.4.410.0670.00019.32
5.4.400.0630.00019.05
5.4.390.0630.00019.05
5.4.380.0870.00019.05
5.4.370.0600.00018.99
5.4.360.0630.00019.08
5.4.350.0670.00019.25
5.4.340.0050.03811.97
5.4.320.0050.03612.45
5.4.310.0060.03912.45
5.4.300.0040.04512.45
5.4.290.0040.04212.45
5.4.280.0070.03812.34
5.4.270.0050.04112.34
5.4.260.0070.03812.35
5.4.250.0110.03712.34
5.4.240.0080.04512.34
5.4.230.0100.03512.34
5.4.220.0060.03612.34
5.4.210.0090.03612.34
5.4.200.0110.04012.34
5.4.190.0090.03312.34
5.4.180.0060.03712.34
5.4.170.0080.04012.34
5.4.160.0060.04112.34
5.4.150.0060.03912.34
5.4.140.0050.04112.02
5.4.130.0080.03712.01
5.4.120.0060.03511.96
5.4.110.0050.04111.96
5.4.100.0040.03711.96
5.4.90.0090.03311.96
5.4.80.0040.04311.96
5.4.70.0060.03611.96
5.4.60.0090.04311.96
5.4.50.0100.03411.96
5.4.40.0050.03911.95
5.4.30.0070.03711.95
5.4.20.0110.03511.95
5.4.10.0120.03311.95
5.4.00.0040.04111.44
5.3.290.0060.04012.80
5.3.280.0080.03812.71
5.3.270.0070.04012.72
5.3.260.0070.03812.71
5.3.250.0060.03812.72
5.3.240.0070.03812.72
5.3.230.0090.03612.71
5.3.220.0060.03712.68
5.3.210.0050.04012.68
5.3.200.0070.04412.68
5.3.190.0050.03812.68
5.3.180.0060.03912.68
5.3.170.0060.03712.67
5.3.160.0090.04012.67
5.3.150.0060.03712.67
5.3.140.0040.03812.66
5.3.130.0100.03712.66
5.3.120.0070.03912.66
5.3.110.0060.03912.65
5.3.100.0050.03912.11
5.3.90.0060.03812.09
5.3.80.0020.04112.07
5.3.70.0090.03612.08
5.3.60.0110.03412.07
5.3.50.0100.03612.00
5.3.40.0020.04112.00
5.3.30.0040.03911.94
5.3.20.0050.04011.72
5.3.10.0050.03811.69
5.3.00.0070.03911.68
5.2.170.0040.0309.18
5.2.160.0040.0309.18
5.2.150.0070.0339.18
5.2.140.0050.0329.18
5.2.130.0060.0289.14
5.2.120.0040.0309.14
5.2.110.0030.0349.14
5.2.100.0050.0399.14
5.2.90.0080.0319.14
5.2.80.0040.0329.14
5.2.70.0060.0319.14
5.2.60.0080.0289.09
5.2.50.0060.0309.05
5.2.40.0090.0299.03
5.2.30.0030.0339.00
5.2.20.0100.0359.00
5.2.10.0070.0298.92
5.2.00.0070.0308.78
5.1.60.0050.0268.06
5.1.50.0050.0278.06
5.1.40.0070.0288.04
5.1.30.0070.0268.39
5.1.20.0010.0308.41
5.1.10.0030.0278.14
5.1.00.0050.0248.14
5.0.50.0030.0216.62
5.0.40.0020.0216.48
5.0.30.0030.0326.29
5.0.20.0040.0196.26
5.0.10.0050.0186.24
5.0.00.0040.0356.23
4.4.90.0040.0244.78
4.4.80.0030.0154.75
4.4.70.0050.0214.76
4.4.60.0020.0164.75
4.4.50.0020.0224.77
4.4.40.0030.0254.71
4.4.30.0040.0204.76
4.4.20.0010.0184.85
4.4.10.0050.0144.85
4.4.00.0030.0244.76
4.3.110.0040.0194.67
4.3.100.0010.0174.67
4.3.90.0040.0144.64
4.3.80.0020.0274.58
4.3.70.0020.0184.63
4.3.60.0010.0174.63
4.3.50.0030.0154.63
4.3.40.0030.0274.54
4.3.30.0030.0173.30
4.3.20.0020.0163.27
4.3.10.0010.0193.23
4.3.00.0270.01714.27

preferences:
38.33 ms | 401 KiB | 5 Q