3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace RN\Pitt { class Amt{ function __construct() { echo "Shamoan, motherfuckers!"; } } } namespace { $a = 'Pitt'; $b = 'Amt'; $class = 'RN\\'.$a.'\\'.$b; $obj = new $class(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dM30X
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $b, !2 = $class, !3 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ASSIGN                                                   !0, 'Pitt'
   17     1        ASSIGN                                                   !1, 'Amt'
   18     2        CONCAT                                           ~6      'RN%5C', !0
          3        CONCAT                                           ~7      ~6, '%5C'
          4        CONCAT                                           ~8      ~7, !1
          5        ASSIGN                                                   !2, ~8
   19     6        FETCH_CLASS                                   0  $10     !2
          7        NEW                                              $11     $10
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !3, $11
   20    10      > RETURN                                                   1

Class RN\Pitt\Amt:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dM30X
function name:  __construct
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ECHO                                                     'Shamoan%2C+motherfuckers%21'
    9     1      > RETURN                                                   null

End of function __construct

End of class RN\Pitt\Amt.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.05 ms | 1393 KiB | 13 Q