3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = '/((?<!\w)#\w+)/i'; $subject = <<<EOT Blablalb #toto zdjsdf #ho_yeah EOT; $result = []; preg_match_all('/((?<!\w)#\w+)/i', $subject, $result); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mXk6f
function name:  (null)
number of ops:  12
compiled vars:  !0 = $pattern, !1 = $subject, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '%2F%28%28%3F%3C%21%5Cw%29%23%5Cw%2B%29%2Fi'
    5     1        ASSIGN                                                   !1, 'Blablalb+%23toto+zdjsdf+%23ho_yeah'
    8     2        ASSIGN                                                   !2, <array>
   10     3        INIT_FCALL                                               'preg_match_all'
          4        SEND_VAL                                                 '%2F%28%28%3F%3C%21%5Cw%29%23%5Cw%2B%29%2Fi'
          5        SEND_VAR                                                 !1
          6        SEND_REF                                                 !2
          7        DO_ICALL                                                 
   13     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.74 ms | 1394 KiB | 17 Q