3v4l.org

run code in 300+ PHP versions simultaneously
<?php function secupress_cache_data( $key ) { var_dump( func_get_args ); static $datas = array(); if ( $data !== 'trolilol' ) { $datas[ $key ] = $data; } return isset( $datas[ $key ] ) ? $datas[ $key ] : 'KO!!'; } secupress_cache_data( 'bar', null );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iQaQl
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'secupress_cache_data'
          1        SEND_VAL                                                 'bar'
          2        SEND_VAL                                                 null
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function secupress_cache_data:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 15
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/iQaQl
function name:  secupress_cache_data
number of ops:  18
compiled vars:  !0 = $key, !1 = $datas, !2 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'var_dump'
          2        FETCH_CONSTANT                                   ~3      'func_get_args'
          3        SEND_VAL                                                 ~3
          4        DO_ICALL                                                 
    5     5        BIND_STATIC                                              !1
    6     6        IS_NOT_IDENTICAL                                         !2, 'trolilol'
          7      > JMPZ                                                     ~5, ->10
    7     8    >   ASSIGN_DIM                                               !1, !0
          9        OP_DATA                                                  !2
   10    10    >   ISSET_ISEMPTY_DIM_OBJ                         0          !1, !0
         11      > JMPZ                                                     ~7, ->15
         12    >   FETCH_DIM_R                                      ~8      !1, !0
         13        QM_ASSIGN                                        ~9      ~8
         14      > JMP                                                      ->16
         15    >   QM_ASSIGN                                        ~9      'KO%21%21'
         16    > > RETURN                                                   ~9
   11    17*     > RETURN                                                   null

End of function secupress_cache_data

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.89 ms | 1399 KiB | 16 Q