|   |   | 
| $serialize Encodes variable to JSON string | 
| Usage | 
| <string> $serialize(<data:mixed>) | 
| Description | 
| Decodes JSON-encoded string $serialize() returns a string containing a byte-stream representation of value that can be stored anywhere. | 
| See also | 
| $unserialize |