X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2Fparser%2Fstmt%2Ffunction%2Fvariadic.test;fp=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2Fparser%2Fstmt%2Ffunction%2Fvariadic.test;h=afbcf68fb2b5cbe81286d97b3edb8231cec41e3c;hp=f9d848c7df5ee03b161746e2b3ba36fabff8694a;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/function/variadic.test b/vendor/nikic/php-parser/test/code/parser/stmt/function/variadic.test index f9d848c7d..afbcf68fb 100644 --- a/vendor/nikic/php-parser/test/code/parser/stmt/function/variadic.test +++ b/vendor/nikic/php-parser/test/code/parser/stmt/function/variadic.test @@ -9,20 +9,26 @@ function test($a, Type &... $b) {} array( 0: Stmt_Function( byRef: false - name: test + name: Identifier( + name: test + ) params: array( 0: Param( type: null byRef: false variadic: false - name: a + var: Expr_Variable( + name: a + ) default: null ) 1: Param( type: null byRef: false variadic: true - name: b + var: Expr_Variable( + name: b + ) default: null ) ) @@ -32,20 +38,26 @@ array( ) 1: Stmt_Function( byRef: false - name: test + name: Identifier( + name: test + ) params: array( 0: Param( type: null byRef: false variadic: false - name: a + var: Expr_Variable( + name: a + ) default: null ) 1: Param( type: null byRef: true variadic: true - name: b + var: Expr_Variable( + name: b + ) default: null ) ) @@ -55,13 +67,17 @@ array( ) 2: Stmt_Function( byRef: false - name: test + name: Identifier( + name: test + ) params: array( 0: Param( type: null byRef: false variadic: false - name: a + var: Expr_Variable( + name: a + ) default: null ) 1: Param( @@ -72,7 +88,9 @@ array( ) byRef: false variadic: true - name: b + var: Expr_Variable( + name: b + ) default: null ) ) @@ -82,13 +100,17 @@ array( ) 3: Stmt_Function( byRef: false - name: test + name: Identifier( + name: test + ) params: array( 0: Param( type: null byRef: false variadic: false - name: a + var: Expr_Variable( + name: a + ) default: null ) 1: Param( @@ -99,7 +121,9 @@ array( ) byRef: true variadic: true - name: b + var: Expr_Variable( + name: b + ) default: null ) ) @@ -107,4 +131,4 @@ array( stmts: array( ) ) -) +) \ No newline at end of file