Re: segfault with ze2/php5-cvs

From: Date: Fri, 21 Mar 2003 19:58:16 +0000
Subject: Re: segfault with ze2/php5-cvs
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-95206@lists.php.net to get a copy of this message
On Fri, 2003-03-21 at 15:12, Joey Smith wrote: > Very nice. > > What about: > > <?php > class person { > var $name; > } > > $start = new person; > $start->name = 'Eve'; > $new = $start->__clone(); > ?> > > Does it come back with 'Call to a member function on a non-object'? > > I get a segfault with that as well, same error. execute_data is corrupted. -Sterling > On Fri, Mar 21, 2003 at 02:47:06PM -0500, Sterling Hughes wrote: > > <?php > > class sheep { > > var $name; > > } > > > > $start = new sheep; > > $start->name = "Dolly"; > > $new = $start->__clone(); > > $new->name = "Molly"; > > var_dump($start); > > ?> > > > > BOOM! > > > > -Sterling > > -- > > Good judgement comes from experience, and experience comes from > > bad judgement. > > - Fred Brooks > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php -- "The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea." - Unknown

« previous php.dev (#95206) next »