3v4l.org

run code in 300+ PHP versions simultaneously
<?php $REQUEST_URI = '/static/thumbs/hell.jpg'; if (!preg_match('/static\/thumbs|screens|video|strip)\//', $REQUEST_URI)) { echo 'no enter here'; }else{ echo 'hello'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W6h2g
function name:  (null)
number of ops:  11
compiled vars:  !0 = $REQUEST_URI
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2Fstatic%2Fthumbs%2Fhell.jpg'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2Fstatic%5C%2Fthumbs%7Cscreens%7Cvideo%7Cstrip%29%5C%2F%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        BOOL_NOT                                         ~3      $2
          6      > JMPZ                                                     ~3, ->9
    5     7    >   ECHO                                                     'no+enter+here'
          8      > JMP                                                      ->10
    7     9    >   ECHO                                                     'hello'
    8    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.13 ms | 1394 KiB | 15 Q