Hi!
here is my problem
How can i make an object in this example
function load($name,$obj, &$out) {
$out = new $name;
}
this works ok, but how can i create like
$out = new class ($obj);
i hope you understand me, I want tu create object with this $obj
so something like this
$out = new $name .'('.$obj.')';
Ofcourse this don't work.
But how can i do this.