note 100624 deleted from function.json-encode by pierrick
| From: | pierrick@php.net | Date: | Mon, 22 Nov 2010 22:46:51 +0000 |
| Subject: | note 100624 deleted from function.json-encode by pierrick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174273@lists.php.net to get a copy of this message | ||
Note Submitter: jason at yopmail dot com
----
To compress a PHP array, jason_encode is very useful, just as this example:
echo jason_encode('j\'ai réussi à mettre mac sur mon portable, c\'est trop
bien'); // display => j'rsi amt' osix srmon lptop
53% of free space thanks to jason_encode.