3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo mecho('hello world'); function mecho($str){ echo $str; return strlen($str); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pAv4q
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'mecho'
          1        SEND_VAL_EX                                              'hello+world'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
    6     4      > RETURN                                                   1

Function mecho:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pAv4q
function name:  mecho
number of ops:  5
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        ECHO                                                     !0
    5     2        STRLEN                                           ~1      !0
          3      > RETURN                                                   ~1
    6     4*     > RETURN                                                   null

End of function mecho

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.16 ms | 1384 KiB | 13 Q