Re: constructors in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Burhan Khalid wrote:

Alessandro Rosa wrote:

Thanks to all for clear responses!

So just a question now, why have not multiple constructors been implemented?
Are there some security issues related to them ?


As far as I know, its not a security issue, but a structure/design issue.

The issue is that in php you can't definitely say what type a variable is , whereas in c++ you can say this variable is a string, this one a int, ….

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux