ID:               35356
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mpb dot mail at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2006-04-03 17:10:24] [EMAIL PROTECTED]

It's not only limit and count, also array() syntax of $pattern and
$subject should be mentioned.

"See preg_replace() for description of other parameters."


------------------------------------------------------------------------

[2006-04-01 23:09:08] [EMAIL PROTECTED]

Yes, this is described in preg_replace, but it should also be on the
preg_replace_callback page.

S


------------------------------------------------------------------------

[2006-04-01 16:49:30] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[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

Reply via email to