note 78171 deleted from function.html-entity-decode by danbrown
| From: | danbrown@php.net | Date: | Tue, 10 Jan 2012 20:12:22 +0000 |
| Subject: | note 78171 deleted from function.html-entity-decode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185530@lists.php.net to get a copy of this message | ||
Note Submitter: Hayley Watson
----
Fabian's observation that chr(039) returns "a heart character" is explained by the
fact that numeric literals that start with '0' are interpreted in base 8, which
doesn't have a digit '9'. So 039==3 and hence chr(039) is equivalent to chr(3), NOT
chr(39).