3v4l.org

run code in 300+ PHP versions simultaneously
<?php $opt_dupa = 'a'; $options['dupa'] = 'b'; extract((array) $options, EXTR_PREFIX_IF_EXISTS, 'opt_'); var_dump($opt_dupa);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ld9b0
function name:  (null)
number of ops:  13
compiled vars:  !0 = $opt_dupa, !1 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a'
    3     1        ASSIGN_DIM                                               !1, 'dupa'
          2        OP_DATA                                                  'b'
    4     3        INIT_FCALL                                               'extract'
          4        CAST                                          7  ~4      !1
          5        SEND_VAL                                                 ~4
          6        SEND_VAL                                                 5
          7        SEND_VAL                                                 'opt_'
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.42 ms | 1394 KiB | 17 Q