<?php class Bar{ public $state = "valid"; function baz($inject){ $this->state = "invalid"; $inject->qux(); $this->state = "valid"; } } $x = new Bar(); $x->baz(new class($x){ function __construct($x){ $this->x = $x; } function qux(){ echo $this->x->state . " pwned!"; } });
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`