PhpMigration\Changes\v7dot0\ParserTest::testInvalidOctal PHP Метод

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

Invalid octal literals
См. также: http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.integers.invalid-octals
public testInvalidOctal ( )
    public function testInvalidOctal()
    {
        // BC for PHPUnit 4.8
        if (method_exists($this, 'expectException')) {
            $this->expectException(Error::class);
        }
        $this->parser->parse('<?php $a = 0128;');
    }