Is it possibile to initialize an object`s properties, with a simple action? I mean I have a class with 5 properties.
For example:
class CClass
{
$one;
$two;
$three;
$four;
$five;
function CClass()
{
$array = array(1,2,3,4,5);
...
}
}
And I`d like to initialize the properties, with the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.