3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'acdmnprst'; $b = 'abcdefghijlmnopqrstuvz'; $al = strlen($a); $bl = strlen($b); for ($i = 0; $i < $al; $i++) { for ($j = 0; $j < $bl; $j++) { for ($k = 0; $k < $bl; $k++) { echo $b[$j] . $b[$k] . $a[$i] . "\n"; } } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 8
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 10
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 8
Branch analysis from position: 28
Branch analysis from position: 8
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 12
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 10
Branch analysis from position: 25
Branch analysis from position: 10
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 12
Branch analysis from position: 22
Branch analysis from position: 12
filename:       /in/80K0f
function name:  (null)
number of ops:  29
compiled vars:  !0 = $a, !1 = $b, !2 = $al, !3 = $bl, !4 = $i, !5 = $j, !6 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'acdmnprst'
    4     1        ASSIGN                                                   !1, 'abcdefghijlmnopqrstuvz'
    6     2        STRLEN                                           ~9      !0
          3        ASSIGN                                                   !2, ~9
    7     4        STRLEN                                           ~11     !1
          5        ASSIGN                                                   !3, ~11
    9     6        ASSIGN                                                   !4, 0
          7      > JMP                                                      ->26
   10     8    >   ASSIGN                                                   !5, 0
          9      > JMP                                                      ->23
   11    10    >   ASSIGN                                                   !6, 0
         11      > JMP                                                      ->20
   12    12    >   FETCH_DIM_R                                      ~16     !1, !5
         13        FETCH_DIM_R                                      ~17     !1, !6
         14        CONCAT                                           ~18     ~16, ~17
         15        FETCH_DIM_R                                      ~19     !0, !4
         16        CONCAT                                           ~20     ~18, ~19
         17        CONCAT                                           ~21     ~20, '%0A'
         18        ECHO                                                     ~21
   11    19        PRE_INC                                                  !6
         20    >   IS_SMALLER                                               !6, !3
         21      > JMPNZ                                                    ~23, ->12
   10    22    >   PRE_INC                                                  !5
         23    >   IS_SMALLER                                               !5, !3
         24      > JMPNZ                                                    ~25, ->10
    9    25    >   PRE_INC                                                  !4
         26    >   IS_SMALLER                                               !4, !2
         27      > JMPNZ                                                    ~27, ->8
   15    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
124.89 ms | 1399 KiB | 13 Q