Re: [PHP-DOC] Proto: | From: Maxim Maletsky (maxim <email protected>)
Date: 02/04/03

On Wed, 5 Feb 2003 02:13:33 +0000 (GMT) Philip Olson <philip <email protected>> wrote:

> On Wed, 5 Feb 2003 nicos <email protected> wrote:
>
> > Hello,
> >
> > It looks there are some xml that still use | and not the type mixed.
> >
> > en/functions/hw.xml:
> > <methodparam><type>[int|array]</type><parameter>objectID</parameter></method
> > param>
> > en/functions/image.xml:
> > <type>int|false</type><methodname>exif_imagetype</methodname>
> > en/functions/info.xml:
> > <methodparam><type>string|bool</type><parameter>assertion</parameter></metho
> > dparam>
> > en/functions/oci8.xml: <methodparam
> > choice="opt"><type>int</type><parameter>stmt|conn|global</parameter></method
> > param>
>
> The above are deprecated, don't touch them.
>
> > en/reference/hw/functions/hw-getobject.xml:
> > <methodparam><type>[int|array]</type><parameter>objectID</parameter></method
> > param>
>
> mixed
>
> > en/reference/image/functions/exif-imagetype.xml:
> > <type>int|false</type><methodname>exif_imagetype</methodname>
>
> int
>
> > en/reference/info/functions/assert.xml:
> > <methodparam><type>string|bool</type><parameter>assertion</parameter></metho
> > dparam>
>
> mixed
>
> > en/reference/oci8/functions/ocierror.xml: <methodparam
> > choice="opt"><type>int</type><parameter>stmt|conn|global</parameter></method
> > param>
>
> a name like 'resource' but that might be confusing. so,
> ask a oci guy for a nice name that does not have | in it.

I'd go for resource, mentioning well what kind of.

can't we have a certain rule on how protos should be represented? I
noticed some many funny things here...

-- 
Maxim Maletsky
maxim <email protected>

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php