[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/com/_com.xml?=
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2018-04-23 15:10:18
Message-ID: svn-cmb-1524496218-344814-261460883 () svn ! php ! net
[Download RAW message or body]
cmb Mon, 23 Apr 2018 15:10:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=344814
Log:
Remove obsolete PHP 4 related info
Changed paths:
U phpdoc/en/trunk/reference/com/com.xml
Modified: phpdoc/en/trunk/reference/com/com.xml
===================================================================
--- phpdoc/en/trunk/reference/com/com.xml 2018-04-23 15:09:29 UTC (rev 344813)
+++ phpdoc/en/trunk/reference/com/com.xml 2018-04-23 15:10:18 UTC (rev 344814)
@@ -132,7 +132,7 @@
Specifies the codepage that is used to convert strings to
unicode-strings and vice versa. The conversion is applied whenever a
PHP string is passed as a parameter or returned from a method of this
- COM object. The code page is sticky in PHP 5, which means that it will
+ COM object. The code page is sticky, which means that it will
propagate to objects and variants returned from the object.
</simpara>
<simpara>
@@ -161,7 +161,7 @@
property or method accesses are passed through to COM.
</para>
<para>
- Starting with PHP 5, PHP will automatically detect methods that accept
+ PHP will automatically detect methods that accept
parameters by reference, and will automatically convert regular PHP
variables to a form that can be passed by reference. This means that you
can call the method very naturally; you needn't go to any extra effort in
@@ -169,85 +169,6 @@
</para>
</section>
- <section xml:id="class.com.falsemethods">
- <title>Pseudo Methods</title>
- <para>
- In PHP versions prior to 5, a number of not very pleasant hacks meant that
- the following method names were not passed through to COM and were handled
- directly by PHP. PHP 5 eliminates these things; read the details below to
- determine how to fix your scripts. These magic method names are case
- insensitive.
- </para>
- <methodsynopsis xml:id="com.addref">
- <type>void</type><methodname>COM::AddRef</methodname>
- <void/>
- </methodsynopsis>
- <simpara>
- Artificially adds a reference count to the COM object.
- </simpara>
- <warning>
- <simpara>
- You should never need to use this method. It exists as a logical complement
- to the Release() method below.
- </simpara>
- </warning>
- <methodsynopsis xml:id="com.release">
- <type>void</type><methodname>COM::Release</methodname>
- <void/>
- </methodsynopsis>
- <simpara>
- Artificially removes a reference count from the COM object.
- </simpara>
- <warning>
- <simpara>
- You should never need to use this method. Its existence in PHP is a bug
- designed to work around a bug that keeps COM objects running longer than
- they should.
- </simpara>
- </warning>
- </section>
- <section xml:id="class.com.iteratormethods">
- <title>Pseudo Methods for Iterating</title>
- <para>
- These pseudo methods are only available if
- <function>com_isenum</function> returns &true;, in which case, they hide
- any methods with the same names that might otherwise be provided by the
- COM object. These methods have all been eliminated in PHP 5, and you
- should use <xref linkend="com.examples.foreach"/> instead.
- </para>
- <methodsynopsis xml:id="com.all">
- <type>variant</type><methodname>COM::All</methodname>
- <void/>
- </methodsynopsis>
- <simpara>
- Returns a variant representing a SafeArray that has 10 elements;
- each element will be an empty/null variant. This function was supposed to
- return an array containing all the elements from the iterator, but was
- never completed. Do not use.
- </simpara>
- <methodsynopsis xml:id="com.next">
- <type>variant</type><methodname>COM::Next</methodname>
- <void/>
- </methodsynopsis>
- <simpara>
- Returns a variant representing the next element available from
- the iterator, or &false; when there are no more elements.
- </simpara>
- <methodsynopsis xml:id="com.prev">
- <type>variant</type><methodname>COM::Prev</methodname>
- <void/>
- </methodsynopsis>
- <simpara>Returns a variant representing the previous element available from
- the iterator, or &false; when there are no more elements.
- </simpara>
- <methodsynopsis xml:id="com.reset">
- <type>void</type><methodname>COM::Reset</methodname>
- <void/>
- </methodsynopsis>
- <simpara>
- Rewinds the iterator back to the start.
- </simpara>
- </section>
<section xml:id="class.com.examples">
<title>COM examples</title>
<para>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic