3v4l.org

run code in 500+ PHP versions simultaneously
<?php $o = new DateInterval('PT0S'); isset($o->f); // 7.1 isset($o->z); // no z prop
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UoL0e
function name:  (null)
number of ops:  9
compiled vars:  !0 = $o
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $1      'DateInterval'
          1        SEND_VAL_EX                                                  'PT0S'
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $1
    4     4        ISSET_ISEMPTY_PROP_OBJ                               ~4      !0, 'f'
          5        FREE                                                         ~4
    5     6        ISSET_ISEMPTY_PROP_OBJ                               ~5      !0, 'z'
          7        FREE                                                         ~5
          8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.69 ms | 2568 KiB | 13 Q