what should i put in this if statment to save the the current array value to a variable
        Posted  
        
            by Kirk
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Kirk
        
        
        
        Published on 2010-05-14T00:22:29Z
        Indexed on 
            2010/05/14
            0:34 UTC
        
        
        Read the original article
        Hit count: 261
        
php
if (preg_match('/^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$/', $buffer, $matches));
{
    $variable = ?;
}
© Stack Overflow or respective owner