ID:          38139
 Updated by:  [EMAIL PROTECTED]
 Reported By: phpbugs at personal dot formauri dot es
-Status:      Open
+Status:      Closed
 Bug Type:    Documentation problem
 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-07-19 10:53:40] phpbugs at personal dot formauri dot es

Description:
------------
Concerning the spanish version of the documentation:

http://es2.php.net/manual/es/function.strspn.php

The second example (the one demonstrating the extra start/length
parameters) reads:

echo strspn("prueba", "u", 1, 4); // La salida es: 2

(La salida es: 2 = The output is: 2)

This is wrong; the output is 0. I suggest the following example
instead:

echo strspn("zoologĂ­a", "o", 1, 3); // La salida es: 2




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


-- 
Edit this bug report at http://bugs.php.net/?id=38139&edit=1

Reply via email to