3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('~[\\\\a-z0-9_]~', 'a\\\\b', $matches); print_r($matches); preg_match_all('~[a-z0-9_\\\\]~', 'a\\\\b', $matches); print_r($matches); preg_match_all('~[\\d-z]~', 'a\\\\b', $matches); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QuZv8
function name:  (null)
number of ops:  25
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match_all'
          1        SEND_VAL                                                 '%7E%5B%5C%5Ca-z0-9_%5D%7E'
          2        SEND_VAL                                                 'a%5C%5Cb'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'preg_match_all'
          9        SEND_VAL                                                 '%7E%5Ba-z0-9_%5C%5C%5D%7E'
         10        SEND_VAL                                                 'a%5C%5Cb'
         11        SEND_REF                                                 !0
         12        DO_ICALL                                                 
    6    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
    8    16        INIT_FCALL                                               'preg_match_all'
         17        SEND_VAL                                                 '%7E%5B%5Cd-z%5D%7E'
         18        SEND_VAL                                                 'a%5C%5Cb'
         19        SEND_REF                                                 !0
         20        DO_ICALL                                                 
    9    21        INIT_FCALL                                               'print_r'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.66 ms | 1395 KiB | 17 Q