Validation::exact_length

Validation::exact_length — Checks if the data is exactly n long.

Description

public mixed Validation::exact_length ( mixed $data, int $length )

Parameters

  1. data
    The data to be checked (array, string or integer)
  2. length
    A number

Return Values

TRUE if valid, FALSE otherwise.

validation/exact_length.txt · Last modified: 2010/07/21 21:22 by davids
Back to top
CC Attribution-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0