aidan Mon Jul 5 11:18:32 2004 EDT
Modified files:
/phpdoc/en/reference/ctype reference.xml
Log:
Added paragraph advocating the use of ctype over other methods
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/reference.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/ctype/reference.xml
diff -u phpdoc/en/reference/ctype/reference.xml:1.6
phpdoc/en/reference/ctype/reference.xml:1.7
--- phpdoc/en/reference/ctype/reference.xml:1.6 Tue Feb 24 03:45:27 2004
+++ phpdoc/en/reference/ctype/reference.xml Mon Jul 5 11:18:32 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<reference id="ref.ctype">
<title>Character Type Functions</title>
<titleabbrev>ctype</titleabbrev>
@@ -28,6 +28,12 @@
Passing anything else but a string or integer will
return &false; immediately.
</para>
+ <para>
+ It should be noted that ctype functions are always prefered over
+ regular expressions, and even to some equivalent str_* and is_* functions.
+ This is because of the fact that ctype uses a native C library and thus
+ processes signitificaly faster.
+ </para>
</section>
<section id="ctype.requirements">