Anonymous user
Add a variable to a class instance at runtime: Difference between revisions
Add a variable to a class instance at runtime (view source)
Revision as of 03:17, 6 June 2009
, 15 years ago→{{header|PHP}}
(Slate implementation) |
|||
Line 103:
$e->foo=1;
$e->{"foo"} = 1; // using a runtime name
=={{header|Pop11}}==
|