3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { return "ok"; } echo "1 ", "2 ", "3 ", test(), " \n";echo "1 ", "2 ", test(), " \n"; echo "1 ", "2 ", "3 ", test(), " \n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VlYsB
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     '1+'
          1        ECHO                                                     '2+'
          2        ECHO                                                     '3+'
          3        INIT_FCALL                                               'test'
          4        DO_FCALL                                      0  $0      
          5        ECHO                                                     $0
          6        ECHO                                                     '+%0A'
          7        ECHO                                                     '1+'
          8        ECHO                                                     '2+'
          9        INIT_FCALL                                               'test'
         10        DO_FCALL                                      0  $1      
         11        ECHO                                                     $1
         12        ECHO                                                     '+%0A'
    8    13        ECHO                                                     '1+'
         14        ECHO                                                     '2+'
         15        ECHO                                                     '3+'
         16        INIT_FCALL                                               'test'
         17        DO_FCALL                                      0  $2      
         18        ECHO                                                     $2
         19        ECHO                                                     '+%0A'
         20      > RETURN                                                   1

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

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.17 ms | 1398 KiB | 16 Q