3v4l.org

run code in 300+ PHP versions simultaneously
<?php $interval = new DateInterval('P2D'); var_dump(property_exists($interval, 'abcde')); var_dump($interval->abcde);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eMJ34
function name:  (null)
number of ops:  16
compiled vars:  !0 = $interval
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'DateInterval'
          1        SEND_VAL_EX                                              'P2D'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'property_exists'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'abcde'
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        DO_ICALL                                                 
    4    11        INIT_FCALL                                               'var_dump'
         12        FETCH_OBJ_R                                      ~6      !0, 'abcde'
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.46 ms | 1385 KiB | 17 Q