3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match_all('/#(([^#\s]+\s)|([^#\s]+\b))/', '#中文 tag 1 #tag3', $r)); var_dump($r);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tTaln
function name:  (null)
number of ops:  12
compiled vars:  !0 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%23%28%28%5B%5E%23%5Cs%5D%2B%5Cs%29%7C%28%5B%5E%23%5Cs%5D%2B%5Cb%29%29%2F'
          3        SEND_VAL                                                 '%23%E4%B8%AD%E6%96%87+tag+1+%23tag3'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.11 ms | 1394 KiB | 17 Q