Hello PHP EN Documentation team,
There are contributions within the online editor queue for this language.
Please review, then commit or delete these patches.
Patches for review :
---
New file: en/reference/sqlite3/sqlite3/createcollation.xml
By: b dewar on 2013-04-10 04:59:20
===
--- en/reference/sqlite3/sqlite3/createcollation.xml
+++ en/reference/sqlite3/sqlite3/createcollation.xml
@@ -0,0 +1,142 @@
+
+
+
+http://docbook.org/ns/docbook";
xmlns:xlink="http://www.w3.org/1999/xlink";>
+
+ SQLite3::createCollation
+
+ Registers a PHP function for use as an SQL collating
function
+
+
+
+ &reftitle.description;
+
+ public
boolSQLite3::createCollation
+ stringname
+
callablecallback
+
+
+ Registers a PHP function or user-defined function for use as a collating
+ function within SQL statements.
+
+
+
+
+ &reftitle.parameters;
+
+
+name
+
+
+ Name of the SQL collating function to be created or redefined
+
+
+
+
+callback
+
+
+ The name of a PHP function or user-defined function to apply as a
+ callback, defining the behavior of the collation. It should accept
+ two strings and return as strcmp does, i.e. it
should return -1, 1,
+ or 0 if the first string sorts before, sorts after, or is equal to the
second.
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.success;
+
+
+
+
+ &reftitle.examples;
+
+
+SQLite3::createCollation example
+
+ Register the PHP function strnatcmp as a collating
sequence in the SQLite3 database.
+
+
+
+
+&example.outputs;
+
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ The SQLite collation documentation: &url.sqlite.collation;
+
+
+
+
+
+
No newline at end of file
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=43558
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=43558
--
Modified: en/reference/sqlite3/versions.xml
By: b dewar on 2012-11-29 08:42:57
===
--- en/reference/sqlite3/versions.xml
+++ en/reference/sqlite3/versions.xml
@@ -9,6 +9,7 @@
+
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=43559
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=43559
--
Modified: en/reference/var/functions/intval.xml
By: anonymous on 2013-03-27 02:18:53
===
--- en/reference/var/functions/intval.xml
+++ en/reference/var/functions/intval.xml
@@ -40,6 +40,31 @@
The base for the conversion
+
+
+If base is 0, the base used is determined
+by the format of var:
+
+
+
+ if string includes a "0x" (or "0X") prefix, the base is taken
+ as 16 (hex); otherwise,
+
+
+
+
+ if string starts with "0", the base is taken as 8 (octal);
+ otherwise,
+
+
+
+
+ the base is taken as 10 (decimal).
+
+
+
+
+
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=46078
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=46078
--
Modified: en/reference/pcre/pattern.syntax.xml
By: anonymous on 2013-03-29 01:31:14
===
--- en/reference/pcre/pattern.syntax.xml
+++ en/reference/pcre/pattern.syntax.xml
@@ -271,7 +271,7 @@
a character with the xx property, see
- unicode properties
+ Unicode properties
for more info
@@ -281,7 +281,17 @@
a character without the xx property, see
- unicode properties
+ Unicode properties
+ for more info
+
+
+
+
+ X
+
+
+ an Unicode grapheme, see
+ Unicode properties
for more info
@@ -611,7 +621,7 @@
X
-an extended Unicode sequence
+any Unicode grapheme incl. an extended Unicode
sequence
@@ -1020,15 +1030,7 @@
- The X escape matches any nu