src/POData/Providers/Metadata/Type/Int64.php
/**
     * Validate a value in Astoria uri is in a format for this type
     * Note: implementation of IType::validate
     * 
     * @param string $value     The value to validate 
     * @param string &$outValue The stripped form of $value that can
     *                          be used in PHP expressions
     * 
     * @return boolean
     */
Validate a value in Astoria uri is in a format for this type
Note: implementation of IType::validate

@param string $value     The value to validate
@param string &$outValue The stripped form of $value that can
be used in PHP expressions

@return boolean
Validate a value in Astoria uri is in a format for this type Note : implementation of IType :: validate @param string $value The value to validate @param string &$outValue The stripped form of $value that can be used in PHP expressions @return boolean
public function validate($value, &$outValue)
    {
        if (preg_match('/^(\-)?\d+[lL]{1}$/', $value) !== 1) {
            return false;
        }
        $outValue = rtrim(rtrim($value, 'L'), 'l');
        return true;
    }
public function validate ( $ value , & $ outValue ) { if ( preg_match ( '/^(\-)?\d+[lL]{1}$/' , $ value ) !== 1 ) { return false ; } $ outValue = rtrim ( rtrim ( $ value , 'L' ) , 'l' ) ; return true ; }
Validate a value in Astoria uri is in a format for this type
 Note: implementation of IType::validate
Validate a value in Astoria uri is in a format for this type Note : implementation of IType :: validate
// In PHP there is no difference b/w int and long int.  // The postfix 'L' is not valid in PHP