Scope of the variables around PHP class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Guys,

I have a problem here. I hope you can help me resolving it.

Please see the code below

array.php has $array1 = ('hello'=>'heelo',)

require_once('array.php');

class Classa {

}

How can I access the array values in my class? I want to understand the
scope.

Thanks

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux