Printing address

Hi there,

Is there a way that I could print the address of a variable(string, array, object) in PHP?

For instance,

<?php $arr = array(1,2,4); // I'd like to print the array address $arr ?>

Any help is appreciated.

Thanks.

try some thing like this
[php]
foreach($employee as $item) {
$y = 0;
while($y < count($item)) {
echo $item[y];
$y++;
if($y < count($item)) {
echo ", ";
}
}
}

[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service