This is an error 404
There are `0` results
preferences:
136.25 ms | 1399 KiB | 7 Q<?php
$foo = function($this)
{
var_dump($this); // this will work!
};
$foo('bar');
// now an object:
class Test
{
public $foo = 'bar';
}
$test = new Test;
// and another closure:
$ouch = function($this)
{
var_dump($this->bar); // this will blow up
};
$ouch($test);