3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['one'] = '1 rabbit'; $_POST['two'] = '2 rabbit'; $_POST['three'] = '3 rabbit'; foreach ($_POST as $var => $value) { if (isset($$var)) { continue; } var_dump($var); } var_dump($one); var_dump($two); var_dump($three);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 20
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 20
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/kIDVb
function name:  (null)
number of ops:  31
compiled vars:  !0 = $value, !1 = $var, !2 = $one, !3 = $two, !4 = $three
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $5      '_POST'
          1        ASSIGN_DIM                                               $5, 'one'
          2        OP_DATA                                                  '1+rabbit'
    3     3        FETCH_W                      global              $7      '_POST'
          4        ASSIGN_DIM                                               $7, 'two'
          5        OP_DATA                                                  '2+rabbit'
    4     6        FETCH_W                      global              $9      '_POST'
          7        ASSIGN_DIM                                               $9, 'three'
          8        OP_DATA                                                  '3+rabbit'
    6     9        FETCH_R                      global              ~11     '_POST'
         10      > FE_RESET_R                                       $12     ~11, ->20
         11    > > FE_FETCH_R                                       ~13     $12, !0, ->20
         12    >   ASSIGN                                                   !1, ~13
    7    13        ISSET_ISEMPTY_VAR                             4          !1
         14      > JMPZ                                                     ~15, ->16
    8    15    > > JMP                                                      ->11
   10    16    >   INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                                 
    6    19      > JMP                                                      ->11
         20    >   FE_FREE                                                  $12
   13    21        INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !2
         23        DO_ICALL                                                 
   14    24        INIT_FCALL                                               'var_dump'
         25        SEND_VAR                                                 !3
         26        DO_ICALL                                                 
   15    27        INIT_FCALL                                               'var_dump'
         28        SEND_VAR                                                 !4
         29        DO_ICALL                                                 
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.56 ms | 1396 KiB | 15 Q