Re: [PHP4BETA] Bug on PHP4b3?
| From: | Jonh Wendell | Date: | Thu, 13 Jan 2000 12:09:39 +0000 |
| Subject: | Re: [PHP4BETA] Bug on PHP4b3? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9096@lists.php.net to get a copy of this message | ||
This would have to be in the page
http://www.php.net/version4/incompatibilities.php
, rigth?
Hartmut Holzgraefe gravada:
>
> Jonh Wendell wrote:
>
> > There is a bug on PHP4 b3:
> >
> > In function imap_fetchstructure() ???
> > I'm using the "IMP webmail" and this function returns a object:
> >
> > $structure = imap_fetchstructure($mbox, imap_msgno($mbox, $index));
> >
> > When i access count($structure->parts), it says:
> > "PHP Warning: Undefined property: parts in
> > /www/horde/imp//message.php3 on line 33"
> >
> > Is it true?
> >
>
> true but not a bug ( a feature ? )
>
> parts is only set if $structure->type is 1 for multipart or 2 for message
> any other message-type does not have any sub-parts, and so there is
> no value assigned to the parts property
> ( this applies recursively to the contents of parts, if any )
--
"Software is like sex. It's better when it's free."
*****************************
Jonh Wendell Sousa de Santana
Desenvolvedor de Sistemas
Técnico em Informática
____________________________
wendell@sunnet.com.br
jwss@dcc.ufal.br
ICQ : 8493638