3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { function a_function($name) { return 'A Fnction '.$name; } function a1_function() { return 'A 1 Fnction'; } } $a = new a(); echo $a->a_function('Surya');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UgK85
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   NEW                                              $1      'a'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   19     3        INIT_METHOD_CALL                                         !0, 'a_function'
          4        SEND_VAL_EX                                              'Surya'
          5        DO_FCALL                                      0  $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

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

End of function a_function

Function a1_function:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UgK85
function name:  a1_function
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E > > RETURN                                                   'A+1+Fnction'
   13     1*     > RETURN                                                   null

End of function a1_function

End of class a.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.44 ms | 1394 KiB | 13 Q