3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = 'bcdfghjklmnprstvwz'; //consonants except hard to speak ones $v = 'aeiou'; //vowels $a = $c.$v; //both for ($i = 1; $i <= 10; $i++) { $pw = ''; //use two syllables... for($j=0;$j < 2; $j++){ $pw .= $c[rand(0, strlen($c)-1)]; $pw .= $v[rand(0, strlen($v)-1)]; $pw .= $a[rand(0, strlen($a)-1)]; } echo $pw . "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 6
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 9
Branch analysis from position: 36
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 6
Branch analysis from position: 41
Branch analysis from position: 6
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 9
Branch analysis from position: 36
Branch analysis from position: 9
filename:       /in/pFO5C
function name:  (null)
number of ops:  42
compiled vars:  !0 = $c, !1 = $v, !2 = $a, !3 = $i, !4 = $pw, !5 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'bcdfghjklmnprstvwz'
    4     1        ASSIGN                                                   !1, 'aeiou'
    5     2        CONCAT                                           ~8      !0, !1
          3        ASSIGN                                                   !2, ~8
    7     4        ASSIGN                                                   !3, 1
          5      > JMP                                                      ->39
    8     6    >   ASSIGN                                                   !4, ''
   11     7        ASSIGN                                                   !5, 0
          8      > JMP                                                      ->34
   12     9    >   INIT_FCALL                                               'rand'
         10        SEND_VAL                                                 0
         11        STRLEN                                           ~13     !0
         12        SUB                                              ~14     ~13, 1
         13        SEND_VAL                                                 ~14
         14        DO_ICALL                                         $15     
         15        FETCH_DIM_R                                      ~16     !0, $15
         16        ASSIGN_OP                                     8          !4, ~16
   13    17        INIT_FCALL                                               'rand'
         18        SEND_VAL                                                 0
         19        STRLEN                                           ~18     !1
         20        SUB                                              ~19     ~18, 1
         21        SEND_VAL                                                 ~19
         22        DO_ICALL                                         $20     
         23        FETCH_DIM_R                                      ~21     !1, $20
         24        ASSIGN_OP                                     8          !4, ~21
   14    25        INIT_FCALL                                               'rand'
         26        SEND_VAL                                                 0
         27        STRLEN                                           ~23     !2
         28        SUB                                              ~24     ~23, 1
         29        SEND_VAL                                                 ~24
         30        DO_ICALL                                         $25     
         31        FETCH_DIM_R                                      ~26     !2, $25
         32        ASSIGN_OP                                     8          !4, ~26
   11    33        PRE_INC                                                  !5
         34    >   IS_SMALLER                                               !5, 2
         35      > JMPNZ                                                    ~29, ->9
   17    36    >   CONCAT                                           ~30     !4, '%0A'
         37        ECHO                                                     ~30
    7    38        PRE_INC                                                  !3
         39    >   IS_SMALLER_OR_EQUAL                                      !3, 10
         40      > JMPNZ                                                    ~32, ->6
   18    41    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.37 ms | 1400 KiB | 15 Q