#35356 [Opn->Bgs]: docs for preg_replace_callback do not document the limit and count parameters

From: Date: Sat, 01 Apr 2006 14:49:32 +0000
Subject: #35356 [Opn->Bgs]: docs for preg_replace_callback do not document the limit and count parameters
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372558@lists.php.net to get a copy of this message
ID: 35356 Updated by: gavinfo@php.net Reported By: mpb dot mail at gmail dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php The description implies (well enough IMHO) that the parameters are the same as for preg_replace, except that a callback should be used in place of the replacement parameter. Previous Comments: ------------------------------------------------------------------------ [2005-11-23 23:16:48] mpb dot mail at gmail dot com Description: ------------ On this page: http://us3.php.net/manual/en/function.preg-replace-callback.php The "limit" and "count" parameters are listed, but not documented. I think they should be documented, even though I personally can guess what they do. The documentation should cover: What does "limit" do? What does "count" do? What is the default limit if no limit is specified? How do you specify no limit? Thanks! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35356&edit=1

« previous php.doc (#969372558) next »