3v4l.org

run code in 300+ PHP versions simultaneously
<?php // For demo purpose $formValues['relocation'] =23; $formValues['europe'] = 1; Foreach($formValues as $key => $var){ $$key = $var; } Echo $relocation ."\n" . $europe;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/QeLjp
function name:  (null)
number of ops:  15
compiled vars:  !0 = $formValues, !1 = $var, !2 = $key, !3 = $relocation, !4 = $europe
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'relocation'
          1        OP_DATA                                                  23
    4     2        ASSIGN_DIM                                               !0, 'europe'
          3        OP_DATA                                                  1
    7     4      > FE_RESET_R                                       $7      !0, ->10
          5    > > FE_FETCH_R                                       ~8      $7, !1, ->10
          6    >   ASSIGN                                                   !2, ~8
    8     7        FETCH_W                      local               $10     !2
          8        ASSIGN                                                   $10, !1
    7     9      > JMP                                                      ->5
         10    >   FE_FREE                                                  $7
   11    11        CONCAT                                           ~12     !3, '%0A'
         12        CONCAT                                           ~13     ~12, !4
         13        ECHO                                                     ~13
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.47 ms | 1393 KiB | 13 Q