how to assign dynamically a value in a class propert in PHP?
Posted
by yanis
on Stack Overflow
See other posts from Stack Overflow
or by yanis
Published on 2010-06-11T11:38:32Z
Indexed on
2010/06/11
11:42 UTC
Read the original article
Hit count: 171
I would like to assign a value in a class property dynamically (that is referring to it using a variable).
#Something like:
setPropValue($obj, $propName, $value);
© Stack Overflow or respective owner