3v4l.org

run code in 300+ PHP versions simultaneously
<?php $users = array( "admin" => "best3v3r", "mod" => "notbest3v3r" ); $count = count($users); foreach($users as $user => $pass) { echo "Users stored in array: ".$count." The names of those users are: ".$user."."; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 12
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/tdBhS
function name:  (null)
number of ops:  14
compiled vars:  !0 = $users, !1 = $count, !2 = $pass, !3 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    7     1        COUNT                                            ~5      !0
          2        ASSIGN                                                   !1, ~5
    9     3      > FE_RESET_R                                       $7      !0, ->12
          4    > > FE_FETCH_R                                       ~8      $7, !2, ->12
          5    >   ASSIGN                                                   !3, ~8
   10     6        CONCAT                                           ~10     'Users+stored+in+array%3A+', !1
          7        CONCAT                                           ~11     ~10, '+The+names+of+those+users+%0Aare%3A+'
   11     8        CONCAT                                           ~12     ~11, !3
          9        CONCAT                                           ~13     ~12, '.'
         10        ECHO                                                     ~13
    9    11      > JMP                                                      ->4
         12    >   FE_FREE                                                  $7
   12    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.23 ms | 1393 KiB | 13 Q