3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo extends ArrayObject { } $foo = new Foo(new stdClass()); var_dump($foo->append('yay'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5M1R5
function name:  (null)
number of ops:  13
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $1      'Foo'
          1        NEW                                              $2      'stdClass'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $2
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $1
    8     6        INIT_FCALL                                               'var_dump'
          7        INIT_METHOD_CALL                                         !0, 'append'
          8        SEND_VAL_EX                                              'yay'
          9        DO_FCALL                                      0  $6      
         10        SEND_VAR                                                 $6
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.79 ms | 1394 KiB | 15 Q