note 113710 added to function.json-encode
| From: | emmanuel dot antico at gmail dot com | Date: | Tue, 19 Nov 2013 15:15:46 +0000 |
| Subject: | note 113710 added to function.json-encode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197566@lists.php.net to get a copy of this message | ||
I'd like to point a tiny mistake on the second example.
<?php
$a =
array('<foo>',"'bar'",'"baz"','&blong&');
?>
Should be replaced with
<?php
$a = array('<foo>', "'bar'", '"baz"',
'&blong&', "é");
?>
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.json-encode.php
Edit -- https://master.php.net/note/edit/113710
Del: integrated -- https://master.php.net/note/delete/113710/integrated
Del: useless -- https://master.php.net/note/delete/113710/useless
Del: bad code -- https://master.php.net/note/delete/113710/bad+code
Del: spam -- https://master.php.net/note/delete/113710/spam
Del: non-english -- https://master.php.net/note/delete/113710/non-english
Del: in docs -- https://master.php.net/note/delete/113710/in+docs
Del: other reasons-- https://master.php.net/note/delete/113710
Reject -- https://master.php.net/note/reject/113710
Search -- https://master.php.net/manage/user-notes.php