Hello fellows,
I have noticed that CodeIgniter has the "var" keyword in front of all of its predefined class properties like this:
class CI_Session {
var $sess_encrypt_cookie = FALSE;
// more code here
}
I know that the "var" keyword was used back in PHP 4 to define a variable, but no one still uses PHP 4 anyways, so could you please tell me why the hell CodeIgniter still puts "var" in front of properties?
Edited by Stefany93, 03 March 2013 - 01:15 PM.













