3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = "/[^:alpha:0-9_\s\'-]/i"; preg_match($pattern, "test#dsd", $matches); var_dump($matches); preg_match($pattern, "ajedrez español", $matches2); var_dump($matches2); preg_match($pattern, "my clúb", $matches3); var_dump($matches3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G2EUF
function name:  (null)
number of ops:  26
compiled vars:  !0 = $pattern, !1 = $matches, !2 = $matches2, !3 = $matches3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2F%5B%5E%3Aalpha%3A0-9_%5Cs%5C%27-%5D%2Fi'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'test%23dsd'
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'preg_match'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 'ajedrez+espa%C3%B1ol'
         12        SEND_REF                                                 !2
         13        DO_ICALL                                                 
    7    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
    8    17        INIT_FCALL                                               'preg_match'
         18        SEND_VAR                                                 !0
         19        SEND_VAL                                                 'my+cl%C3%BAb'
         20        SEND_REF                                                 !3
         21        DO_ICALL                                                 
    9    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !3
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.23 ms | 1400 KiB | 17 Q