HTML_Progress and PHP5
| From: | Laurent Laville | Date: | Thu, 06 May 2004 05:51:23 +0000 |
| Subject: | HTML_Progress and PHP5 | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28871@lists.php.net to get a copy of this message | ||
> Laurent Laville wrote:
>
> >farell Wed May 5 14:20:14 2004 EDT
> >
> > Modified files:
> > /pear/HTML_Progress Progress.php
> > Log:
> > fixed returns error
> > add new option _pushCallback on HTML_Progress error stack initialize
> >
> >
> >
> snip
>
> >@@ -810,7 +810,7 @@
> > $_ui = new $ui();
> >
> > if (!is_a($_ui, 'html_progress_ui')) {
> >- $this->raiseError(HTML_PROGRESS_ERROR_INVALID_INPUT,
'error',
> >+ return $this->raiseError(HTML_PROGRESS_ERROR_INVALID_INPUT,
'error',
> > array('var' => '$ui',
> > 'was' => $ui,
> > 'expected' => 'HTML_Progress_UI extends',
> >
> >
Klaus wrote :
>
> I was under the impression that returning things this way breaks php5. I
> thought you first must asign to a variable before returning... or is
> that only for objects...
>
> Could someone clear this up?
>
> Klaus
Hello Klaus and all PEAR members
I've not yet try to test HTML_Progress with PHP 5 (except with RC1) and in
my opinion,
before i can do it in next days, i would say that :
HTML_Progress is not PHP 5 compatible
I hope to make it compatible ASAP
Laurent Laville
---------------------
PHP For Ever http://pear.php.net/user/farell