3v4l.org

run code in 300+ PHP versions simultaneously
<?php $letter = 's'; if (!($letter >= 'A' && $letter <= 'Z' || $letter >= 'a' && $letter <= 'z')) { throw new \InvalidArgumentException(); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
Branch analysis from position: 11
Branch analysis from position: 5
filename:       /in/0brMv
function name:  (null)
number of ops:  17
compiled vars:  !0 = $letter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 's'
    3     1        IS_SMALLER_OR_EQUAL                              ~2      'A', !0
          2      > JMPZ_EX                                          ~2      ~2, ->5
          3    >   IS_SMALLER_OR_EQUAL                              ~3      !0, 'Z'
          4        BOOL                                             ~2      ~3
          5    > > JMPNZ_EX                                         ~2      ~2, ->11
          6    >   IS_SMALLER_OR_EQUAL                              ~4      'a', !0
          7      > JMPZ_EX                                          ~4      ~4, ->10
          8    >   IS_SMALLER_OR_EQUAL                              ~5      !0, 'z'
          9        BOOL                                             ~4      ~5
         10    >   BOOL                                             ~2      ~4
         11    >   BOOL_NOT                                         ~6      ~2
         12      > JMPZ                                                     ~6, ->16
    4    13    >   NEW                                              $7      'InvalidArgumentException'
         14        DO_FCALL                                      0          
         15      > THROW                                         0          $7
    5    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.27 ms | 1393 KiB | 13 Q