Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [php] mb_eregi
Forum PHP.pl > Forum > PHP
fernet
Przeczyalem w manualu ze jesli chce badac wyrazeniami regularnymi stringi utf-8 to musze uzyc do tego funkcji mb_eregi tylko ze ona mi nie dzala z tego co tu widze wersja php jaka mam jest odpowiadnia i nie musze dodawac zadnych dodatkowych bibliotek w czym moze tkwic problem?

Fatal error: Call to undefined function mb_eregi()...

Za pomoc i zainteresowanie z gory dziekuje i pozdrawiam
starach
http://pl.php.net/manual/pl/ref.mbstring.php

Instalacja

mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option. See the Install section for details.

The following configure options are related to the mbstring module.

*

--enable-mbstring: Enable mbstring functions. This option is required to use mbstring functions.

libmbfl™ is necesarry for mbstring. libmbfl™ is bundled with mbstring. If libmbfl™ is already installed on the system, --with-libmbfl[=DIR] can be specified to use the installed library.

As of PHP 4.3.0, mbstring extension provides enhanced support for Simplified Chinese, Traditional Chinese, Korean, and Russian in addition to Japanese.

For PHP 4.3.3 or before, To enable that feature, you will have to supply either one of the following options to the LANG parameter of --enable-mbstring=LANG; --enable-mbstring=cn for Simplified Chinese support, --enable-mbstring=tw for Traditional Chinese support, --enable-mbstring=kr for Korean support, --enable-mbstring=ru for Russian support, and --enable-mbstring=ja for Japanese support (default). To enable all supported encoding, use --enable-mbstring=all.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.