Array in element of object
Posted
by auto2000
on Stack Overflow
See other posts from Stack Overflow
or by auto2000
Published on 2010-05-20T21:18:42Z
Indexed on
2010/05/20
21:20 UTC
Read the original article
Hit count: 143
Why in example 'mytest' isn't an array?
class myclass {
public $mytest = array();
}
$insert = new myclass;
$insert -> mytest = Array (15, 50);
© Stack Overflow or respective owner