Welcome Guest, Not a member yet? Register   Sign In
how declare variable inside constructor?
#6

[eluser]BrianDHall[/eluser]
One of the nice things about PHP is it isn't compiled - it takes mere seconds to change something and see if it works. PHP will very quickly let you know if you can declare a variable in a class outside of a function without using an explicit call to var.

If you try out an IDE such as Netbeans, PHPed, or Eclipse with PHP modules they have in-line syntax checkers which will also let you know if something works or not without even needing to refresh your browser.

While we really like helping, none of us like to be personal versions of documentation.

http://us2.php.net/manual/en/language.oop5.php


Messages In This Thread
how declare variable inside constructor? - by El Forum - 09-02-2009, 12:38 AM
how declare variable inside constructor? - by El Forum - 09-02-2009, 01:14 AM
how declare variable inside constructor? - by El Forum - 09-02-2009, 05:42 AM
how declare variable inside constructor? - by El Forum - 09-25-2009, 12:54 AM
how declare variable inside constructor? - by El Forum - 09-25-2009, 02:02 AM
how declare variable inside constructor? - by El Forum - 09-25-2009, 07:50 AM
how declare variable inside constructor? - by El Forum - 07-19-2011, 07:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB