3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.84 ms | 1394 KiB | 17 Q