3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = array('Astreet','bstreet','cstreet','dstreet','estreet','fstreet','gstreet','hstreet','istreet'); for($i=0;;$i++)echo(strlen($s[$i])==strlen(ltrim(strtolower($s[$i]),'aeiou'))?left:right)?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 3
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 19
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 3
Branch analysis from position: 24
Branch analysis from position: 3
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 3
Branch analysis from position: 24
Branch analysis from position: 3
filename:       /in/gZHHY
function name:  (null)
number of ops:  25
compiled vars:  !0 = $s, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->23
          3    >   FETCH_DIM_R                                      ~4      !0, !1
          4        STRLEN                                           ~5      ~4
          5        INIT_FCALL                                               'ltrim'
          6        INIT_FCALL                                               'strtolower'
          7        FETCH_DIM_R                                      ~6      !0, !1
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                         $7      
         10        SEND_VAR                                                 $7
         11        SEND_VAL                                                 'aeiou'
         12        DO_ICALL                                         $8      
         13        STRLEN                                           ~9      $8
         14        IS_EQUAL                                                 ~5, ~9
         15      > JMPZ                                                     ~10, ->19
         16    >   FETCH_CONSTANT                                   ~11     'left'
         17        QM_ASSIGN                                        ~12     ~11
         18      > JMP                                                      ->21
         19    >   FETCH_CONSTANT                                   ~13     'right'
         20        QM_ASSIGN                                        ~12     ~13
         21    >   ECHO                                                     ~12
         22        PRE_INC                                                  !1
         23    > > JMPNZ                                                    <true>, ->3
         24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.81 ms | 1396 KiB | 17 Q