Re: constructors in PHP
| From: | Alessandro Rosa | Date: | Mon, 11 Jul 2005 17:04:56 +0000 |
| Subject: | Re: constructors in PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218460@lists.php.net to get a copy of this message | ||
> > 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 be
handled easier, I suppose ... isn't true?
Alessandro Rosa