Posted by Shelly on 11/01/07 19:04
C. (http://symcbean.blogspot.com/) wrote:
> On 1 Nov, 12:08, Philluminati <Phillip.Ross.Tay...@gmail.com> wrote:
>> I've been looking on the Internet and I can't seem to see any one
>> specifying a variable with a type. Will someone please tell me it can
>> be done.
>>
>> int $tablename = 0;
>>
>> rather than
>>
>> var $tablename = 0;
>>
>> Is it possible?
>
> No - but if you can't understand dynamic typing and think strong
> typing will help, look at PHPLint.
PHP 5 has type hinting. That's close.
--
Shelly
Navigation:
[Reply to this message]
|