[PHP-DEV] R: [PHP-DEV] request

2001-04-17 Thread Alberto

Who are Andi and Zeev?
Ok, i've not study story enought. :)




Sebastian Bergmann [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]
 Stig Sæther Bakken wrote:
   About classes and objects, will PHP have multiple inheritance
   support?
 
  When there's peace in Jerusalem.

   Ah, that's another way to say "When Andi and Zeev implement it" :-)

 --
  sebastian bergmann[EMAIL PROTECTED]
http://www.sebastian-bergmann.de

  bonn.phpug.de | www.php.net | www.phpOpenTracker.de | www.titanchat.de

 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] R: [PHP-DEV] request

2001-04-17 Thread Alberto

For me , yes :)
I work in a ISP, and we use PHP for all sites that need to be connected by a
database.
I'ts about one year we use it, and it's great.
We have put all the reusable code into Classes, so we can reuse it many
times without rewrite the same code.
But in large projects, we see that multiple inheritance would be very
useful.

For make a stupid example, times ago we make a class for a cart. (class A)
And some month ago, we make another class for payments with credit card.
(class B)
And we have found online a class that make an email-validation (class C)

Now, if i want to make a new class cart, that let users pay with credit
card,  and see it the user put a valid e-mail address, if PHP support
multiple inheritance i can make a class (class NEW_CART) like:

class NEW_CART extends A,extends B,extends C {
...
}

Very simple...

Alberto

Stanislav Malyshev [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]
 JT   Ah, that's another way to say "When Andi and Zeev implement it"
:-)
 JT
 JT Like..never? :)

 Generally, since PHP is not a strongly typed language, it's not too hard
 to implement multiple inheritance, I guess. Question is - is it worth the
 effort? Does it need to be done?

 --
 Stanislav Malyshev, Zend Products Engineer
 [EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115



 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] R: [PHP-DEV] request

2001-04-17 Thread Zeev Suraski

Everyone - please read about this already hashed-beyond-a-reasonable-doubt 
topic in the mailing list archive.
PHP 4.0 is not going to have destructors, ever.  Its design simply doesn't 
allow for it.

Zeev

At 17:34 17/4/2001, Alberto wrote:
Yes, destructor ... it's a good thing to have...

David Guerizec [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]
 
  "Peter \"[DiSAStA]\" Petermann" [EMAIL PROTECTED] wrote:
   Hi stas,
  
JT   Ah, that's another way to say "When Andi and Zeev implement
it" :-)
JT
JT Like..never? :)
Generally, since PHP is not a strongly typed language, it's not too
hard
to implement multiple inheritance, I guess. Question is - is it worth
the
effort? Does it need to be done?
   mh.. would be real great for some things...
   well, the typical PHP-Coder doesnt need it,
   but, in some cases it could be usefull...
 
  IMHO, a more usful thing to see before multiple inheritance would be
proper constructor (and eventually destructor) callings...
 
   Peter Petermann
  
   --
   /* ZIMT - where PHP meets needs*
* [EMAIL PROTECTED] - www.phpug.de
* [EMAIL PROTECTED] - www.cyberfly.net
   */
 
  --
  Best regards,
  David Guerizec
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 



--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
Zeev Suraski [EMAIL PROTECTED]
CTO   co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]