right ok , but obviously it wouldnt have an effect anyway prior to php5 thanks anyway. >===== Original Message From "Sean Malloy" <[EMAIL PROTECTED]> ===== >No the documentaton you are talking about, was that prior to ZE2 people were >using underscores to denote private functions/variables. With ZE2, they >wouldn't have to. > >-----Original Message----- >From: Dan Rossi [mailto:[EMAIL PROTECTED]] >Sent: Sunday, 12 January 2003 11:23 PM >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: RE: [PHP] php5 cvs > > >its cool , i cant remember where i saw the reference , but it was claiming >to prefix the functions with underscores to denote private functions in php >4 for the rollover of php5, it was a pretty legit resource i cant remember >where though have too many bookmarks, oh well at least i know now , i think >it meant to underscore them , to make the private functions recognisable so >then the rewrite for the proper OO in php5 can be easy as adding private >where the underscores are ??, i gave 5 a test, compiled with no problems >except my ming extension didnt seem to load properly so will stick with for >4.3 for now. >aparantly its still not true OO as you have to add the constructor of the >base class inside the sub class constructor where other languages dont need >to do this, i was told from my c++ flatmate of mine but correct me if i'm >wrong but sadly i dont know much c++ apart from modding source code now and >then :D > >-----Original Message----- >From: Zeev Suraski [mailto:[EMAIL PROTECTED]] >Sent: Sunday, January 12, 2003 11:13 PM >To: electroteque >Cc: [EMAIL PROTECTED] >Subject: Re: [PHP] php5 cvs > > >Not sure what you mean by 'changed', but the way to denote private >functions is by adding 'private' to the method declaration, and not by >prefixing them with _. > >You can do it using: > >class bar { > private function foo() > { > ... > } > ... >}; > >Zeev > >At 09:43 12/01/2003, electroteque wrote: >>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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php