3v4l.org

run code in 500+ PHP versions simultaneously
<?php $sentence = "Locally meet daily newlywed for next 3 days"; // Use preg_match() function to check match preg_match_all('/\b(?!(?:daily|weekly|monthly))(\w+ly)\b/', $sentence, $matches, PREG_OFFSET_CAPTURE); // Display matches result print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/krAar
function name:  (null)
number of ops:  11
compiled vars:  !0 = $sentence, !1 = $matches
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Locally+meet+daily+newlywed+for+next+3+days'
    6     1        INIT_FCALL                                                   'preg_match_all'
          2        SEND_VAL                                                     '%2F%5Cb%28%3F%21%28%3F%3Adaily%7Cweekly%7Cmonthly%29%29%28%5Cw%2Bly%29%5Cb%2F'
          3        SEND_VAR                                                     !0
          4        SEND_REF                                                     !1
          5        SEND_VAL                                                     256
          6        DO_ICALL                                                     
    9     7        INIT_FCALL                                                   'print_r'
          8        SEND_VAR                                                     !1
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.7 ms | 2194 KiB | 15 Q