Re: Structures_DataGrid crashing PHP (was Re: [PEAR] Data tables)
| From: | Justin Patrin | Date: | Mon, 18 Jul 2005 20:06:20 +0000 |
| Subject: | Re: Structures_DataGrid crashing PHP (was Re: [PEAR] Data tables) | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20043@lists.php.net to get a copy of this message | ||
On 7/18/05, Pupeno <pupeno@pupeno.com> wrote:
> On Monday 18 July 2005 16:42, Justin Patrin wrote:
> > Check the manual. You should be doing:
> > $dg =& new Structures_DataGrid();
> >
> > This may be the problem.
>
> That causes the same problem. I removed it just in case (PHP 4.4.0 cmplained
> about it in other places).
=& should not be causing errors. & will cause errors if you put it in
function calls, though (call-time-pass-by-reference). The =& is needed
for Structures_DataGrid.
--
Justin Patrin