[php-src] Issue #8355: char CData can't be directly assigned a number
| From: | cmb69 | Date: | Wed, 13 Apr 2022 14:04:59 +0000 |
| Subject: | [php-src] Issue #8355: char CData can't be directly assigned a number | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240925@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8355
Comment Author: cmb69
> It's somewhat weird to have to type cast around, […]
Well, you don't have to; you just need to assign a one-character string (e.g.
chr(65)). It might make sense to lift this restriction, but I don't consider the
current behavior a serious issue.