3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { return 'Hello World'; } function testFnGetArgs() { print_r(func_get_args()); } function sayHelloTo(string $var) { return 'Hello ' . $var; } echo test(0); echo testFnGetArgs(1,2,3); echo sayHelloTo('me');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BVKJU
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                               'test'
          1        SEND_VAL                                                 0
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
   17     4        INIT_FCALL                                               'testfngetargs'
          5        SEND_VAL                                                 1
          6        SEND_VAL                                                 2
          7        SEND_VAL                                                 3
          8        DO_FCALL                                      0  $1      
          9        ECHO                                                     $1
   19    10        INIT_FCALL                                               'sayhelloto'
         11        SEND_VAL                                                 'me'
         12        DO_FCALL                                      0  $2      
         13        ECHO                                                     $2
         14      > RETURN                                                   1

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

End of function test

Function testfngetargs:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BVKJU
function name:  testFnGetArgs
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'print_r'
          1        FUNC_GET_ARGS                                    ~0      
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    9     4      > RETURN                                                   null

End of function testfngetargs

Function sayhelloto:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BVKJU
function name:  sayHelloTo
number of ops:  4
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
   12     1        CONCAT                                           ~1      'Hello+', !0
          2      > RETURN                                                   ~1
   13     3*     > RETURN                                                   null

End of function sayhelloto

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.71 ms | 1008 KiB | 17 Q