Date: 12/21/00
- Next message: Hartmut Holzgraefe: "[PHP-DEV] Re: [PHP-QA] 4.0.4 Release (Summary of thoughts)"
- Previous message: kalowsky <email protected>: "[PHP-DEV] PHP 4.0 Bug #6341 Updated: floating point exception on session.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: webbox <email protected>
Operating system: Linux (Debian 2.0.36)
PHP version: 4.0.0
PHP Bug Type: *Regular Expressions
Bug description: split() and explode() only accepts 2 parameters
The optional limit parameter produces the following error messages when given to the functios explode() and split():
Warning: Wrong parameter count for explode() in path/to/file.php on line xxx
Warning: unexpected regex error (13) in
path/to/file.php on line xxx
The PHP code I executed was
list ($t1, $t2, $t3) = explode ($find, $string, 3);
list ($t1, $t2, $t3) = split ($find, $string, 3);
-- Edit Bug report at: http://bugs.php.net/?id=8355&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Hartmut Holzgraefe: "[PHP-DEV] Re: [PHP-QA] 4.0.4 Release (Summary of thoughts)"
- Previous message: kalowsky <email protected>: "[PHP-DEV] PHP 4.0 Bug #6341 Updated: floating point exception on session.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

