mb_eregi

(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

mb_eregiRegular expression match ignoring case with multibyte support

Beschreibung

mb_eregi(string $pattern, string $string, array &$matches = null): bool

Executes the case insensitive regular expression match with multibyte support.

Parameter-Liste

pattern

The regular expression pattern.

string

The string being searched.

matches

If matches are found for parenthesized substrings of pattern and the function is called with the third argument matches, the matches will be stored in the elements of the array matches. If no matches are found, matches is set to an empty array.

$matches[1] will contain the substring which starts at the first left parenthesis; $matches[2] will contain the substring starting at the second, and so on. $matches[0] will contain a copy of the complete string matched.

Rückgabewerte

Returns whether pattern matches string.

Changelog

Version Beschreibung
8.0.0 This function returns true on success now. Previously, it returned the byte length of the matched string if a match for pattern was found in string and matches was passed. If the optional parameter matches was not passed or the length of the matched string was 0, this function returned 1.
7.1.0 mb_eregi() will now set matches to an empty array, if nothing matched. Formerly, matches was not modified in that case.

Anmerkungen

Hinweis:

Die interne Kodierung oder die mit mb_regex_encoding() festgelegte Zeichenkodierung wird als Zeichenkodierung für diese Funktion genutzt.

Siehe auch

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

Was genau bedeutet "Vibe Coding"? Ein tiefgehender Blick für Entwickler

In der Welt der Softwareentwicklung gibt es unzählige Wege, wie man an ein Projekt herangeht. Manche schwören auf strikte Planung, andere auf bewährte Algorithmen und wieder andere lassen sich von etwas ganz anderem leiten: ihrem Gefühl. ...

admin

Autor : admin
Kategorie: Software & Web-Development

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

+16465806302, Registrierten Führerschein kaufen. NEBOSH, Einbürgerungsurkunden,

+16465806302, Registrierten Führerschein kaufen. NEBOSH. darkwebdocuments.net. Einbürgerungsurkunden, ASP, CSP. Wir sind darauf spezialisiert, ...

Geschrieben von karlmaxis am 08.09.2026 09:29:47
Forum: Jobangebote
+16465806302, Registrierten Führerschein kaufen. NEBOSH. Einbürgerungsurkunden

+16465806302, Registrierten Führerschein kaufen. NEBOSH. Einbürgerungsurkunden, ASP, CSP. Wir sind darauf spezialisiert, Ihnen hochwertige biom ...

Geschrieben von karlmaxis am 08.09.2026 09:28:10
Forum: News / Kostenloses
MMOEXP:EA Sports FC 27: Here’s Everything We Know So Far

MMOEXP offers one of the most reliable solutions for purchasing game currency, items,accounts, and more. You can now use the exclusive discount co ...

Geschrieben von ehju am 08.09.2026 08:09:24
Forum: Off-Topic Diskussionen
100% Pure Research Chemical - Click to Buy Pure Blue Molly Stone, Vyvanse Online

Mega Chemical Island is a top research chemical vendor with many years of supply experience. Mega Chemical Island offers a large number of researc ...

Geschrieben von megachemisland am 07.09.2026 20:25:12
Forum: Provider / Domains