public function testThrowsExceptionWithGotoStatement() { $function = function () { goto Bed; Bed: }; $this->assertParsedAs($function, []); }