zak Sun Jun 24 19:47:13 2001 EDT
Modified files:
/phpdoc/en/functions var.xml
Log:
Reworded note on behavior of is_scalar() in regards to resource type values - thanks
Daniel!
Index: phpdoc/en/functions/var.xml
diff -u phpdoc/en/functions/var.xml:1.56 phpdoc/en/functions/var.xml:1.57
--- phpdoc/en/functions/var.xml:1.56 Sun Jun 24 13:45:37 2001
+++ phpdoc/en/functions/var.xml Sun Jun 24 19:47:13 2001
@@ -747,10 +747,11 @@
</para>
<note>
<para>
- Note that the PHP resource type is not considered a scalar value.
- Andi Gutmans states: "[Resources] are abstract datatypes which
- happen to be in ID (integer) form ... people should [not] count
- on it being an integer as this could change one day."
+ <function>is_scalar</function> does not consider resource
+ type values to be scalar values. This behavior is intentional:
+ Resources are abstract datatypes which are currently based on
+ integers. This implementation detail should not be relied upon,
+ as it may change.
</para>
</note>
<note>
- Re: [PHP-DOC] cvs: phpdoc /en/functions var.xml Hojtsy Gabor
- Re: [PHP-DOC] cvs: phpdoc /en/functions var.xml jeroen
- Re: [PHP-DOC] cvs: phpdoc /en/functions var.xml eschmid+sic
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Zak Greant
- Re: [PHP-DOC] cvs: phpdoc /en/functions var.xml Daniel Beckham
- Re: [PHP-DOC] cvs: phpdoc /en/functions var.xml Rasmus Lerdorf
- Re: [PHP-DOC] cvs: phpdoc /en/functions var.xml Hojtsy Gabor
- Re: [PHP-DOC] cvs: phpdoc /en/functions var.xml Zak Greant
- Re: [PHP-DOC] cvs: phpdoc /en/functions var.xml Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Zak Greant
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Hojtsy Gabor
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Philip Olson
- [PHP-DOC] cvs: phpdoc /en/functions var.xml Bernd Roemer
