3v4l.org

run code in 500+ PHP versions simultaneously
<?php $i = new \DateInterval('PT0S'); $i->f = 0.1; var_dump($i); var_dump($i->f);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W3Xld
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i
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        ASSIGN_OBJ                                                   !0, 'f'
          5        OP_DATA                                                      0.1
    6     6        INIT_FCALL                                                   'var_dump'
          7        SEND_VAR                                                     !0
          8        DO_ICALL                                                     
    7     9        INIT_FCALL                                                   'var_dump'
         10        FETCH_OBJ_R                                          ~6      !0, 'f'
         11        SEND_VAL                                                     ~6
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.59 ms | 2357 KiB | 14 Q