| Generator::keyGet the yielded key Description
   public mixed Generator::key
    ( void
   ) Gets the key of the yielded value. ParametersThis function has no parameters. Return ValuesReturns the yielded key. Examples
 Example #1 Generator::key example 
<?phpThe above example will output: key => value |