PhpParser\LexerTest::provideTestError PHP Method

provideTestError() public method

public provideTestError ( )
    public function provideTestError()
    {
        return array(array("<?php /*", array("Unterminated comment from 1:7 to 1:9")), array("<?php ", array("Unexpected character \"\" (ASCII 1) from 1:7 to 1:7")), array("<?php ", array("Unexpected null byte from 1:7 to 1:7")), array("<?php ?? ", array("Unexpected null byte from 1:10 to 1:10")), array("<?php\n foo /* bar", array("Unexpected null byte from 2:1 to 2:1", "Unexpected character \"\" (ASCII 1) from 2:2 to 2:2", "Unterminated comment from 2:8 to 2:14")));
    }