PHP funkce php_strip_whitespace()

Dostupnost ve verzích: PHP 5.0

Return source with stripped comments and whitespace

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$filename string není Path to the PHP file.

string

The stripped source code will be returned on success, or an empty string on failure.

This function works as described as of PHP 5.0.1. Before this it would only return an empty string. For more information on this bug and its prior behavior, see bug report #29606.

Další zdroje

Oficiální dokumentace funkce php-strip-whitespace

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.