3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ClientAddress = "5 street name\n35230 Village"; $AdOk = preg_match("/^([0-9a-zA-Z-, '\\n]+)(\\d{5})([, ]+)([0-9a-zA-Z-, '\\n]+)$/iu", $ClientAddress, $match); var_dump($address, $AdOk, $match); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PCGN0
function name:  (null)
number of ops:  13
compiled vars:  !0 = $ClientAddress, !1 = $AdOk, !2 = $match, !3 = $address
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '5+street+name%0A35230+Village'
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%28%5B0-9a-zA-Z-%2C+%27%5Cn%5D%2B%29%28%5Cd%7B5%7D%29%28%5B%2C+%5D%2B%29%28%5B0-9a-zA-Z-%2C+%27%5Cn%5D%2B%29%24%2Fiu'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !2
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !1, $5
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !3
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
    8    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.33 ms | 1394 KiB | 17 Q