Lines Matching refs:input
336 * @param mixed $input
340 public static function detectFormat(&$input)
342 $input = (string) $input;
344 fwrite($mem, $input, 11); // Write 11 bytes - we can detect the vast majority of formats in the first 11 bytes
350 // If bytes is empty, then we were passed empty input
357 $input = ltrim($input);
358 return geoPHP::detectFormat($input);
377 if ($bytes[1] == 48 && ($bytes[2] == 49 || $bytes[2] == 48) && strlen($input) > 12) {
391 if (substr($input, 0, 5) === 'SRID=') {
396 if (Adapter\WKT::isWktType(strstr($input, ' ', true))) {
403 $string = substr($input, 0, 1024);
427 if (isset($matches[0]) && $matches[0] == $string && strlen($input) <= 13) {