3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/^.+(?!(\.php|\.exe))$/i','test.PHP'); preg_match('/^.+(?!(\.php|\.exe))$/i','test.php'); preg_match('/^.+(?!(\.php|\.exe))$/i','test.EXE'); preg_match('/^.+(?!(\.php|\.exe))$/i','test.exe'); preg_match('/^.+(?!(\.php|\.exe))$/i','test.zip'); preg_match('/^.+(?!(\.php|\.exe))$/i','test.ZIP'); preg_match('/^.+(?!(\.php|\.exe))$/i','test.ok'); preg_match('/^.+(?!(\.php|\.exe))$/i','test.OK');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Yhf6
function name:  (null)
number of ops:  33
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%5E.%2B%28%3F%21%28%5C.php%7C%5C.exe%29%29%24%2Fi'
          2        SEND_VAL                                                 'test.PHP'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'preg_match'
          5        SEND_VAL                                                 '%2F%5E.%2B%28%3F%21%28%5C.php%7C%5C.exe%29%29%24%2Fi'
          6        SEND_VAL                                                 'test.php'
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'preg_match'
          9        SEND_VAL                                                 '%2F%5E.%2B%28%3F%21%28%5C.php%7C%5C.exe%29%29%24%2Fi'
         10        SEND_VAL                                                 'test.EXE'
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'preg_match'
         13        SEND_VAL                                                 '%2F%5E.%2B%28%3F%21%28%5C.php%7C%5C.exe%29%29%24%2Fi'
         14        SEND_VAL                                                 'test.exe'
         15        DO_ICALL                                                 
    6    16        INIT_FCALL                                               'preg_match'
         17        SEND_VAL                                                 '%2F%5E.%2B%28%3F%21%28%5C.php%7C%5C.exe%29%29%24%2Fi'
         18        SEND_VAL                                                 'test.zip'
         19        DO_ICALL                                                 
    7    20        INIT_FCALL                                               'preg_match'
         21        SEND_VAL                                                 '%2F%5E.%2B%28%3F%21%28%5C.php%7C%5C.exe%29%29%24%2Fi'
         22        SEND_VAL                                                 'test.ZIP'
         23        DO_ICALL                                                 
    8    24        INIT_FCALL                                               'preg_match'
         25        SEND_VAL                                                 '%2F%5E.%2B%28%3F%21%28%5C.php%7C%5C.exe%29%29%24%2Fi'
         26        SEND_VAL                                                 'test.ok'
         27        DO_ICALL                                                 
    9    28        INIT_FCALL                                               'preg_match'
         29        SEND_VAL                                                 '%2F%5E.%2B%28%3F%21%28%5C.php%7C%5C.exe%29%29%24%2Fi'
         30        SEND_VAL                                                 'test.OK'
         31        DO_ICALL                                                 
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.37 ms | 1396 KiB | 15 Q