- print_r: documentation ( source)
<?php
class bla {
private $y_busy;
public function test()
{
$this->y_busy[] = 1;
$this->y_busy[] = 2;
print_r($this->y_busy);
}
}
$a = new bla();
$a->test();