3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($j=0;$j<20;$j++){ $u="hello ".$u; } $b=explode("\n",$u); for($i=20;$i>=10;$i--){ $ssj=$b[$i]." ".$ssj; } echo $ssj;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 14
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 14
Branch analysis from position: 21
Branch analysis from position: 14
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
Branch analysis from position: 2
filename:       /in/v8v9c
function name:  (null)
number of ops:  23
compiled vars:  !0 = $j, !1 = $u, !2 = $b, !3 = $i, !4 = $ssj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->5
    5     2    >   CONCAT                                           ~6      'hello%0A', !1
    4     3        ASSIGN                                                   !1, ~6
    3     4        PRE_INC                                                  !0
          5    >   IS_SMALLER                                               !0, 20
          6      > JMPNZ                                                    ~9, ->2
    9     7    >   INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 '%0A'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $10     
         11        ASSIGN                                                   !2, $10
   12    12        ASSIGN                                                   !3, 20
         13      > JMP                                                      ->19
   13    14    >   FETCH_DIM_R                                      ~13     !2, !3
         15        CONCAT                                           ~14     ~13, '%0A'
   14    16        CONCAT                                           ~15     ~14, !4
   13    17        ASSIGN                                                   !4, ~15
   12    18        PRE_DEC                                                  !3
         19    >   IS_SMALLER_OR_EQUAL                                      10, !3
         20      > JMPNZ                                                    ~18, ->14
   16    21    >   ECHO                                                     !4
   17    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.36 ms | 998 KiB | 14 Q