Re:PHP 7 deployment at Dailymotion
by developer2 on Friday October 14, 2016 @08:08PM
(#12711963)
It is in fact documented; what I didn't explain is that ctype_digit treats integers < 127 as chr() equivalents. It's designed to juggle both strings and integers, which indeed works against php's usual method of type juggling. This is because ctype is a port or wrapper around the C lib which behaves as such.
[ Parent
| on HN ]
There are no comments on this comment yet.