3v4l.org

run code in 300+ PHP versions simultaneously
<?php ceil((strtotime(date('Y-m-d')) - strtotime('2018-02-09 13:19:20')) / (60 * 60 * 24));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M5gvg
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ceil'
          1        INIT_FCALL                                               'strtotime'
          2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'Y-m-d'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        INIT_FCALL                                               'strtotime'
          8        SEND_VAL                                                 '2018-02-09+13%3A19%3A20'
          9        DO_ICALL                                         $2      
         10        SUB                                              ~3      $1, $2
         11        DIV                                              ~4      ~3, 86400
         12        SEND_VAL                                                 ~4
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.06 ms | 1394 KiB | 19 Q