3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = <<<AAA County Road 99 Sauk Centre, Minnesota 56378 USA AAA; if (preg_match('~(\w+)\R\p{L}+$~u', $str, $m)) { print_r($m); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/ebOeW
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str, !1 = $m
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'County+Road+99%0ASauk+Centre%2C++Minnesota+56378%0AUSA'
    9     1        INIT_FCALL                                                   'preg_match'
          2        SEND_VAL                                                     '%7E%28%5Cw%2B%29%5CR%5Cp%7BL%7D%2B%24%7Eu'
          3        SEND_VAR                                                     !0
          4        SEND_REF                                                     !1
          5        DO_ICALL                                             $3      
          6      > JMPZ                                                         $3, ->10
   10     7    >   INIT_FCALL                                                   'print_r'
          8        SEND_VAR                                                     !1
          9        DO_ICALL                                                     
   11    10    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.07 ms | 1859 KiB | 15 Q