public function testThrowsExceptionWithWhileLoop() { $function = function () { while (true) { } }; $this->assertParsedAs($function, []); }