3v4l.org

run code in 500+ PHP versions simultaneously
<?php $locations = [ 'name1', 'name2', 'name3', 'name4' ]; extract ($locations, EXTR_PREFIX_ALL, 'location'); echo $location_1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uQEd1
function name:  (null)
number of ops:  8
compiled vars:  !0 = $locations, !1 = $location_1
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        INIT_FCALL                                                   'extract'
          2        SEND_REF                                                     !0
          3        SEND_VAL                                                     3
          4        SEND_VAL                                                     'location'
          5        DO_ICALL                                                     
    5     6        ECHO                                                         !1
    6     7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.64 ms | 2591 KiB | 14 Q