PhpMigration\Changes\v7dot0\ParserTest::testInvalidOctal PHP Method

testInvalidOctal() public method

Invalid octal literals
See also: 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;');
    }