X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2FprettyPrinter%2Fexpr%2Fuvs.test;fp=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2FprettyPrinter%2Fexpr%2Fuvs.test;h=e336fb578ac54b5c9df10c3955d7a863904bcb30;hp=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/expr/uvs.test b/vendor/nikic/php-parser/test/code/prettyPrinter/expr/uvs.test new file mode 100644 index 000000000..e336fb578 --- /dev/null +++ b/vendor/nikic/php-parser/test/code/prettyPrinter/expr/uvs.test @@ -0,0 +1,23 @@ +Uniform variable syntax +----- +b)(); +(A::$b)(); +----- +!!php7 +(function () { +})(); +array('a', 'b')()(); +A::$b::$c; +$A::$b[$c](); +$A::{$b[$c]}(); +A::${$b}[$c](); +($a->b)(); +(A::$b)();