3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Thing { public function crepe(&$trees) { echo $trees; } } $sh = new Thing; $flee = 'shmee'; $sh->trees($flee);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rWs3i
function name:  (null)
number of ops:  8
compiled vars:  !0 = $sh, !1 = $flee
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $2      'Thing'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   11     3        ASSIGN                                                   !1, 'shmee'
   12     4        INIT_METHOD_CALL                                         !0, 'trees'
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Class Thing:
Function crepe:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rWs3i
function name:  crepe
number of ops:  3
compiled vars:  !0 = $trees
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 crepe

End of class Thing.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.04 ms | 1393 KiB | 13 Q