3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj = 123; // Create a new instance of MyObject into $obj $obj->thisProperty = 'Fred'; // Set a property in the $obj object called thisProperty $obj->getProperty(); // Call a method of the $obj object named getProperty ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iv4tl
function name:  (null)
number of ops:  6
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 123
    3     1        ASSIGN_OBJ                                               !0, 'thisProperty'
          2        OP_DATA                                                  'Fred'
    4     3        INIT_METHOD_CALL                                         !0, 'getProperty'
          4        DO_FCALL                                      0          
    5     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.34 ms | 1383 KiB | 13 Q