3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Mano{ function __construct($a){ echo $a; } } class Truta{ } $foo = 'Mano'; $bar = new $foo('hello world');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0mX86
function name:  (null)
number of ops:  7
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   ASSIGN                                                   !0, 'Mano'
   16     1        FETCH_CLASS                                   0  $3      !0
          2        NEW                                              $4      $3
          3        SEND_VAL_EX                                              'hello+world'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $4
          6      > RETURN                                                   1

Class Mano:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0mX86
function name:  __construct
number of ops:  3
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        ECHO                                                     !0
    7     2      > RETURN                                                   null

End of function __construct

End of class Mano.

Class Truta: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.3 ms | 1393 KiB | 13 Q