public function testEmptyWithFieldsInIndexEmitsNotice() { $this->assertEvaluatesTo(function () { empty($GLOBALS[$GLOBALS->foo]); }, null); }