encyclopegia.org

PHP serialization format

The PHP serialization format is the serialization format used by the PHP programming language. The format can serialize PHP's primitive and compound types, and also properly serializes references. The format was first introduced in PHP 4. In addition to PHP, the format is also used by some third-party applications that are often integrated with PHP applications, for example by Lucene/Solr.

The PHP serialization format is the serialization format used by the PHP programming language. The format can serialize PHP's primitive and compound types, and also properly serializes references. The format was first introduced in PHP 4. In addition to PHP, the format is also used by some third-party applications that are often integrated with PHP applications, for example by Lucene/Solr. ==Syntax== The syntax generally follows the pattern of one-letter code of the variable type, followed by a colon and the length of the data, followed by the variable value, and ending with a semicolon. For the associative array, the format is ; , repeated for each association/pair in the array. ==References==

References

No reference rows published for this article.

Cite this article

MLA

"PHP serialization format." encyclopegia.org, 2025, https://encyclopegia.org/wiki/php-serialization-format. Accessed 24 November 2026.

Chicago

"PHP serialization format." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/php-serialization-format.

APA

encyclopegia.org. (2025). PHP serialization format. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/php-serialization-format

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1278959263 · 0.5 · snapshot enwiki-001278959263

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.