3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $regSecond = 30; $regtime = trim('/Date(1466509710320+0000)/', $charlist= '/Date()') / 1000; $regSecond = date("s", $regtime); $setA = array('00', '01', '02', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42', '43'); if (in_array($regSecond, $setA)) { echo 'Set A'; }
based on 5nupg
Output for 7.1.0 - 7.3.0rc3
Notice: A non well formed numeric value encountered in /in/ba7u4 on line 3 Set A
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.0.25
Set A