3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if( preg_match( '[^a-zA-Z0-9\_\-]', "../../../index" ) ) { echo "404.php"; } else { echo "nyert"; }
based on Cld6Y
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
Jump found. Position 1 = 8
Branch analysis from position: 8
Jump found. Position 1 = -2
Branch analysis from position: 7
Jump found. Position 1 = -2
filename:       /in/IW9Kp
function name:  (null)
number of ops:  9
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'preg_match'
         1        SEND_VAL                                                 '%5B%5Ea-zA-Z0-9%5C_%5C-%5D'
         2        SEND_VAL                                                 '..%2F..%2F..%2Findex'
         3        DO_ICALL                                         $0      
         4      > JMPZ                                                     $0, ->7
   5     5    >   ECHO                                                     '404.php'
         6      > JMP                                                      ->8
   7     7    >   ECHO                                                     'nyert'
         8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0