public function testCallbackViolations() { $this->expectException('PHPSandbox\\Error'); $this->sandbox->execute(function () { array_filter(array("1"), "var_dump"); }); }