diff --git a/node/expr/t_variable_test.go b/node/expr/t_variable_test.go new file mode 100644 index 0000000..557906b --- /dev/null +++ b/node/expr/t_variable_test.go @@ -0,0 +1,49 @@ +package expr_test + +import ( + "bytes" + "testing" + + "github.com/z7zmey/php-parser/node/expr" + + "github.com/z7zmey/php-parser/node" + "github.com/z7zmey/php-parser/node/stmt" + "github.com/z7zmey/php-parser/php5" + "github.com/z7zmey/php-parser/php7" +) + +func TestVariable(t *testing.T) { + src := `