3v4l.org

run code in 300+ PHP versions simultaneously
<?php $interval = new \DateInterval('2007-03-01T13:00:00Z/2008-05-11T15:30:00Z'); print_r($interval); print_r($interval->i);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IJZWd
function name:  (null)
number of ops:  12
compiled vars:  !0 = $interval
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DateInterval'
          1        SEND_VAL_EX                                              '2007-03-01T13%3A00%3A00Z%2F2008-05-11T15%3A30%3A00Z'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'print_r'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'print_r'
          8        FETCH_OBJ_R                                      ~5      !0, 'i'
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.07 ms | 939 KiB | 16 Q