Unserialize variable
XML
<unserialize var="var">
string
</unserialize>
<unserialize /> generates a value from a stored representation.
<unserialize /> is the complement of the SERIALIZE operation.
Attributes
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Result variable name | unserialize |
Results
| Binding | Type | Predicate |
|---|---|---|
| var | N/A |
Examples
XML
<unserialize var="names">a:2:{s:2:"bg";s:10:"Bill Gates";s:2:"sj";s:10:"Steve Jobs";}</unserialize>
<output>$names.bg</output>
<!-- Bill Gates -->