3v4l.org

run code in 300+ PHP versions simultaneously
<?php function config() { static $test; return $test++; } echo config() . config();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Teg0S
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'config'
          1        DO_FCALL                                      0  $0      
          2        INIT_FCALL                                               'config'
          3        DO_FCALL                                      0  $1      
          4        CONCAT                                           ~2      $0, $1
          5        ECHO                                                     ~2
          6      > RETURN                                                   1

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

End of function config

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.04 ms | 1397 KiB | 15 Q