Re: [PHP] classes and objects: php5. The Basics

2007-01-16 Thread Jochem Maas
Martin Alterisio wrote: > Forgot to mention that calling a non-static function this way should > generate an E_STRICT warning. and IIRC it will eventually be made a fatal error in php6, somebody please correct me if I'm wrong! > > 2007/1/16, Martin Alterisio <[EMAIL PROTECTED]>: >> >> Backward c

Re: [PHP] classes and objects: php5. The Basics

2007-01-16 Thread Martin Alterisio
Forgot to mention that calling a non-statical function this way should generate an E_STRICT warning. 2007/1/16, Martin Alterisio <[EMAIL PROTECTED]>: Backward compatibility with PHP4, where member functions couldn't be declared as static. Any member function could be called statically providing

Re: [PHP] classes and objects: php5. The Basics

2007-01-16 Thread Martin Alterisio
Backward compatibility with PHP4, where member functions couldn't be declared as static. Any member function could be called statically providing a static context instead of an object instance. 2007/1/16, Cheseldine, D. L. <[EMAIL PROTECTED]>: Hi I'm stuck on The Basics page of the php5 Object

RE: [PHP] classes and objects: php5. The Basics

2007-01-16 Thread Jay Blanchard
[snip] http://uk.php.net/manual/en/language.oop5.basic.php The top example has the code: A::foo(); even though foo is not declared static in its class. How does it get called statically without being declared static? [/snip] foo() is a function and would not be static, it can be public (defau

[PHP] classes and objects: php5. The Basics

2007-01-16 Thread Cheseldine, D. L.
Hi I'm stuck on The Basics page of the php5 Object Model: http://uk.php.net/manual/en/language.oop5.basic.php The top example has the code: A::foo(); even though foo is not declared static in its class. How does it get called statically without being declared static? regards dave -- PHP Gen

Re: [PHP] Classes and Objects

2003-06-10 Thread Frank Keessen
gt; To: "php list" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 10:33 PM Subject: [PHP] Classes and Objects Are Classes and Objects supported in PHP 3.0.14? I am getting an error: "Call to unsupported or undefined function phpmailer()" on a server runni

[PHP] Classes and Objects

2003-06-10 Thread Don
Are Classes and Objects supported in PHP 3.0.14? I am getting an error: "Call to unsupported or undefined function phpmailer()" on a server running PHP 3.0.14 but it works in PHP 4.3.2 Thanks, Don _ This email and any files transmitted with it are strictly confidential and may be

[PHP] R: [PHP] CLASSES AND OBJECTS..

2001-04-14 Thread alberto
Yes... Becouse in some large projects, it's very hard to wok with a single level inheritance... i think that PHP is a very good language and come better every day... so i hope in the future programmers can use multiple inheritante with classes in PHP. Thank for the answer Alberto "Plutarck" <[E

Re: [PHP] CLASSES AND OBJECTS..

2001-04-14 Thread Plutarck
Nope, I'm afraid not. Currently PHP will support single level inheritance only. So A can extend B, but C cannot extend B. You will need to create a class of B to extend it with C. I suppose PHP may one day support it, but I am guessing that the Zend API can't currently handle it. I think it will

[PHP] CLASSES AND OBJECTS..

2001-04-14 Thread alberto
Anyone know if one day PHP will support multiple inheritance? I think it's very important... For example, will PHP support this code: class A extends B, extends C { } where B and C are classes? Thanks! Alberto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail