mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Add some more info on resource types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@102531 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7d22c8c41b
commit
d1c40af291
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.91 $ -->
|
||||
<!-- $Revision: 1.92 $ -->
|
||||
<chapter id="language.types">
|
||||
<title>Types</title>
|
||||
|
||||
|
@ -1015,6 +1015,8 @@ $last = $str{strlen($str)-1};
|
|||
Resources are always converted to strings with the structure
|
||||
<literal>"Resource id #1"</literal> where <literal>1</literal> is
|
||||
the unique number of the resource assigned by PHP during runtime.
|
||||
If you would like to get the type of the resource, use
|
||||
<function>get_resource_type</function>.
|
||||
</para>
|
||||
<para>
|
||||
&null; is always converted to an empty string.
|
||||
|
|
Loading…
Reference in a new issue