I am playing around with some php, and I found myself wondering something.
<?php
class license
{
public $v=array('product'=>"babab");
function blah($b)
{
if (//code)
{
//code
}
}
Is there a way to change the values of the array in another instance of the class?
For example...
$c = new license;
//change $v values??
$c->blah('woof.php');
How can I change the value of product in the $v array there?
I hope I was clear.