---
title: "PHP 反序列化 - 免費線上工具 - AllTools - 全能工具箱"
description: "線上解析 PHP serialize 格式的字串，把 a:s:i 等型別標記展開為可讀的樹狀結構，展示物件屬性與陣列階層，方便排查 Session、快取與舊 API 資料。AllTools 提供免費線上工具，開啟網頁即可使用，無需安裝或登入，資料在瀏覽器本機處理。"
canonical_url: "https://tool.warmday.wang/zh-Hant/dev/php-unserialize"
meta:
  author: AllTools
  keywords: "線上工具箱, AllTools, 實用工具, 生活常用, 數學計算, 文字處理, 圖片處理, 開發者工具, PDF 工具, 單位換算, 免費工具, 免登入工具"
  "og:description": "線上解析 PHP serialize 格式的字串，把 a:s:i 等型別標記展開為可讀的樹狀結構，展示物件屬性與陣列階層，方便排查 Session、快取與舊 API 資料。AllTools 提供免費線上工具，開啟網頁即可使用，無需安裝或登入，資料在瀏覽器本機處理。"
  "og:image": "https://tool.warmday.wang/img/og-cover.png"
  "og:image:alt": "AllTools - 全能工具箱 Logo"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "PHP 反序列化 - 免費線上工具"
  "twitter:image": "https://tool.warmday.wang/img/og-cover.png"
---

> Index of every page on this site: [llms.txt](https://tool.warmday.wang/llms.txt)

# **PHP 反序列化**

線上剖析 PHP serialize 格式，以視覺化方式呈現資料結構。

**PHP 序列化字串**

**剖析結果**

### **PHP 序列化格式參考**

**N****null**

`N;`

**b****布林值**

`b:1; / b:0;`

**i****整數**

`i:42;`

**d****浮點數**

`d:3.14;`

**s****字串**

`s:5:"hello";`

**a****陣列**

`a:2:{i:0;s:3:"foo";i:1;s:3:"bar";}`

**O****物件**

`O:8:"stdClass":1:{...}`

### **使用說明**

#### **功能介紹**

本工具可線上剖析 PHP serialize 格式字串，以視覺化方式呈現資料結構，支援多種輸出格式。

#### **操作步驟**

在輸入框貼上 PHP 序列化字串，點選按鈕剖析，結果區將顯示剖析後的資料結構。

#### **注意事項**

所有剖析作業都在瀏覽器本機完成，資料不會上傳到伺服器。

## **同類工具**

同一個分類下還有這些 · 開發工具

[**Cron 運算式**視覺化產生 Cron 排程任務運算式，點選分、時、日、月、週欄位並即時預覽未來多次執行時間，適配排程調度。告別手寫五段式語法易錯難題，穩定設定背景任務。](https://tool.warmday.wang/zh-Hant/dev/cron) [**JSON 格式化**JSON 資料美化、壓縮與語法校驗，自動定位括號缺失與逗號錯誤，支援摺疊展開，輔助 API 排查設定整理。適配前後端聯合除錯與設定檔整理，快速排查回應資料結構。](https://tool.warmday.wang/zh-Hant/dev/json) [**時間戳記轉換**Unix 時間戳記與本機日期雙向轉換，支援秒級與毫秒級精度，自動同步目前時間戳記，方便排查日誌時間軸、快取到期與 API 時間欄位問題。](https://tool.warmday.wang/zh-Hant/dev/timestamp) [**正規表達式測試**線上測試正規表達式，輸入文字即時標示符合結果，視覺化展示分組擷取與取代效果，支援 g/i/m 等旗標切換，方便撰寫與除錯複雜正規表達式。](https://tool.warmday.wang/zh-Hant/dev/regex) [**JWT 解析**將 JWT 依 base64url 拆解為 Header、Payload 與 Signature 三段，解碼並展示宣告欄位與到期時間，無需金鑰即可檢視 Token 載荷內容，方便排查 API 驗證授權。](https://tool.warmday.wang/zh-Hant/dev/jwt-parser) [**JWT 產生**線上簽發 JSON Web Token，可自訂 Header 演算法、Payload 宣告與到期時間，支援 HS256、RS256、ES256 等簽章方式，方便聯合除錯驗證授權流程產生測試 Token。](https://tool.warmday.wang/zh-Hant/dev/jwt-generator)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://tool.warmday.wang/#organization","name":"AllTools","alternateName":"AllTools - 全能工具箱","url":"https://tool.warmday.wang/","logo":{"@type":"ImageObject","url":"https://tool.warmday.wang/img/logo.png","width":512,"height":512}},{"@type":"WebSite","@id":"https://tool.warmday.wang/zh-Hant#website","url":"https://tool.warmday.wang/zh-Hant","name":"AllTools - 全能工具箱","inLanguage":"zh-Hant","publisher":{"@id":"https://tool.warmday.wang/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://tool.warmday.wang/zh-Hant?q={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebPage","@id":"https://tool.warmday.wang/zh-Hant/dev/php-unserialize#webpage","url":"https://tool.warmday.wang/zh-Hant/dev/php-unserialize","isPartOf":{"@id":"https://tool.warmday.wang/zh-Hant#website"},"inLanguage":"zh-Hant","name":"PHP 反序列化 - 免費線上工具","description":"線上解析 PHP serialize 格式的字串，把 a:s:i 等型別標記展開為可讀的樹狀結構，展示物件屬性與陣列階層，方便排查 Session、快取與舊 API 資料。AllTools 提供免費線上工具，開啟網頁即可使用，無需安裝或登入，資料在瀏覽器本機處理。"},{"@type":"SoftwareApplication","@id":"https://tool.warmday.wang/zh-Hant/dev/php-unserialize#app","name":"PHP 反序列化 - 免費線上工具","description":"線上解析 PHP serialize 格式的字串，把 a:s:i 等型別標記展開為可讀的樹狀結構，展示物件屬性與陣列階層，方便排查 Session、快取與舊 API 資料。AllTools 提供免費線上工具，開啟網頁即可使用，無需安裝或登入，資料在瀏覽器本機處理。","url":"https://tool.warmday.wang/zh-Hant/dev/php-unserialize","applicationCategory":"DeveloperApplication","operatingSystem":"Web","inLanguage":"zh-Hant","isPartOf":{"@id":"https://tool.warmday.wang/zh-Hant/dev/php-unserialize#webpage"},"offers":{"@type":"Offer","price":"0","priceCurrency":"CNY"}},{"@type":"BreadcrumbList","@id":"https://tool.warmday.wang/zh-Hant/dev/php-unserialize#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"首頁","item":"https://tool.warmday.wang/zh-Hant"},{"@type":"ListItem","position":2,"name":"開發工具","item":"https://tool.warmday.wang/zh-Hant/dev"},{"@type":"ListItem","position":3,"name":"PHP 反序列化","item":"https://tool.warmday.wang/zh-Hant/dev/php-unserialize"}]}]}
```

## Sitemap

See the full [sitemap](https://tool.warmday.wang/sitemap.md) for all pages.
