3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(fnmatch( 'C:\dvl\Workspace\phpstan-src-staabm\tests\PHPStan\File\*', 'C:\dvl\Workspace\phpstan-src-staabm\tests\PHPStan\File/data/excluded-file.php', FNM_NOESCAPE | FNM_CASEFOLD )); var_dump(fnmatch( 'C:\dvl\Workspace\phpstan-src-staabm\tests\PHPStan\File\*', 'C:\dvl\Workspace\phpstan-src-staabm\tests\PHPStan\File\data\excluded-file.php', FNM_NOESCAPE | FNM_CASEFOLD ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WAAkK
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'fnmatch'
    4     2        SEND_VAL                                                 'C%3A%5Cdvl%5CWorkspace%5Cphpstan-src-staabm%5Ctests%5CPHPStan%5CFile%5C%2A'
    5     3        SEND_VAL                                                 'C%3A%5Cdvl%5CWorkspace%5Cphpstan-src-staabm%5Ctests%5CPHPStan%5CFile%2Fdata%2Fexcluded-file.php'
    6     4        SEND_VAL                                                 18
    3     5        DO_ICALL                                         $0      
    6     6        SEND_VAR                                                 $0
    3     7        DO_ICALL                                                 
    9     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'fnmatch'
   10    10        SEND_VAL                                                 'C%3A%5Cdvl%5CWorkspace%5Cphpstan-src-staabm%5Ctests%5CPHPStan%5CFile%5C%2A'
   11    11        SEND_VAL                                                 'C%3A%5Cdvl%5CWorkspace%5Cphpstan-src-staabm%5Ctests%5CPHPStan%5CFile%5Cdata%5Cexcluded-file.php'
   12    12        SEND_VAL                                                 18
    9    13        DO_ICALL                                         $2      
   12    14        SEND_VAR                                                 $2
    9    15        DO_ICALL                                                 
   13    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
132.73 ms | 1011 KiB | 15 Q