3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bar = 'BAR'; apc_store('foo', $bar); var_dump(apc_fetch('foo')); apc_clear_cache('user'); var_dump(apc_fetch('foo'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YLXuP
function name:  (null)
number of ops:  21
compiled vars:  !0 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'BAR'
    4     1        INIT_FCALL_BY_NAME                                       'apc_store'
          2        SEND_VAL_EX                                              'foo'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0          
    5     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL_BY_NAME                                       'apc_fetch'
          7        SEND_VAL_EX                                              'foo'
          8        DO_FCALL                                      0  $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
    6    11        INIT_FCALL_BY_NAME                                       'apc_clear_cache'
         12        SEND_VAL_EX                                              'user'
         13        DO_FCALL                                      0          
    7    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL_BY_NAME                                       'apc_fetch'
         16        SEND_VAL_EX                                              'foo'
         17        DO_FCALL                                      0  $6      
         18        SEND_VAR                                                 $6
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.56 ms | 1386 KiB | 15 Q