3v4l.org

run code in 300+ PHP versions simultaneously
<?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;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EJ46T
function name:  (null)
number of ops:  8
compiled vars:  !0 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d'
          2        DO_ICALL                                         $1      
          3        CONCAT                                           ~2      '%0A++++++++++++++++++++++++SELECT+count%28%2A%29%0A++++++++++++++++++++++++FROM+%7Bwatchdog%7D%0A++++++++++++++++++++++++WHERE+%60type%60+LIKE+%27cron%27%0A++++++++++++++++++++++++AND+from_unixtime%28timestamp%29+%3E%3D+%27', $1
          4        CONCAT                                           ~3      ~2, '+10%3A00%3A00%27%0A++++++++++++++++++++++++AND+message+%3D+%27Cron+run+completed.%27%0A++++++++++++++++'
    3     5        ASSIGN                                                   !0, ~3
   11     6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.33 ms | 1394 KiB | 15 Q