X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java index c2ba473..db68ad3 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java @@ -23,6 +23,8 @@ public class PHPParserTestCase extends AbstractCompilerTest { */ public void testPHPParser() { // checkPHP("i=10;"); // should get an error ! + checkPHP("$y=self::$x->huba;"); + checkPHP("self::x()->set();"); checkPHP("$test=\"{4IP}/{$include}\";"); checkPHP("$this->mRegex = \"/{$this->mBaseRegex}/{$case}\";"); checkPHP("$schema_create .= \" DEFAULT \'$row[Default]\'\";");