Fatal error caught: Call to private method class_test::echo_test() from context '' in /www/servers/electroteque/web/galleries/classtest.php on line 18
class Class_Test { function Class_Test() { } private function echo_test() { echo "test"; } function echo_test2() { $this->echo_test(); } } $class = new Class_Test(); $class->echo_test(); so are you saying the referencing has all been changed now ? i read the structure before and to prepare for zend 2 reference the functions like _test() and test(), means i'll have to rewrite my functions again :| -----Original Message----- From: Sean Malloy [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 12, 2003 7:52 PM To: electroteque; [EMAIL PROTECTED] Subject: RE: [PHP] php5 cvs try private function() { } -----Original Message----- From: electroteque [mailto:[EMAIL PROTECTED]] Sent: Sunday, 12 January 2003 6:43 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] php5 cvs hmm has the public and private function accessor changed ? i have been building my classes with test() and _test() to differentiate from public and private and have been waiting to try it out but i can still access both ! ?? "Electroteque" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > lol no , i am gonna try and upgrade my workfrom dinasour php3 to php 4.3, i > have a development box here @ home i just upgraded to the 4.3 release from > rc3 and am gonna try out version 5 then it doesnt matter how stable it is at > home really :D > > "Danny Shepherd" <[EMAIL PROTECTED]> wrote in message > 000b01c2b9d2$ae5e46c0$6400a8c0@DANNYS">news:000b01c2b9d2$ae5e46c0$6400a8c0@DANNYS... > > It includes the latest CVS build of ZendEngine 2.0 - AFAIK it hasn't even > > reached beta status yet, so don't even think about using it for production > > work. That said, I didn't have any problems building it and it seems > pretty > > stable. > > > > A list of changes and features can be found at > > http://www.php.net/ZEND_CHANGES.txt. > > > > HTH > > > > Danny. > > > > ----- Original Message ----- > > From: "electroteque" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, January 11, 2003 6:50 PM > > Subject: [PHP] php5 cvs > > > > > > > hi guys just noticed php5 cvs in the snaps page , does this have the > zend > > > 2.0 engine ? more specific question has it got the proper OO built in > yet > > ? > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php