3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.64 ms | 1394 KiB | 17 Q