note 100935 rejected from function.json-encode by danbrown

From: Date: Tue, 16 Nov 2010 13:05:11 +0000
Subject: note 100935 rejected from function.json-encode by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-174070@lists.php.net to get a copy of this message
Note Submitter: commander238 at seznam dot cz ---- There is a minor mistake in your __json_encode function - the FORM FEED character should be written as chr(12) because the escape sequence \f only works in PHP 5.2.5 and higher, in older versions I get the letter f escaped, which damages the data.

« previous php.notes (#174070) next »