3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Enter your code here, enjoy! $array = array(); $array[] = "usernaam1"; $array[] = "usernaam2"; $array[] = "usernaam3"; $array[] = "usernaam4"; foreach( $array as $key => $usernaam ){ $get_transient = TRUE; if ( false === $get_transient ) { // It wasn't there, so regenerate the data and save the transient echo sprintf( "Fetching data for %s", $usernaam ); } //echo $key."\t=>\t".$value."\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 21
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 21
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 20
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 20
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/S1S9Y
function name:  (null)
number of ops:  23
compiled vars:  !0 = $array, !1 = $usernaam, !2 = $key, !3 = $get_transient
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  'usernaam1'
    6     3        ASSIGN_DIM                                               !0
          4        OP_DATA                                                  'usernaam2'
    7     5        ASSIGN_DIM                                               !0
          6        OP_DATA                                                  'usernaam3'
    8     7        ASSIGN_DIM                                               !0
          8        OP_DATA                                                  'usernaam4'
   10     9      > FE_RESET_R                                       $9      !0, ->21
         10    > > FE_FETCH_R                                       ~10     $9, !1, ->21
         11    >   ASSIGN                                                   !2, ~10
   12    12        ASSIGN                                                   !3, <true>
   14    13        TYPE_CHECK                                    4          !3
         14      > JMPZ                                                     ~13, ->20
   16    15    >   INIT_FCALL                                               'sprintf'
         16        SEND_VAL                                                 'Fetching+data+for+%25s'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                         $14     
         19        ECHO                                                     $14
   10    20    > > JMP                                                      ->10
         21    >   FE_FREE                                                  $9
   22    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.58 ms | 1387 KiB | 15 Q