3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $k = " SELECT count(*) FROM {watchdog} WHERE `type` LIKE 'cron' AND from_unixtime(timestamp) >= '".date('Y-m-d')." 10:00:00' AND message = 'Cron run completed.' "; print $k;
Output for 5.6.30, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.3.0rc3
SELECT count(*) FROM {watchdog} WHERE `type` LIKE 'cron' AND from_unixtime(timestamp) >= '2017-07-10 10:00:00' AND message = 'Cron run completed.'