PhpMigration\Changes\v7dot0\ParseDifferenceTest::testYield PHP Метод

testYield() публичный Метод

yield is now a right associative operator
См. также: http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.other.yield
public testYield ( )
    public function testYield()
    {
        $this->assertHasSpot('echo yield -1;');
        $this->assertHasSpot('yield $foo or die;');
    }
ParseDifferenceTest