3v4l.org

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

Class myclass:
Function intro:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9q1W4
function name:  intro
number of ops:  5
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        NOP                                                      
          2        FAST_CONCAT                                      ~1      'Hello+All%2C+I+Am+', !0
          3        ECHO                                                     ~1
    5     4      > RETURN                                                   null

End of function intro

End of class myclass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.74 ms | 938 KiB | 14 Q