3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("pcre.jit", "0"); $regex = '/(^|[\n\s\>\\";]+)([^ \,"\t\n\r<>;]+\.[^ \,\"\t\n\r<]+)/iu'; $text = 'This is a normal text. http://vg.no, VG'; preg_match_all($regex, $text, $matches); print_r($matches); $text = 'This is normal text. http://vg.no, VG'; preg_match_all($regex, $text, $matches); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I8BQ4
function name:  (null)
number of ops:  24
compiled vars:  !0 = $regex, !1 = $text, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'pcre.jit'
          2        SEND_VAL                                                 '0'
          3        DO_ICALL                                                 
    5     4        ASSIGN                                                   !0, '%2F%28%5E%7C%5B%5Cn%5Cs%5C%3E%5C%22%3B%5D%2B%29%28%5B%5E+%5C%2C%22%5Ct%5Cn%5Cr%3C%3E%3B%5D%2B%5C.%5B%5E+%5C%2C%5C%22%5Ct%5Cn%5Cr%3C%5D%2B%29%2Fiu'
    7     5        ASSIGN                                                   !1, 'This+is+a+normal+text.+http%3A%2F%2Fvg.no%2C+VG'
    8     6        INIT_FCALL                                               'preg_match_all'
          7        SEND_VAR                                                 !0
          8        SEND_VAR                                                 !1
          9        SEND_REF                                                 !2
         10        DO_ICALL                                                 
    9    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                                 
   11    14        ASSIGN                                                   !1, 'This+is+normal+text.+http%3A%2F%2Fvg.no%2C+VG'
   12    15        INIT_FCALL                                               'preg_match_all'
         16        SEND_VAR                                                 !0
         17        SEND_VAR                                                 !1
         18        SEND_REF                                                 !2
         19        DO_ICALL                                                 
   13    20        INIT_FCALL                                               'print_r'
         21        SEND_VAR                                                 !2
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.63 ms | 1395 KiB | 19 Q