3v4l.org

run code in 300+ PHP versions simultaneously
<?php class user_message { public $message = 'Hello All, I am '; public function introduce($name) { return $this->message.$name; } } $mymessage = New user_message(); echo $mymessage->introduce('Scott'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fuDpm
function name:  (null)
number of ops:  8
compiled vars:  !0 = $mymessage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'user_message'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   10     3        INIT_METHOD_CALL                                         !0, 'introduce'
          4        SEND_VAL_EX                                              'Scott'
          5        DO_FCALL                                      0  $4      
          6        ECHO                                                     $4
   11     7      > RETURN                                                   1

Class user_message:
Function introduce:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fuDpm
function name:  introduce
number of ops:  5
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    6     1        FETCH_OBJ_R                                      ~1      'message'
          2        CONCAT                                           ~2      ~1, !0
          3      > RETURN                                                   ~2
    7     4*     > RETURN                                                   null

End of function introduce

End of class user_message.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.05 ms | 1384 KiB | 13 Q