#44678 [Opn->Csd]: spliti error message includes wrong function name
| From: | felipe@php.net | Date: | Wed, 09 Apr 2008 13:47:51 +0000 |
| Subject: | #44678 [Opn->Csd]: spliti error message includes wrong function name | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-124118@lists.php.net to get a copy of this message | ||
ID: 44678
Updated by: felipe@php.net
Reported By: robin_fernandes at uk dot ibm dot com
-Status: Open
+Status: Closed
Bug Type: Regexps related
Operating System: Windows
PHP Version: 5.2CVS-2008-04-09 (snap)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-04-09 13:07:50] robin_fernandes at uk dot ibm dot com
Description:
------------
An "Invalid Regular Expression" error message issued by spliti() refers
to function split().
Reproduce code:
---------------
<?php
spliti('()', '');
?>
Expected result:
----------------
Warning: spliti(): Invalid Regular Expression in %s on line 2
Actual result:
--------------
Warning: spliti(): Invalid Regular Expression to split() in %s on line
2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44678&edit=1