3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code = xbox_post_message('foo', 'localhost'); var_dump($code); function xbox_process_message($msg) { echo 'got ' . $msg . "\n"; return 1; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/doA34
function name:  (null)
number of ops:  9
compiled vars:  !0 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'xbox_post_message'
          1        SEND_VAL_EX                                              'foo'
          2        SEND_VAL_EX                                              'localhost'
          3        DO_FCALL                                      0  $1      
          4        ASSIGN                                                   !0, $1
    5     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
   11     8      > RETURN                                                   1

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

End of function xbox_process_message

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.71 ms | 1395 KiB | 15 Q