3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = date('jmY'); $event_date = eo_the_start('jmY'); $todayStr = strtotime($today); $event_dateStr = strtotime($event_date); echo ($event_dateStr - $todayStr); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4WBbM
function name:  (null)
number of ops:  19
compiled vars:  !0 = $today, !1 = $event_date, !2 = $todayStr, !3 = $event_dateStr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'jmY'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !0, $4
    3     4        INIT_FCALL_BY_NAME                                       'eo_the_start'
          5        SEND_VAL_EX                                              'jmY'
          6        DO_FCALL                                      0  $6      
          7        ASSIGN                                                   !1, $6
    4     8        INIT_FCALL                                               'strtotime'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $8      
         11        ASSIGN                                                   !2, $8
    5    12        INIT_FCALL                                               'strtotime'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $10     
         15        ASSIGN                                                   !3, $10
    6    16        SUB                                              ~12     !3, !2
         17        ECHO                                                     ~12
    7    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.47 ms | 1394 KiB | 17 Q