/webtrees/app/Census/ |
H A D | CensusColumnBirthPlace.php | 24 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 D | TestCase.php | 51 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 D | AbstractUTF16Encoding.php | 26 use function strlen; alias 46 $len = strlen($text); 131 return 2 * intdiv(strlen($text), 2);
|
H A D | AbstractEncoding.php | 27 use function strlen; alias 98 return $pos + strlen($char);
|
/webtrees/app/Report/ |
H A D | RightToLeftSupport.php | 29 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 D | ReportParserGenerate.php | 78 use function strlen; alias 1638 if (strlen($temp) > 3) {
|
/webtrees/app/ |
H A D | I18N.php | 47 use function strlen; alias 506 $strlen = strlen($string); 507 while ($pos < $strlen) {
|
H A D | Soundex.php | 24 use function strlen; alias 706 $lastPos = strlen($name) - 1; 732 $currPos += strlen($thisEntry);
|
H A D | View.php | 39 use function strlen; alias 240 …$explicit = strncmp($view_name, self::NAMESPACE_SEPARATOR, strlen(self::NAMESPACE_SEPARATOR)) === …
|
/webtrees/app/Services/ |
H A D | RelationshipService.php | 42 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 D | RomanNumeralsService.php | 23 use function strlen; alias 85 $roman = substr($roman, strlen($value));
|
H A D | RateLimitService.php | 31 use function strlen; alias 101 $max = intdiv(256, strlen($this->now . ','));
|
H A D | UpgradeService.php | 52 use function strlen; alias 164 if ($bytes_written !== strlen($data)) {
|
H A D | GedcomExportService.php | 60 use function strlen; alias 265 if ($bytes_written !== strlen($gedcom)) {
|
H A D | GedcomImportService.php | 59 use function strlen; alias 208 $data = substr($data, strlen($GEDCOM_MEDIA_PATH));
|
H A D | ModuleService.php | 271 use function strlen; alias 699 return strlen($module_name) <= 30;
|
/webtrees/app/Module/ |
H A D | ModuleMapAutocompleteTrait.php | 30 use function strlen; alias 51 if (strlen($place) <= 2) {
|
H A D | ModuleMapGeoLocationTrait.php | 33 use function strlen; alias 61 if (strlen($place) <= 2) {
|
H A D | DescendancyModule.php | 31 use function strlen; alias 90 if (strlen($search) >= 2) {
|
/webtrees/app/Factories/ |
H A D | RouteFactory.php | 35 use function strlen; alias 78 $url = $base_url . substr($url, strlen($base_path));
|
/webtrees/app/CommonMark/ |
H A D | CensusTableContinueParser.php | 36 use function strlen; alias 86 return substr($text, strlen(CensusTableExtension::TH_PREFIX));
|
/webtrees/tests/app/Encodings/ |
H A D | AnselTest.php | 36 use function strlen; alias 187 $expected = str_repeat(UTF8::REPLACEMENT_CHARACTER, strlen($chars));
|
/webtrees/app/Http/RequestHandlers/ |
H A D | GedcomLoad.php | 39 use function strlen; alias 176 … $data->chunk_data = substr($data->chunk_data, strlen(UTF8::BYTE_ORDER_MARK));
|
H A D | ManageMediaData.php | 52 use function strlen; alias 249 $tmp = substr($row[0], strlen($media_directory));
|
/webtrees/ |
H A D | phpstan-baseline.neon | 2188 message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
|