3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.48 ms | 1394 KiB | 15 Q