3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo round(abs(strtotime("2013-05-05")-strtotime("2013-05-05")) / 86400, 0 )+1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kdaNk
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'round'
          1        INIT_FCALL                                               'abs'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '2013-05-05'
          4        DO_ICALL                                         $0      
          5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 '2013-05-05'
          7        DO_ICALL                                         $1      
          8        SUB                                              ~2      $0, $1
          9        SEND_VAL                                                 ~2
         10        DO_ICALL                                         $3      
         11        DIV                                              ~4      $3, 86400
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 0
         14        DO_ICALL                                         $5      
         15        ADD                                              ~6      $5, 1
         16        ECHO                                                     ~6
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.1 ms | 1399 KiB | 19 Q