3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.59 ms | 1394 KiB | 15 Q