3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { protected function example($param = null) { echo $param; } } example("string");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jHC42
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL_BY_NAME                                       'example'
          1        SEND_VAL_EX                                              'string'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Class test:
Function example:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jHC42
function name:  example
number of ops:  3
compiled vars:  !0 = $param
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV_INIT                                        !0      null
    6     1        ECHO                                                     !0
    7     2      > RETURN                                                   null

End of function example

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.85 ms | 1392 KiB | 13 Q