3v4l.org

run code in 300+ PHP versions simultaneously
<?php function belette($who) { echo "Belette $who!\n"; } class A { } class B { public function __construct($value) { } } new A(belette('A')); new B(belette('B'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oDea6
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $0      'A'
          1        INIT_FCALL                                               'belette'
          2        SEND_VAL                                                 'A'
          3        DO_FCALL                                      0  $1      
          4        SEND_VAR_NO_REF_EX                                       $1
          5        DO_FCALL                                      0          
          6        FREE                                                     $0
   17     7        NEW                                              $3      'B'
          8        INIT_FCALL                                               'belette'
          9        SEND_VAL                                                 'B'
         10        DO_FCALL                                      0  $4      
         11        SEND_VAR_NO_REF_EX                                       $4
         12        DO_FCALL                                      0          
         13        FREE                                                     $3
         14      > RETURN                                                   1

Function belette:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oDea6
function name:  belette
number of ops:  6
compiled vars:  !0 = $who
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        ROPE_INIT                                     3  ~2      'Belette+'
          2        ROPE_ADD                                      1  ~2      ~2, !0
          3        ROPE_END                                      2  ~1      ~2, '%21%0A'
          4        ECHO                                                     ~1
    5     5      > RETURN                                                   null

End of function belette

Class A: [no user functions]
Class B:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oDea6
function name:  __construct
number of ops:  2
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   13     1      > RETURN                                                   null

End of function __construct

End of class B.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.83 ms | 1390 KiB | 15 Q