3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isValidTimeStamp($timestamp) { return ((string) (int) $timestamp === $timestamp) && ($timestamp <= PHP_INT_MAX) && ($timestamp >= ~PHP_INT_MAX); } var_dump(isValidTimestamp("114004965600"));

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.70.0090.00916.58
8.3.60.0060.01218.11
8.3.50.0140.00321.98
8.3.40.0120.00318.53
8.3.30.0180.00018.50
8.3.20.0030.00620.07
8.3.10.0050.00321.60
8.3.00.0050.00320.94
8.2.190.0040.01116.58
8.2.180.0080.01116.32
8.2.170.0110.00418.86
8.2.160.0150.00022.96
8.2.150.0000.00725.66
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00818.99
8.2.110.0040.00719.32
8.2.100.0100.00617.56
8.2.90.0000.00819.05
8.2.80.0000.00817.97
8.2.70.0030.00617.38
8.2.60.0080.00017.97
8.2.50.0080.00018.10
8.2.40.0060.00320.59
8.2.30.0020.00719.03
8.2.20.0000.00717.64
8.2.10.0000.00717.94
8.2.00.0000.00917.98
8.1.280.0140.00725.92
8.1.270.0000.00824.02
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0110.00322.17
8.1.230.0080.00320.89
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0030.00717.23
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0000.00818.55
8.1.160.0000.00818.93
8.1.150.0040.00418.73
8.1.140.0000.00819.50
8.1.130.0030.00317.50
8.1.120.0040.00417.44
8.1.110.0070.00017.35
8.1.100.0040.00417.38
8.1.90.0080.00017.33
8.1.80.0000.00717.40
8.1.70.0030.00317.40
8.1.60.0000.00717.41
8.1.50.0040.00417.52
8.1.40.0000.00817.42
8.1.30.0040.00417.52
8.1.20.0040.00417.54
8.1.10.0030.00517.32
8.1.00.0040.00417.39
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0040.00418.44
8.0.270.0040.00417.23
8.0.260.0000.00717.09
8.0.250.0070.00016.90
8.0.240.0000.00716.90
8.0.230.0040.00416.87
8.0.220.0020.00516.71
8.0.210.0030.00316.81
8.0.200.0000.00616.79
8.0.190.0030.00616.89
8.0.180.0000.00716.88
8.0.170.0000.00716.83
8.0.160.0030.00616.84
8.0.150.0040.00416.73
8.0.140.0070.00016.74
8.0.130.0000.00513.24
8.0.120.0040.00416.79
8.0.110.0000.00716.73
8.0.100.0040.00416.84
8.0.90.0060.00316.81
8.0.80.0100.00616.82
8.0.70.0000.00816.71
8.0.60.0080.00016.93
8.0.50.0000.00716.61
8.0.30.0080.01117.06
8.0.20.0130.00417.40
8.0.10.0000.00816.97
8.0.00.0180.00616.66
7.4.330.0000.00715.08
7.4.320.0000.00616.36
7.4.300.0050.00216.42
7.4.290.0040.00416.45
7.4.280.0040.00416.53
7.4.270.0040.00416.45
7.4.260.0060.00316.50
7.4.250.0070.00016.51
7.4.240.0070.00016.54
7.4.230.0080.00016.32
7.4.220.0000.01916.48
7.4.210.0030.01216.47
7.4.200.0050.00316.18
7.4.160.0130.00316.40
7.4.150.0030.01417.40
7.4.140.0150.00617.86
7.4.130.0060.01316.41
7.4.120.0090.00816.38
7.4.110.0060.01016.50
7.4.100.0090.00616.47
7.4.90.0140.00416.42
7.4.80.0140.00419.39
7.4.70.0030.01616.32
7.4.60.0060.01116.63
7.4.50.0000.01616.50
7.4.40.0100.00716.45
7.4.30.0160.00016.38
7.4.00.0120.00615.13
7.3.330.0000.00513.14
7.3.320.0000.00813.20
7.3.310.0070.00016.41
7.3.300.0040.00416.28
7.3.290.0080.00816.32
7.3.280.0110.00716.38
7.3.270.0090.00617.40
7.3.260.0090.00816.44
7.3.250.0080.01116.51
7.3.240.0110.00816.39
7.3.230.0060.01216.57
7.3.210.0070.01116.27
7.3.200.0060.01216.67
7.3.190.0150.00316.30
7.3.180.0150.00616.41
7.3.170.0000.01716.55
7.3.160.0100.00716.31
7.3.10.0090.00516.64
7.3.00.0060.00816.82
7.2.330.0100.00716.75
7.2.320.0100.00716.72
7.2.310.0110.00616.73
7.2.300.0090.00616.46
7.2.290.0130.00316.67
7.2.130.0060.00616.62
7.2.120.0060.00716.76
7.2.110.0100.00316.95
7.2.100.0060.00516.79
7.2.90.0050.00716.92
7.2.80.0100.00516.88
7.2.70.0030.01017.03
7.2.60.0080.00716.83
7.2.50.0050.00916.68
7.2.40.0050.00816.80
7.2.30.0030.00916.86
7.2.20.0060.00716.74
7.2.10.0070.00416.76
7.2.00.0040.01217.61
7.1.250.0040.00815.93
7.1.200.0030.01215.84
7.1.100.0090.00318.30
7.1.70.0030.00317.13
7.1.60.0110.01419.90
7.1.00.0070.07322.48
7.0.200.0740.01014.93
7.0.70.0030.06021.76
7.0.60.0070.05721.82
7.0.50.0130.06022.17
7.0.40.0100.05322.04
7.0.30.0070.06322.02
7.0.20.0200.06722.07
7.0.10.0100.06722.22
7.0.00.0070.06322.23
5.6.280.0030.07320.99
5.6.220.0070.05720.64
5.6.210.0170.05020.75
5.6.200.0130.05321.10
5.6.190.0070.06021.09
5.6.180.0100.05721.07
5.6.170.0200.07321.17
5.6.160.0170.07021.04
5.6.150.0000.07321.10
5.6.140.0070.08321.03
5.6.130.0170.07321.06
5.6.120.0100.06021.20
5.6.110.0070.08721.14
5.6.100.0170.07321.10
5.6.90.0170.05320.95
5.6.80.0130.06020.43
5.6.70.0130.06020.48
5.6.60.0100.07720.47
5.6.50.0070.06020.56
5.6.40.0130.05720.52
5.6.30.0230.05020.42
5.6.20.0030.07320.45
5.6.10.0070.07020.52
5.6.00.0030.07020.41
5.5.360.0130.05320.39
5.5.350.0100.06020.33
5.5.340.0100.06020.97
5.5.330.0170.04720.81
5.5.320.0100.05320.94
5.5.310.0130.05020.86
5.5.300.0070.08020.92
5.5.290.0100.08020.95
5.5.280.0100.06320.93
5.5.270.0030.08720.84
5.5.260.0100.07320.95
5.5.250.0070.06320.66
5.5.240.0070.07020.16
5.5.230.0100.06720.10
5.5.220.0030.06720.34
5.5.210.0070.06020.31
5.5.200.0100.05320.24
5.5.190.0270.05720.30
5.5.180.0170.05320.33
5.5.160.0170.04320.17
5.5.150.0100.05020.05
5.5.140.0130.04720.29
5.5.130.0100.05320.19
5.5.120.0030.05720.13
5.5.110.0030.06020.16
5.5.100.0100.05320.10
5.5.90.0070.06020.03
5.5.80.0270.05020.09
5.5.70.0200.05720.03
5.5.60.0100.05320.15
5.5.50.0070.05320.21
5.5.40.0100.05320.05
5.5.30.0170.06020.11
5.5.20.0100.07320.11
5.5.10.0130.05020.11
5.5.00.0030.08020.14

preferences:
36.72 ms | 401 KiB | 5 Q