3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['foo' => 2, 'bar' => 5]; $b = ['bar' => 4, 'foo' => 3]; foreach($a as $k => $_) var_dump($k); foreach($b as $k => $_) var_dump($k); var_dump($a > $b); var_dump($b > $a); var_dump($a < $b); var_dump($b < $a);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 9
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 9
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 17
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 9
filename:       /in/eWKSD
function name:  (null)
number of ops:  35
compiled vars:  !0 = $a, !1 = $b, !2 = $_, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2      > FE_RESET_R                                       $6      !0, ->9
          3    > > FE_FETCH_R                                       ~7      $6, !2, ->9
          4    >   ASSIGN                                                   !3, ~7
          5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !3
          7        DO_ICALL                                                 
          8      > JMP                                                      ->3
          9    >   FE_FREE                                                  $6
    7    10      > FE_RESET_R                                       $10     !1, ->17
         11    > > FE_FETCH_R                                       ~11     $10, !2, ->17
         12    >   ASSIGN                                                   !3, ~11
         13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                                 
         16      > JMP                                                      ->11
         17    >   FE_FREE                                                  $10
    9    18        INIT_FCALL                                               'var_dump'
         19        IS_SMALLER                                       ~14     !1, !0
         20        SEND_VAL                                                 ~14
         21        DO_ICALL                                                 
   10    22        INIT_FCALL                                               'var_dump'
         23        IS_SMALLER                                       ~16     !0, !1
         24        SEND_VAL                                                 ~16
         25        DO_ICALL                                                 
   12    26        INIT_FCALL                                               'var_dump'
         27        IS_SMALLER                                       ~18     !0, !1
         28        SEND_VAL                                                 ~18
         29        DO_ICALL                                                 
   13    30        INIT_FCALL                                               'var_dump'
         31        IS_SMALLER                                       ~20     !1, !0
         32        SEND_VAL                                                 ~20
         33        DO_ICALL                                                 
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.85 ms | 1396 KiB | 15 Q