3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = array('Astreet','bstreet','cstreet','dstreet','estreet','fstreet','gstreet','hstreet','istreet'); for($i=0;;print(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 = 17, Position 2 = 20
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
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: 20
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 3
Branch analysis from position: 24
Branch analysis from position: 3
filename:       /in/nRhGY
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        POST_INC                                         ~6      !1
          8        FETCH_DIM_R                                      ~7      !0, ~6
          9        SEND_VAL                                                 ~7
         10        DO_ICALL                                         $8      
         11        SEND_VAR                                                 $8
         12        SEND_VAL                                                 'aeiou'
         13        DO_ICALL                                         $9      
         14        STRLEN                                           ~10     $9
         15        IS_EQUAL                                                 ~5, ~10
         16      > JMPZ                                                     ~11, ->20
         17    >   FETCH_CONSTANT                                   ~12     'left'
         18        QM_ASSIGN                                        ~13     ~12
         19      > JMP                                                      ->22
         20    >   FETCH_CONSTANT                                   ~14     'right'
         21        QM_ASSIGN                                        ~13     ~14
         22    >   ECHO                                                     ~13
         23    > > JMPNZ                                                    <true>, ->3
         24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.68 ms | 1388 KiB | 17 Q