PHP funkce str_ireplace()

Dostupnost ve verzích: PHP 5.0

Case-insensitive version of str_replace.

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$search mixed není Every replacement with search array is performed on the result of previous replacement.
$replace mixed není
$subject mixed není If subject is an array, then the search and replace is performed with every entry of subject, and the return value is an array as well.
$count int null The number of matched and replaced needles will be returned in count which is passed by reference.

mixed

a string or an array of replacements.

Další zdroje

Oficiální dokumentace funkce str-ireplace

AI konzultace & implementace

Pomohu vám zavést AI do vašeho projektu– od analýzy a návrhu řešení až po nasazení do produkce. Ušetřete čas, zjednodušte procesy a získejte konkurenční výhodu.

Domluvit konzultaci
Konzultant: Jan Barášek
Potřebujete poradit s PHP?

Nabízím trénink vývojářů, konzultace, školení a analýzu návrhových vzorů. Osobně v Praze nebo online.

Napište mi

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.