3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vars = array('a1', '1a', 'ačervený'); foreach($vars as $var) { $$var = 'x'; } ${'a1'} = 'y'; ${'1a'} = 'y'; ${'ačervený'} = 'y'; $a = 1; $A = 2; var_dump($a, $A); $💩 = 'a'; var_dump($💩);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 6
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/kJlla
function name:  (null)
number of ops:  21
compiled vars:  !0 = $vars, !1 = $var, !2 = $a1, !3 = $1a, !4 = $ačervený, !5 = $a, !6 = $A, !7 = $💩
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1      > FE_RESET_R                                       $9      !0, ->6
          2    > > FE_FETCH_R                                               $9, !1, ->6
    7     3    >   FETCH_W                      local               $10     !1
          4        ASSIGN                                                   $10, 'x'
    5     5      > JMP                                                      ->2
          6    >   FE_FREE                                                  $9
   10     7        ASSIGN                                                   !2, 'y'
   11     8        ASSIGN                                                   !3, 'y'
   12     9        ASSIGN                                                   !4, 'y'
   14    10        ASSIGN                                                   !5, 1
   15    11        ASSIGN                                                   !6, 2
   16    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !5
         14        SEND_VAR                                                 !6
         15        DO_ICALL                                                 
   18    16        ASSIGN                                                   !7, 'a'
   19    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !7
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.37 ms | 1386 KiB | 15 Q