Forum Moderators: coopster

Message Too Old, No Replies

Force Variable Declaration before use

is there such thing in PHP

         

AthlonInside

7:07 am on Oct 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you code in C or VB or PERL or other language, you are required (at least you can choose to) to DECLARE the any variable before you can use it. This will help the compiler to detect more possible mistakes and I found it useful.

Can I force PHP to do this as well?

jatar_k

8:18 am on Oct 29, 2004 (gmt 0)