Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 25) sorted by relevance

/webtrees/app/Census/
H A DCensusColumnBirthPlace.php24 use function strlen; alias
49 if (substr($birth_place, -strlen($census_place) - 2) === ', ' . $census_place) {
50 return substr($birth_place, 0, -strlen($census_place) - 2);
/webtrees/tests/
H A DTestCase.php51 use function strlen; alias
225 $this->validateHtml(substr($html, strlen('<DOCTYPE html>')));
244 $html = substr($html, strlen($match[0]));
271 $html = substr($html, strlen($match[0]));
/webtrees/app/Encodings/
H A DAbstractUTF16Encoding.php26 use function strlen; alias
46 $len = strlen($text);
131 return 2 * intdiv(strlen($text), 2);
H A DAbstractEncoding.php27 use function strlen; alias
98 return $pos + strlen($char);
/webtrees/app/Report/
H A DRightToLeftSupport.php29 use function strlen; alias
159 if (strlen($element) < 7 && $temp === '<br') {
638 self::$posSpanStart = strlen($result);
1113 $posDashString = strlen($textSpan) - 2;
1125 $newLength = strlen($textSpan) + $countLeadingSpaces;
1132 $newLength = strlen(self::$waitingText) + $countTrailingSpaces;
1136 $newLength = strlen($textSpan) + $countTrailingSpaces;
H A DReportParserGenerate.php78 use function strlen; alias
1638 if (strlen($temp) > 3) {
/webtrees/app/
H A DI18N.php47 use function strlen; alias
506 $strlen = strlen($string);
507 while ($pos < $strlen) {
H A DSoundex.php24 use function strlen; alias
706 $lastPos = strlen($name) - 1;
732 $currPos += strlen($thisEntry);
H A DView.php39 use function strlen; alias
240 …$explicit = strncmp($view_name, self::NAMESPACE_SEPARATOR, strlen(self::NAMESPACE_SEPARATOR)) === …
/webtrees/app/Services/
H A DRelationshipService.php42 use function strlen; alias
1311 $up = intdiv(strlen($match[1]), 3);
1519 …$down = intdiv(strlen($match[1]), 3) + 1; // Add one, as we count generations from the common anc…
1812 $up = intdiv(strlen($match[1]), 3);
1969 $up = intdiv(strlen($match[1]), 3);
2105 $up = intdiv(strlen($ascent), 3);
2106 $down = intdiv(strlen($descent), 3);
2207 if ($relationship === '' || strlen($tmp) < strlen($relationship)) {
H A DRomanNumeralsService.php23 use function strlen; alias
85 $roman = substr($roman, strlen($value));
H A DRateLimitService.php31 use function strlen; alias
101 $max = intdiv(256, strlen($this->now . ','));
H A DUpgradeService.php52 use function strlen; alias
164 if ($bytes_written !== strlen($data)) {
H A DGedcomExportService.php60 use function strlen; alias
265 if ($bytes_written !== strlen($gedcom)) {
H A DGedcomImportService.php59 use function strlen; alias
208 $data = substr($data, strlen($GEDCOM_MEDIA_PATH));
H A DModuleService.php271 use function strlen; alias
699 return strlen($module_name) <= 30;
/webtrees/app/Module/
H A DModuleMapAutocompleteTrait.php30 use function strlen; alias
51 if (strlen($place) <= 2) {
H A DModuleMapGeoLocationTrait.php33 use function strlen; alias
61 if (strlen($place) <= 2) {
H A DDescendancyModule.php31 use function strlen; alias
90 if (strlen($search) >= 2) {
/webtrees/app/Factories/
H A DRouteFactory.php35 use function strlen; alias
78 $url = $base_url . substr($url, strlen($base_path));
/webtrees/app/CommonMark/
H A DCensusTableContinueParser.php36 use function strlen; alias
86 return substr($text, strlen(CensusTableExtension::TH_PREFIX));
/webtrees/tests/app/Encodings/
H A DAnselTest.php36 use function strlen; alias
187 $expected = str_repeat(UTF8::REPLACEMENT_CHARACTER, strlen($chars));
/webtrees/app/Http/RequestHandlers/
H A DGedcomLoad.php39 use function strlen; alias
176 … $data->chunk_data = substr($data->chunk_data, strlen(UTF8::BYTE_ORDER_MARK));
H A DManageMediaData.php52 use function strlen; alias
249 $tmp = substr($row[0], strlen($media_directory));
/webtrees/
H A Dphpstan-baseline.neon2188 message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'