|
|
|
|
|
by oorza
5697 days ago
|
|
> classes are defined as final entities at compile time, then used at run time. This isn't exactly true. PHP objects can have dynamically assigned members without having magic methods defined. e.g. $foo = new stdClass();
$foo->bar = "baz";
echo $foo->bar; //"baz"
And now, with "closures", those members can be methods. |
|