3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.26 ms | 1394 KiB | 15 Q