File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
simplexml/simplexmlelement Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 9
9
<refsect1 role =" description" >
10
10
&reftitle.description;
11
11
<methodsynopsis >
12
- <modifier >public</modifier > <type > string</type ><methodname >SessionHandler::read</methodname >
12
+ <modifier >public</modifier > <type class = " union " >< type > string</ type >< type >false</ type > </type ><methodname >SessionHandler::read</methodname >
13
13
<methodparam ><type >string</type ><parameter >id</parameter ></methodparam >
14
14
</methodsynopsis >
15
15
<para >
52
52
<refsect1 role =" returnvalues" >
53
53
&reftitle.returnvalues;
54
54
<para >
55
- Returns an encoded string of the read data. If nothing was read, it must return an empty string . Note this value is returned internally to PHP for processing.
55
+ Returns an encoded string of the read data. If nothing was read, it must return &false; . Note this value is returned internally to PHP for processing.
56
56
</para >
57
57
</refsect1 >
58
58
Original file line number Diff line number Diff line change 9
9
<refsect1 role =" description" >
10
10
&reftitle.description;
11
11
<methodsynopsis >
12
- <modifier >abstract </modifier > <modifier >public</ modifier > <type >string </type ><methodname >SessionHandlerInterface::read</methodname >
12
+ <modifier >public </modifier > <type class = " union " >< type >string</ type > <type >false</ type > </type ><methodname >SessionHandlerInterface::read</methodname >
13
13
<methodparam ><type >string</type ><parameter >id</parameter ></methodparam >
14
14
</methodsynopsis >
15
15
<para >
22
22
This method should retrieve the session data from storage by the
23
23
session ID provided. The string returned by this method must be in the same
24
24
serialized format as when originally passed to the <function >SessionHandlerInterface::write</function >
25
- If the record was not found, return an empty string .
25
+ If the record was not found, return &false; .
26
26
</para >
27
27
<para >
28
28
The data returned by this method will be decoded internally by PHP using the
Original file line number Diff line number Diff line change 10
10
<refsect1 role =" description" >
11
11
&reftitle.description;
12
12
<methodsynopsis >
13
- <modifier >public</modifier > <type > SimpleXMLElement</type ><methodname >SimpleXMLElement::addChild</methodname >
13
+ <modifier >public</modifier > <type class = " union " >< type > SimpleXMLElement</ type >< type >null</ type > </type ><methodname >SimpleXMLElement::addChild</methodname >
14
14
<methodparam ><type >string</type ><parameter >qualifiedName</parameter ></methodparam >
15
15
<methodparam choice =" opt" ><type class =" union" ><type >string</type ><type >null</type ></type ><parameter >value</parameter ><initializer >&null; </initializer ></methodparam >
16
16
<methodparam choice =" opt" ><type class =" union" ><type >string</type ><type >null</type ></type ><parameter >namespace</parameter ><initializer >&null; </initializer ></methodparam >
56
56
&reftitle.returnvalues;
57
57
<para >
58
58
The <literal >addChild</literal > method returns a <type >SimpleXMLElement</type >
59
- object representing the child added to the XML node.
59
+ object representing the child added to the XML node on success; &null; on failure .
60
60
</para >
61
61
</refsect1 >
62
62
Original file line number Diff line number Diff line change 9
9
<refsect1 role =" description" >
10
10
&reftitle.description;
11
11
<methodsynopsis >
12
- <modifier >public</modifier > <type class =" union" ><type >array</type ><type >false</type ></type ><methodname >SimpleXMLElement::xpath</methodname >
12
+ <modifier >public</modifier > <type class =" union" ><type >array</type ><type >null</ type >< type > false</type ></type ><methodname >SimpleXMLElement::xpath</methodname >
13
13
<methodparam ><type >string</type ><parameter >expression</parameter ></methodparam >
14
14
</methodsynopsis >
15
15
<para >
37
37
<refsect1 role =" returnvalues" >
38
38
&reftitle.returnvalues;
39
39
<para >
40
- Returns an <type >array</type > of SimpleXMLElement objects or &false; in
40
+ Returns an <type >array</type > of SimpleXMLElement objects on success; or &null; or &false; in
41
41
case of an error.
42
42
</para >
43
43
</refsect1 >
You can’t perform that action at this time.
0 commit comments