3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datum = strtotime($terminy['termin2']); $dnes = strtotime('today'); $termin = floor(($datum - $dnes) / (24 * 60 * 60)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VR5Mu
function name:  (null)
number of ops:  16
compiled vars:  !0 = $datum, !1 = $terminy, !2 = $dnes, !3 = $termin
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        FETCH_DIM_R                                      ~4      !1, 'termin2'
          2        SEND_VAL                                                 ~4
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !0, $5
    3     5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 'today'
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !2, $7
    4     9        INIT_FCALL                                               'floor'
         10        SUB                                              ~9      !0, !2
         11        DIV                                              ~10     ~9, 86400
         12        SEND_VAL                                                 ~10
         13        DO_ICALL                                         $11     
         14        ASSIGN                                                   !3, $11
    5    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.79 ms | 1394 KiB | 17 Q