PHP Manual

PHP funkce php_strip_whitespace()

2019-09-11T08:04:03.000Z

Obsah článku

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

Jan Barášek   Více o autorovi

Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.

Rád vám pomůžu:

Související články

1.
225.

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, pokud si nevíte rady.

Lektor: Jan Barášek

V jiných jazycích

Status:
All systems normal.
2025