Re: Odd Code Error.
| From: | daniel at electroteque dot org | Date: | Wed, 21 Jan 2004 23:55:29 +0000 |
| Subject: | Re: Odd Code Error. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175363@lists.php.net to get a copy of this message | ||
> Yes, if you want to examine if a variable is set or not, then you
> should use isset().
Ok i'll start using it
> Exactly how a variable should be set, well it could be for instance var
> $age:int;
>
Where on the php site does it tell you to set it like that ?
I've never seent that before ?
> But you could also do both things at the same time, for instance that
> you PHP5 can make class type hints about the parameters to a method,
> but you can also not do it.
I dont get it do you have an example ?