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>


Reply via email to