On Mon, July 11, 2005 10:04 am, Alessandro Rosa said:
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,
.
But, right
On Mon, July 11, 2005 9:53 am, Psystorm said:
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
Is there the possibility to have in PHP multiple class constructors
as in C++ or just one ?
I would be sure about it in order to prevent useless mad investigations
in the code I'm writing.
Thanks in advance ...
Alessandro Rosa
On 7/11/05, Alessandro Rosa [EMAIL PROTECTED] wrote:
Is there the possibility to have in PHP multiple class constructors
as in C++ or just one ?
Doesn't seem as though you can:
cat class.php
#!/usr/bin/php
?php
error_reporting( E_ALL );
class Foo
{
function __construct
On Mon, 2005-07-11 at 16:44 +0200, Alessandro Rosa wrote:
Is there the possibility to have in PHP multiple class constructors
as in C++ or just one ?
I would be sure about it in order to prevent useless mad investigations
in the code I'm writing.
Thanks in advance ...
Alessandro Rosa
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 ?
Alessandro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.
--
PHP General Mailing List
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
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, ….
But, right because PHP is weakly typed, multiple constructors could
On 7/11/05, Alessandro Rosa [EMAIL PROTECTED] wrote:
But, right because PHP is weakly typed, multiple constructors could be
handled easier, I suppose ... isn't true?
The sky is the limit with the function handling functions:
http://php.net/manual/en/ref.funchand.php
--
Greg Donald
Zend
10 matches
Mail list logo