note 71575 deleted from function.ctype-space by nlopess
| From: | nlopess@php.net | Date: | Thu, 07 Dec 2006 18:08:13 +0000 |
| Subject: | note 71575 deleted from function.ctype-space by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-120387@lists.php.net to get a copy of this message | ||
Note Submitter: dweingart at pobox dot com
----
Wes Peters' note is no longer true in PHP 5.2. Now, ctype_space returns false for the empty
string (which I think is the proper result anyway).
<?php
$foo = '';
var_dump(ctype_space($foo));
// false
?>
According the notes on bug #30945, the change likely came in PHP 5.1, but I haven't tested it.