3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_match( '/\\\/', '\\' ); echo preg_match( '/\\\/m', '\\ \\ \\',$assert ); var_dump($assert);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TlRJn
function name:  (null)
number of ops:  15
compiled vars:  !0 = $assert
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%5C%5C%2F'
          2        SEND_VAL                                                 '%5C'
          3        DO_ICALL                                         $1      
          4        ECHO                                                     $1
    3     5        INIT_FCALL                                               'preg_match'
          6        SEND_VAL                                                 '%2F%5C%5C%2Fm'
          7        SEND_VAL                                                 '%5C%0A%5C%0A%5C'
    5     8        SEND_REF                                                 !0
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
    6    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.06 ms | 939 KiB | 18 Q