In php 5, all variable and objects are passed by reference, but i can't get my codes work
My codes is:
$arrayA = array();
$array = $arrayA;
...
if(!in_array(thedata, $array)
$array[] = thedata;
var_dump($arrayA);
The result is empty, am i missing something simple?