diff --git a/reference/sybase/functions/sybase-fetch-array.xml b/reference/sybase/functions/sybase-fetch-array.xml
index 87744ad9c7..64e5444e1d 100644
--- a/reference/sybase/functions/sybase-fetch-array.xml
+++ b/reference/sybase/functions/sybase-fetch-array.xml
@@ -1,5 +1,5 @@
-
+
@@ -27,9 +27,51 @@
slower than using sybase_fetch_row, while it
provides a significant added value.
+
+ When selecting fields with identical names (for instance, in
+ a join), the associative indices will have a sequential number prepended.
+ See the example for details.
+
+
+
+ Identical fieldnames
+
+
+]]>
+
+
+ The above example would produce the following output (assuming the two tables only
+ have each one column called "person_id"):
+
+
+
+ int(1)
+ ["person_id"]=>
+ int(1)
+ [1]=>
+ int(1)
+ ["person_id1"]=>
+ int(1)
+}
+]]>
+
+
For further details, also see
- sybase_fetch_row.
+ sybase_fetch_row,
+ sybase_fetch_assoc and
+ sybase_fetch_object.
diff --git a/reference/sybase/functions/sybase-fetch-object.xml b/reference/sybase/functions/sybase-fetch-object.xml
index b3a84b6f8a..eb7f9218b3 100644
--- a/reference/sybase/functions/sybase-fetch-object.xml
+++ b/reference/sybase/functions/sybase-fetch-object.xml
@@ -1,5 +1,5 @@
-
+
@@ -11,25 +11,80 @@
intsybase_fetch_object
intresult
+ mixedobject
- Returns: An object with properties that correspond to the
- fetched row, or &false; if there are no more rows.
+
+ Returns: An object with properties that correspond to the
+ fetched row, or &false; if there are no more rows.
sybase_fetch_object is similar to
- sybase_fetch_array, with one difference - an
- object is returned, instead of an array. Indirectly, that means
- that you can only access the data by the field names, and not by
- their offsets (numbers are illegal property names).
+ sybase_fetch_assoc, with one difference - an object
+ is returned, instead of an array.
+
- Speed-wise, the function is identical to
- sybase_fetch_array, and almost as quick as
- sybase_fetch_row (the difference is
- insignificant).
+ Use the second object to specify the type of object
+ you want to return. If this parameter is omitted, the object will be of
+ type stdClass.
+
+
+
+ As of PHP 4.3.0, this function will no longer return numeric object members.
+
+
+ Old behaviour:
+
+
+ string(3) "foo"
+ ["foo"]=>
+ string(3) "foo"
+ [1]=>
+ string(3) "bar"
+ ["bar"]=>
+ string(3) "bar"
+}
+]]>
+
+ New behaviour:
+
+
+ string(3) "foo"
+ ["bar"]=>
+ string(3) "bar"
+}
+]]>
+
+
+
+
+ sybase_fetch_object return as Foo
+
+
+]]>
+
+
+
+ Speed-wise, the function is identical to
+ sybase_fetch_array, and almost as quick as
+ sybase_fetch_row (the difference is insignificant).
- See also
- sybase_fetch_array, and
+ See also sybase_fetch_array, and
sybase_fetch_row.
diff --git a/reference/sybase/functions/sybase-fetch-row.xml b/reference/sybase/functions/sybase-fetch-row.xml
index af599784de..c132707b97 100644
--- a/reference/sybase/functions/sybase-fetch-row.xml
+++ b/reference/sybase/functions/sybase-fetch-row.xml
@@ -1,5 +1,5 @@
-
+
@@ -12,8 +12,9 @@
arraysybase_fetch_row
intresult
- Returns: An array that corresponds to the fetched row, or
- &false; if there are no more rows.
+
+ Returns: An array that corresponds to the fetched row, or
+ &false; if there are no more rows.
sybase_fetch_row fetches one row of data
@@ -26,8 +27,38 @@
return the next row in the result set, or &false; if there are no
more rows.
+
+ Data types
+
+
+
+ PHP
+ Sybase
+
+
+
+
+ string
+ VARCHAR, TEXT, CHAR, IMAGE, BINARY, VARBINARY, DATETIME
+
+
+ int
+ NUMERIC (w/o precision), DECIMAL (w/o precision), INT, BIT, TINYINT, SMALLINT
+
+
+ float
+ NUMERIC (w/ precision), DECIMAL (w/ precision), REAL, FLOAT, MONEY
+
+
+ &null;
+ NULL
+
+
+
+
- See also sybase_fetch_array,
+ See also: sybase_fetch_array,
+ sybase_fetch_assoc,
sybase_fetch_object,
sybase_data_seek,
sybase_fetch_lengths, and
diff --git a/reference/sybase/ini.xml b/reference/sybase/ini.xml
index 2dfb4020e0..819d1c0f4a 100644
--- a/reference/sybase/ini.xml
+++ b/reference/sybase/ini.xml
@@ -1,5 +1,5 @@
-
+
&reftitle.runtime;
&extension.runtime;
@@ -212,6 +212,11 @@
NULL
PHP_INI_ALL
+
+ sybct.deadlock_retry_count
+ "-1"
+ PHP_INI_ALL
+
@@ -339,6 +344,19 @@
+
+
+ sybct.deadlock_retry_count
+ int
+
+
+
+ Allows you to to define how often deadlocks are to be retried. The default
+ is -1, or "forever".
+
+
+
+