PHP funkce serialize()
📅 06. 07. 2020Dostupnost ve verzích: PHP 4.0
Generates a storable representation of a value
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$value | mixed | The value to be serialized. serialize handles all types, except the resource-type. You can even serialize arrays that contain references to itself. Circular references inside the array/object you are serializing will also be stored. Any other reference will be lost. |
Návratové hodnoty
string
a string containing a byte-stream representation of value that can be stored anywhere.
Další zdroje
Jan Barášek Více o autorovi
Autor článku podniká jako fullstack senior developer v Praze. Spravuje 300 různě velkých webových projektů, fungujících dodnes. Během spolupráce nabral hluboké zkušenosti, které na tomto webu předává dál.
Rád vám pomůžu:
Kontakt Konzultace a služby Nabídka spolupráce