22
* Author: Unknown
* Status: Implemented in PHP 5.4
===== Introduction =====
Efforts were made ... amically, take the following example code:
<code php>
$object->newMethod = function () { return 42; };... oes not work, since the original proposal retains PHP's notion that member variables and methods live i... o.
Take, for example, the following code:
<code php>
class A {
private $value = 1;
public $closur
n order to remove $this support from closures for PHP 5.3 beta1. This has become necessary in order to ... function is not allowed anymore. Examples:
<code php>
$closure = function () { }; // still works
$clos