http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/funcCall.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/funcCall.test b/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/funcCall.test deleted file mode 100644 index b5b8be5..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/funcCall.test +++ /dev/null @@ -1,117 +0,0 @@ -Function calls ------ -<?php - -// function name variations -a(); -$a(); -${'a'}(); -$$a(); -$$$a(); -$a['b'](); -$a{'b'}(); -$a->b['c'](); - -// array dereferencing -a()['b']; ------ -array( - 0: Expr_FuncCall( - name: Name( - parts: array( - 0: a - ) - ) - args: array( - ) - ) - 1: Expr_FuncCall( - name: Expr_Variable( - name: a - ) - args: array( - ) - ) - 2: Expr_FuncCall( - name: Expr_Variable( - name: Scalar_String( - value: a - ) - ) - args: array( - ) - ) - 3: Expr_FuncCall( - name: Expr_Variable( - name: Expr_Variable( - name: a - ) - ) - args: array( - ) - ) - 4: Expr_FuncCall( - name: Expr_Variable( - name: Expr_Variable( - name: Expr_Variable( - name: a - ) - ) - ) - args: array( - ) - ) - 5: Expr_FuncCall( - name: Expr_ArrayDimFetch( - var: Expr_Variable( - name: a - ) - dim: Scalar_String( - value: b - ) - ) - args: array( - ) - ) - 6: Expr_FuncCall( - name: Expr_ArrayDimFetch( - var: Expr_Variable( - name: a - ) - dim: Scalar_String( - value: b - ) - ) - args: array( - ) - ) - 7: Expr_FuncCall( - name: Expr_ArrayDimFetch( - var: Expr_PropertyFetch( - var: Expr_Variable( - name: a - ) - name: b - ) - dim: Scalar_String( - value: c - ) - ) - args: array( - ) - ) - 8: Expr_ArrayDimFetch( - var: Expr_FuncCall( - name: Name( - parts: array( - 0: a - ) - ) - args: array( - ) - ) - dim: Scalar_String( - value: b - ) - ) -) \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/newDeref.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/newDeref.test b/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/newDeref.test deleted file mode 100644 index 5e36ff8..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/newDeref.test +++ /dev/null @@ -1,70 +0,0 @@ -New expression dereferencing ------ -<?php - -(new A)->b; -(new A)->b(); -(new A)['b']; -(new A)['b']['c']; ------ -array( - 0: Expr_PropertyFetch( - var: Expr_New( - class: Name( - parts: array( - 0: A - ) - ) - args: array( - ) - ) - name: b - ) - 1: Expr_MethodCall( - var: Expr_New( - class: Name( - parts: array( - 0: A - ) - ) - args: array( - ) - ) - name: b - args: array( - ) - ) - 2: Expr_ArrayDimFetch( - var: Expr_New( - class: Name( - parts: array( - 0: A - ) - ) - args: array( - ) - ) - dim: Scalar_String( - value: b - ) - ) - 3: Expr_ArrayDimFetch( - var: Expr_ArrayDimFetch( - var: Expr_New( - class: Name( - parts: array( - 0: A - ) - ) - args: array( - ) - ) - dim: Scalar_String( - value: b - ) - ) - dim: Scalar_String( - value: c - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/objectAccess.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/objectAccess.test b/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/objectAccess.test deleted file mode 100644 index 9dd1858..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/objectAccess.test +++ /dev/null @@ -1,118 +0,0 @@ -Object access ------ -<?php - -// property fetch variations -$a->b; -$a->b['c']; -$a->b{'c'}; - -// method call variations -$a->b(); -$a->{'b'}(); -$a->$b(); -$a->$b['c'](); - -// array dereferencing -$a->b()['c']; -$a->b(){'c'}; // invalid PHP: drop Support? ------ -array( - 0: Expr_PropertyFetch( - var: Expr_Variable( - name: a - ) - name: b - ) - 1: Expr_ArrayDimFetch( - var: Expr_PropertyFetch( - var: Expr_Variable( - name: a - ) - name: b - ) - dim: Scalar_String( - value: c - ) - ) - 2: Expr_ArrayDimFetch( - var: Expr_PropertyFetch( - var: Expr_Variable( - name: a - ) - name: b - ) - dim: Scalar_String( - value: c - ) - ) - 3: Expr_MethodCall( - var: Expr_Variable( - name: a - ) - name: b - args: array( - ) - ) - 4: Expr_MethodCall( - var: Expr_Variable( - name: a - ) - name: Scalar_String( - value: b - ) - args: array( - ) - ) - 5: Expr_MethodCall( - var: Expr_Variable( - name: a - ) - name: Expr_Variable( - name: b - ) - args: array( - ) - ) - 6: Expr_MethodCall( - var: Expr_Variable( - name: a - ) - name: Expr_ArrayDimFetch( - var: Expr_Variable( - name: b - ) - dim: Scalar_String( - value: c - ) - ) - args: array( - ) - ) - 7: Expr_ArrayDimFetch( - var: Expr_MethodCall( - var: Expr_Variable( - name: a - ) - name: b - args: array( - ) - ) - dim: Scalar_String( - value: c - ) - ) - 8: Expr_ArrayDimFetch( - var: Expr_MethodCall( - var: Expr_Variable( - name: a - ) - name: b - args: array( - ) - ) - dim: Scalar_String( - value: c - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/simpleArrayAccess.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/simpleArrayAccess.test b/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/simpleArrayAccess.test deleted file mode 100644 index ea3f9ef..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/simpleArrayAccess.test +++ /dev/null @@ -1,62 +0,0 @@ -Simple array access ------ -<?php - -$a['b']; -$a['b']['c']; -$a[] = $b; -$a{'b'}; -${$a}['b']; ------ -array( - 0: Expr_ArrayDimFetch( - var: Expr_Variable( - name: a - ) - dim: Scalar_String( - value: b - ) - ) - 1: Expr_ArrayDimFetch( - var: Expr_ArrayDimFetch( - var: Expr_Variable( - name: a - ) - dim: Scalar_String( - value: b - ) - ) - dim: Scalar_String( - value: c - ) - ) - 2: Expr_Assign( - var: Expr_ArrayDimFetch( - var: Expr_Variable( - name: a - ) - dim: null - ) - expr: Expr_Variable( - name: b - ) - ) - 3: Expr_ArrayDimFetch( - var: Expr_Variable( - name: a - ) - dim: Scalar_String( - value: b - ) - ) - 4: Expr_ArrayDimFetch( - var: Expr_Variable( - name: Expr_Variable( - name: a - ) - ) - dim: Scalar_String( - value: b - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticCall.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticCall.test b/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticCall.test deleted file mode 100644 index 961dc65..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticCall.test +++ /dev/null @@ -1,151 +0,0 @@ -Static calls ------ -<?php - -// method name variations -A::b(); -A::{'b'}(); -A::$b(); -A::$b['c'](); -A::$b['c']['d'](); - -// array dereferencing -A::b()['c']; - -// class name variations -static::b(); -$a::b(); -${'a'}::b(); -$a['b']::c(); ------ -array( - 0: Expr_StaticCall( - class: Name( - parts: array( - 0: A - ) - ) - name: b - args: array( - ) - ) - 1: Expr_StaticCall( - class: Name( - parts: array( - 0: A - ) - ) - name: Scalar_String( - value: b - ) - args: array( - ) - ) - 2: Expr_StaticCall( - class: Name( - parts: array( - 0: A - ) - ) - name: Expr_Variable( - name: b - ) - args: array( - ) - ) - 3: Expr_StaticCall( - class: Name( - parts: array( - 0: A - ) - ) - name: Expr_ArrayDimFetch( - var: Expr_Variable( - name: b - ) - dim: Scalar_String( - value: c - ) - ) - args: array( - ) - ) - 4: Expr_StaticCall( - class: Name( - parts: array( - 0: A - ) - ) - name: Expr_ArrayDimFetch( - var: Expr_ArrayDimFetch( - var: Expr_Variable( - name: b - ) - dim: Scalar_String( - value: c - ) - ) - dim: Scalar_String( - value: d - ) - ) - args: array( - ) - ) - 5: Expr_ArrayDimFetch( - var: Expr_StaticCall( - class: Name( - parts: array( - 0: A - ) - ) - name: b - args: array( - ) - ) - dim: Scalar_String( - value: c - ) - ) - 6: Expr_StaticCall( - class: Name( - parts: array( - 0: static - ) - ) - name: b - args: array( - ) - ) - 7: Expr_StaticCall( - class: Expr_Variable( - name: a - ) - name: b - args: array( - ) - ) - 8: Expr_StaticCall( - class: Expr_Variable( - name: Scalar_String( - value: a - ) - ) - name: b - args: array( - ) - ) - 9: Expr_StaticCall( - class: Expr_ArrayDimFetch( - var: Expr_Variable( - name: a - ) - dim: Scalar_String( - value: b - ) - ) - name: c - args: array( - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticPropertyFetch.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticPropertyFetch.test b/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticPropertyFetch.test deleted file mode 100644 index f1b08eb..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticPropertyFetch.test +++ /dev/null @@ -1,71 +0,0 @@ -Static property fetches ------ -<?php - -// property name variations -A::$b; -A::$$b; -A::${'b'}; - -// array access -A::$b['c']; -A::$b{'c'}; - -// class name variations can be found in staticCall.test ------ -array( - 0: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A - ) - ) - name: b - ) - 1: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A - ) - ) - name: Expr_Variable( - name: b - ) - ) - 2: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A - ) - ) - name: Scalar_String( - value: b - ) - ) - 3: Expr_ArrayDimFetch( - var: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A - ) - ) - name: b - ) - dim: Scalar_String( - value: c - ) - ) - 4: Expr_ArrayDimFetch( - var: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A - ) - ) - name: b - ) - dim: Scalar_String( - value: c - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/includeAndEval.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/includeAndEval.test b/vendor/nikic/php-parser/test/code/parser/expr/includeAndEval.test deleted file mode 100644 index 69458a4..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/includeAndEval.test +++ /dev/null @@ -1,40 +0,0 @@ -Include and eval ------ -<?php -include 'A.php'; -include_once 'A.php'; -require 'A.php'; -require_once 'A.php'; -eval('A'); ------ -array( - 0: Expr_Include( - expr: Scalar_String( - value: A.php - ) - type: 1 - ) - 1: Expr_Include( - expr: Scalar_String( - value: A.php - ) - type: 2 - ) - 2: Expr_Include( - expr: Scalar_String( - value: A.php - ) - type: 3 - ) - 3: Expr_Include( - expr: Scalar_String( - value: A.php - ) - type: 4 - ) - 4: Expr_Eval( - expr: Scalar_String( - value: A - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/issetAndEmpty.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/issetAndEmpty.test b/vendor/nikic/php-parser/test/code/parser/expr/issetAndEmpty.test deleted file mode 100644 index 3a43d0d..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/issetAndEmpty.test +++ /dev/null @@ -1,75 +0,0 @@ -isset() and empty() ------ -<?php -isset($a); -isset($a, $b, $c); - -empty($a); -empty(foo()); -empty(array(1, 2, 3)); ------ -array( - 0: Expr_Isset( - vars: array( - 0: Expr_Variable( - name: a - ) - ) - ) - 1: Expr_Isset( - vars: array( - 0: Expr_Variable( - name: a - ) - 1: Expr_Variable( - name: b - ) - 2: Expr_Variable( - name: c - ) - ) - ) - 2: Expr_Empty( - expr: Expr_Variable( - name: a - ) - ) - 3: Expr_Empty( - expr: Expr_FuncCall( - name: Name( - parts: array( - 0: foo - ) - ) - args: array( - ) - ) - ) - 4: Expr_Empty( - expr: Expr_Array( - items: array( - 0: Expr_ArrayItem( - key: null - value: Scalar_LNumber( - value: 1 - ) - byRef: false - ) - 1: Expr_ArrayItem( - key: null - value: Scalar_LNumber( - value: 2 - ) - byRef: false - ) - 2: Expr_ArrayItem( - key: null - value: Scalar_LNumber( - value: 3 - ) - byRef: false - ) - ) - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/logic.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/logic.test b/vendor/nikic/php-parser/test/code/parser/expr/logic.test deleted file mode 100644 index 4770775..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/logic.test +++ /dev/null @@ -1,138 +0,0 @@ -Logical operators ------ -<?php - -// boolean ops -$a && $b; -$a || $b; -!$a; -!!$a; - -// logical ops -$a and $b; -$a or $b; -$a xor $b; - -// precedence -$a && $b || $c && $d; -$a && ($b || $c) && $d; - -$a = $b || $c; -$a = $b or $c; ------ -array( - 0: Expr_BooleanAnd( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 1: Expr_BooleanOr( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 2: Expr_BooleanNot( - expr: Expr_Variable( - name: a - ) - ) - 3: Expr_BooleanNot( - expr: Expr_BooleanNot( - expr: Expr_Variable( - name: a - ) - ) - ) - 4: Expr_LogicalAnd( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 5: Expr_LogicalOr( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 6: Expr_LogicalXor( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 7: Expr_BooleanOr( - left: Expr_BooleanAnd( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - right: Expr_BooleanAnd( - left: Expr_Variable( - name: c - ) - right: Expr_Variable( - name: d - ) - ) - ) - 8: Expr_BooleanAnd( - left: Expr_BooleanAnd( - left: Expr_Variable( - name: a - ) - right: Expr_BooleanOr( - left: Expr_Variable( - name: b - ) - right: Expr_Variable( - name: c - ) - ) - ) - right: Expr_Variable( - name: d - ) - ) - 9: Expr_Assign( - var: Expr_Variable( - name: a - ) - expr: Expr_BooleanOr( - left: Expr_Variable( - name: b - ) - right: Expr_Variable( - name: c - ) - ) - ) - 10: Expr_LogicalOr( - left: Expr_Assign( - var: Expr_Variable( - name: a - ) - expr: Expr_Variable( - name: b - ) - ) - right: Expr_Variable( - name: c - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/math.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/math.test b/vendor/nikic/php-parser/test/code/parser/expr/math.test deleted file mode 100644 index 7f750ac..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/math.test +++ /dev/null @@ -1,187 +0,0 @@ -Mathematical operators ------ -<?php - -// unary ops -~$a; -+$a; --$a; - -// binary ops -$a & $b; -$a | $b; -$a ^ $b; -$a . $b; -$a / $b; -$a - $b; -$a % $b; -$a * $b; -$a + $b; -$a << $b; -$a >> $b; - -// associativity -$a * $b * $c; -$a * ($b * $c); - -// precedence -$a + $b * $c; -($a + $b) * $c; ------ -array( - 0: Expr_BitwiseNot( - expr: Expr_Variable( - name: a - ) - ) - 1: Expr_UnaryPlus( - expr: Expr_Variable( - name: a - ) - ) - 2: Expr_UnaryMinus( - expr: Expr_Variable( - name: a - ) - ) - 3: Expr_BitwiseAnd( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 4: Expr_BitwiseOr( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 5: Expr_BitwiseXor( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 6: Expr_Concat( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 7: Expr_Div( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 8: Expr_Minus( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 9: Expr_Mod( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 10: Expr_Mul( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 11: Expr_Plus( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 12: Expr_ShiftLeft( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 13: Expr_ShiftRight( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - 14: Expr_Mul( - left: Expr_Mul( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - right: Expr_Variable( - name: c - ) - ) - 15: Expr_Mul( - left: Expr_Variable( - name: a - ) - right: Expr_Mul( - left: Expr_Variable( - name: b - ) - right: Expr_Variable( - name: c - ) - ) - ) - 16: Expr_Plus( - left: Expr_Variable( - name: a - ) - right: Expr_Mul( - left: Expr_Variable( - name: b - ) - right: Expr_Variable( - name: c - ) - ) - ) - 17: Expr_Mul( - left: Expr_Plus( - left: Expr_Variable( - name: a - ) - right: Expr_Variable( - name: b - ) - ) - right: Expr_Variable( - name: c - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/new.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/new.test b/vendor/nikic/php-parser/test/code/parser/expr/new.test deleted file mode 100644 index daca29c..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/new.test +++ /dev/null @@ -1,139 +0,0 @@ -New ------ -<?php - -new A; -new A($b); - -// class name variations -new $a(); -new $a['b'](); -new A::$b(); -// DNCR object access -new $a->b(); -new $a->b->c(); -new $a->b['c'](); -new $a->b{'c'}(); - -// test regression introduces by new dereferencing syntax -(new A); ------ -array( - 0: Expr_New( - class: Name( - parts: array( - 0: A - ) - ) - args: array( - ) - ) - 1: Expr_New( - class: Name( - parts: array( - 0: A - ) - ) - args: array( - 0: Arg( - value: Expr_Variable( - name: b - ) - byRef: false - ) - ) - ) - 2: Expr_New( - class: Expr_Variable( - name: a - ) - args: array( - ) - ) - 3: Expr_New( - class: Expr_ArrayDimFetch( - var: Expr_Variable( - name: a - ) - dim: Scalar_String( - value: b - ) - ) - args: array( - ) - ) - 4: Expr_New( - class: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A - ) - ) - name: b - ) - args: array( - ) - ) - 5: Expr_New( - class: Expr_PropertyFetch( - var: Expr_Variable( - name: a - ) - name: b - ) - args: array( - ) - ) - 6: Expr_New( - class: Expr_PropertyFetch( - var: Expr_PropertyFetch( - var: Expr_Variable( - name: a - ) - name: b - ) - name: c - ) - args: array( - ) - ) - 7: Expr_New( - class: Expr_ArrayDimFetch( - var: Expr_PropertyFetch( - var: Expr_Variable( - name: a - ) - name: b - ) - dim: Scalar_String( - value: c - ) - ) - args: array( - ) - ) - 8: Expr_New( - class: Expr_ArrayDimFetch( - var: Expr_PropertyFetch( - var: Expr_Variable( - name: a - ) - name: b - ) - dim: Scalar_String( - value: c - ) - ) - args: array( - ) - ) - 9: Expr_New( - class: Name( - parts: array( - 0: A - ) - ) - args: array( - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/print.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/print.test b/vendor/nikic/php-parser/test/code/parser/expr/print.test deleted file mode 100644 index d07afda..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/print.test +++ /dev/null @@ -1,12 +0,0 @@ -Print ------ -<?php -print $a; ------ -array( - 0: Expr_Print( - expr: Expr_Variable( - name: a - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/shellExec.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/shellExec.test b/vendor/nikic/php-parser/test/code/parser/expr/shellExec.test deleted file mode 100644 index bc7e314..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/shellExec.test +++ /dev/null @@ -1,38 +0,0 @@ -Shell execution ------ -<?php -``; -`test`; -`test $A`; -`test \``; -`test \"`; ------ -array( - 0: Expr_ShellExec( - parts: array( - ) - ) - 1: Expr_ShellExec( - parts: array( - 0: test - ) - ) - 2: Expr_ShellExec( - parts: array( - 0: test - 1: Expr_Variable( - name: A - ) - ) - ) - 3: Expr_ShellExec( - parts: array( - 0: test ` - ) - ) - 4: Expr_ShellExec( - parts: array( - 0: test \" - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/ternary.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/ternary.test b/vendor/nikic/php-parser/test/code/parser/expr/ternary.test deleted file mode 100644 index ed6e505..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/ternary.test +++ /dev/null @@ -1,72 +0,0 @@ -Ternary operator ------ -<?php - -// ternary -$a ? $b : $c; -$a ?: $c; - -// precedence -$a ? $b : $c ? $d : $e; -$a ? $b : ($c ? $d : $e); ------ -array( - 0: Expr_Ternary( - cond: Expr_Variable( - name: a - ) - if: Expr_Variable( - name: b - ) - else: Expr_Variable( - name: c - ) - ) - 1: Expr_Ternary( - cond: Expr_Variable( - name: a - ) - if: null - else: Expr_Variable( - name: c - ) - ) - 2: Expr_Ternary( - cond: Expr_Ternary( - cond: Expr_Variable( - name: a - ) - if: Expr_Variable( - name: b - ) - else: Expr_Variable( - name: c - ) - ) - if: Expr_Variable( - name: d - ) - else: Expr_Variable( - name: e - ) - ) - 3: Expr_Ternary( - cond: Expr_Variable( - name: a - ) - if: Expr_Variable( - name: b - ) - else: Expr_Ternary( - cond: Expr_Variable( - name: c - ) - if: Expr_Variable( - name: d - ) - else: Expr_Variable( - name: e - ) - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/expr/variable.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/expr/variable.test b/vendor/nikic/php-parser/test/code/parser/expr/variable.test deleted file mode 100644 index 1716d5b..0000000 --- a/vendor/nikic/php-parser/test/code/parser/expr/variable.test +++ /dev/null @@ -1,54 +0,0 @@ -Variable syntaxes ------ -<?php - -$a; -${'a'}; -${foo()}; -$$a; -$$$a; -$$a['b']; ------ -array( - 0: Expr_Variable( - name: a - ) - 1: Expr_Variable( - name: Scalar_String( - value: a - ) - ) - 2: Expr_Variable( - name: Expr_FuncCall( - name: Name( - parts: array( - 0: foo - ) - ) - args: array( - ) - ) - ) - 3: Expr_Variable( - name: Expr_Variable( - name: a - ) - ) - 4: Expr_Variable( - name: Expr_Variable( - name: Expr_Variable( - name: a - ) - ) - ) - 5: Expr_Variable( - name: Expr_ArrayDimFetch( - var: Expr_Variable( - name: a - ) - dim: Scalar_String( - value: b - ) - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/scalar/constantString.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/scalar/constantString.test b/vendor/nikic/php-parser/test/code/parser/scalar/constantString.test deleted file mode 100644 index 943ae3d..0000000 --- a/vendor/nikic/php-parser/test/code/parser/scalar/constantString.test +++ /dev/null @@ -1,53 +0,0 @@ -Constant string syntaxes ------ -<?php - -''; -""; -b''; -b""; -'Hi'; -b'Hi'; -"Hi"; -b"Hi"; -'!\'!\\!\a!'; -"!\"!\\!\$!\n!\r!\t!\f!\v!\e!\a"; -"!\xFF!\377!\400!\0!"; ------ -array( - 0: Scalar_String( - value: - ) - 1: Scalar_String( - value: - ) - 2: Scalar_String( - value: - ) - 3: Scalar_String( - value: - ) - 4: Scalar_String( - value: Hi - ) - 5: Scalar_String( - value: Hi - ) - 6: Scalar_String( - value: Hi - ) - 7: Scalar_String( - value: Hi - ) - 8: Scalar_String( - value: !'!\!\a! - ) - 9: Scalar_String( - value: !"!\!$! - ! -!@@{ "\t" }@@!@@{ "\f" }@@!@@{ "\v" }@@!@@{ chr(27) /* "\e" */ }@@!\a - ) - 10: Scalar_String( - value: !@@{ chr(255) }@@!@@{ chr(255) }@@!@@{ chr(0) }@@!@@{ chr(0) }@@! - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/scalar/docString.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/scalar/docString.test b/vendor/nikic/php-parser/test/code/parser/scalar/docString.test deleted file mode 100644 index c577bb0..0000000 --- a/vendor/nikic/php-parser/test/code/parser/scalar/docString.test +++ /dev/null @@ -1,67 +0,0 @@ -Nowdoc and heredoc strings ------ -<?php - -// empty strings -<<<'EOS' -EOS; -<<<EOS -EOS; - -// constant encapsed strings -<<<'EOS' -Test '" $a \n -EOS; -<<<EOS -Test '" \$a \n -EOS; - -// encapsed strings -<<<EOS -Test $a -EOS; -<<<EOS -Test $a and $b->c test -EOS; - -// comment to force line break before EOF ------ -array( - 0: Scalar_String( - value: - ) - 1: Scalar_String( - value: - ) - 2: Scalar_String( - value: Test '" $a \n - ) - 3: Scalar_String( - value: Test '" $a - - ) - 4: Scalar_Encapsed( - parts: array( - 0: Test - 1: Expr_Variable( - name: a - ) - ) - ) - 5: Scalar_Encapsed( - parts: array( - 0: Test - 1: Expr_Variable( - name: a - ) - 2: and - 3: Expr_PropertyFetch( - var: Expr_Variable( - name: b - ) - name: c - ) - 4: test - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/scalar/encapsedString.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/scalar/encapsedString.test b/vendor/nikic/php-parser/test/code/parser/scalar/encapsedString.test deleted file mode 100644 index 717f844..0000000 --- a/vendor/nikic/php-parser/test/code/parser/scalar/encapsedString.test +++ /dev/null @@ -1,148 +0,0 @@ -Encapsed strings ------ -<?php - -"$A"; -"$A->B"; -"$A[B]"; -"$A[0]"; -"$A[0x0]"; -"$A[$B]"; -"{$A}"; -"{$A['B']}"; -"${A}"; -"${A['B']}"; -"${$A}"; -"A $B C"; -b"$A"; ------ -array( - 0: Scalar_Encapsed( - parts: array( - 0: Expr_Variable( - name: A - ) - ) - ) - 1: Scalar_Encapsed( - parts: array( - 0: Expr_PropertyFetch( - var: Expr_Variable( - name: A - ) - name: B - ) - ) - ) - 2: Scalar_Encapsed( - parts: array( - 0: Expr_ArrayDimFetch( - var: Expr_Variable( - name: A - ) - dim: Scalar_String( - value: B - ) - ) - ) - ) - 3: Scalar_Encapsed( - parts: array( - 0: Expr_ArrayDimFetch( - var: Expr_Variable( - name: A - ) - dim: Scalar_String( - value: 0 - ) - ) - ) - ) - 4: Scalar_Encapsed( - parts: array( - 0: Expr_ArrayDimFetch( - var: Expr_Variable( - name: A - ) - dim: Scalar_String( - value: 0x0 - ) - ) - ) - ) - 5: Scalar_Encapsed( - parts: array( - 0: Expr_ArrayDimFetch( - var: Expr_Variable( - name: A - ) - dim: Expr_Variable( - name: B - ) - ) - ) - ) - 6: Scalar_Encapsed( - parts: array( - 0: Expr_Variable( - name: A - ) - ) - ) - 7: Scalar_Encapsed( - parts: array( - 0: Expr_ArrayDimFetch( - var: Expr_Variable( - name: A - ) - dim: Scalar_String( - value: B - ) - ) - ) - ) - 8: Scalar_Encapsed( - parts: array( - 0: Expr_Variable( - name: A - ) - ) - ) - 9: Scalar_Encapsed( - parts: array( - 0: Expr_ArrayDimFetch( - var: Expr_Variable( - name: A - ) - dim: Scalar_String( - value: B - ) - ) - ) - ) - 10: Scalar_Encapsed( - parts: array( - 0: Expr_Variable( - name: Expr_Variable( - name: A - ) - ) - ) - ) - 11: Scalar_Encapsed( - parts: array( - 0: A - 1: Expr_Variable( - name: B - ) - 2: C - ) - ) - 12: Scalar_Encapsed( - parts: array( - 0: Expr_Variable( - name: A - ) - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/scalar/float.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/scalar/float.test b/vendor/nikic/php-parser/test/code/parser/scalar/float.test deleted file mode 100644 index c91b7ac..0000000 --- a/vendor/nikic/php-parser/test/code/parser/scalar/float.test +++ /dev/null @@ -1,70 +0,0 @@ -Different float syntaxes ------ -<?php - -0.0; -0.; -.0; -0e0; -0E0; -0e+0; -0e-0; -30.20e10; -300.200e100; -1e10000; - -// various integer -> float overflows -// (all are actually the same number, just in different representations) -18446744073709551615; -0xFFFFFFFFFFFFFFFF; -01777777777777777777777; -0177777777777777777777787; -0b1111111111111111111111111111111111111111111111111111111111111111; ------ -array( - 0: Scalar_DNumber( - value: 0 - ) - 1: Scalar_DNumber( - value: 0 - ) - 2: Scalar_DNumber( - value: 0 - ) - 3: Scalar_DNumber( - value: 0 - ) - 4: Scalar_DNumber( - value: 0 - ) - 5: Scalar_DNumber( - value: 0 - ) - 6: Scalar_DNumber( - value: 0 - ) - 7: Scalar_DNumber( - value: 302000000000 - ) - 8: Scalar_DNumber( - value: 3.002E+102 - ) - 9: Scalar_DNumber( - value: INF - ) - 10: Scalar_DNumber( - value: @@{ 0xFFFFFFFFFFFFFFFF }@@ - ) - 11: Scalar_DNumber( - value: @@{ 0xFFFFFFFFFFFFFFFF }@@ - ) - 12: Scalar_DNumber( - value: @@{ 0xFFFFFFFFFFFFFFFF }@@ - ) - 13: Scalar_DNumber( - value: @@{ 0xFFFFFFFFFFFFFFFF }@@ - ) - 14: Scalar_DNumber( - value: @@{ 0xFFFFFFFFFFFFFFFF }@@ - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/scalar/int.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/scalar/int.test b/vendor/nikic/php-parser/test/code/parser/scalar/int.test deleted file mode 100644 index 17a5785..0000000 --- a/vendor/nikic/php-parser/test/code/parser/scalar/int.test +++ /dev/null @@ -1,47 +0,0 @@ -Different integer syntaxes ------ -<?php - -0; -1; -@@{ PHP_INT_MAX }@@; -@@{ PHP_INT_MAX + 1 }@@; -0xFFF; -0xfff; -0XfFf; -0777; -0787; -0b111000111000; ------ -array( - 0: Scalar_LNumber( - value: 0 - ) - 1: Scalar_LNumber( - value: 1 - ) - 2: Scalar_LNumber( - value: @@{ PHP_INT_MAX }@@ - ) - 3: Scalar_DNumber( - value: @@{ PHP_INT_MAX + 1 }@@ - ) - 4: Scalar_LNumber( - value: 4095 - ) - 5: Scalar_LNumber( - value: 4095 - ) - 6: Scalar_LNumber( - value: 4095 - ) - 7: Scalar_LNumber( - value: 511 - ) - 8: Scalar_LNumber( - value: 7 - ) - 9: Scalar_LNumber( - value: 3640 - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/scalar/magicConst.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/scalar/magicConst.test b/vendor/nikic/php-parser/test/code/parser/scalar/magicConst.test deleted file mode 100644 index 58291f7..0000000 --- a/vendor/nikic/php-parser/test/code/parser/scalar/magicConst.test +++ /dev/null @@ -1,31 +0,0 @@ -Magic constants ------ -<?php - -__CLASS__; -__DIR__; -__FILE__; -__FUNCTION__; -__LINE__; -__METHOD__; -__NAMESPACE__; -__TRAIT__; ------ -array( - 0: Scalar_ClassConst( - ) - 1: Scalar_DirConst( - ) - 2: Scalar_FileConst( - ) - 3: Scalar_FuncConst( - ) - 4: Scalar_LineConst( - ) - 5: Scalar_MethodConst( - ) - 6: Scalar_NSConst( - ) - 7: Scalar_TraitConst( - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/blocklessStatement.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/blocklessStatement.test b/vendor/nikic/php-parser/test/code/parser/stmt/blocklessStatement.test deleted file mode 100644 index 10f6a2c..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/blocklessStatement.test +++ /dev/null @@ -1,112 +0,0 @@ -Blockless statements for if/for/etc ------ -<?php - -if ($a) $A; -elseif ($b) $B; -else $C; - -for (;;) $foo; - -foreach ($a as $b) $AB; - -while ($a) $A; - -do $A; while ($a); - -declare (a='b') $C; ------ -array( - 0: Stmt_If( - stmts: array( - 0: Expr_Variable( - name: A - ) - ) - elseifs: array( - 0: Stmt_ElseIf( - cond: Expr_Variable( - name: b - ) - stmts: array( - 0: Expr_Variable( - name: B - ) - ) - ) - ) - else: Stmt_Else( - stmts: array( - 0: Expr_Variable( - name: C - ) - ) - ) - cond: Expr_Variable( - name: a - ) - ) - 1: Stmt_For( - init: array( - ) - cond: array( - ) - loop: array( - ) - stmts: array( - 0: Expr_Variable( - name: foo - ) - ) - ) - 2: Stmt_Foreach( - keyVar: null - byRef: false - stmts: array( - 0: Expr_Variable( - name: AB - ) - ) - expr: Expr_Variable( - name: a - ) - valueVar: Expr_Variable( - name: b - ) - ) - 3: Stmt_While( - cond: Expr_Variable( - name: a - ) - stmts: array( - 0: Expr_Variable( - name: A - ) - ) - ) - 4: Stmt_Do( - cond: Expr_Variable( - name: a - ) - stmts: array( - 0: Expr_Variable( - name: A - ) - ) - ) - 5: Stmt_Declare( - declares: array( - 0: Stmt_DeclareDeclare( - key: a - value: Scalar_String( - value: b - ) - ) - ) - stmts: array( - 0: Expr_Variable( - name: C - ) - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/abstract.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/abstract.test b/vendor/nikic/php-parser/test/code/parser/stmt/class/abstract.test deleted file mode 100644 index d7edca7..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/abstract.test +++ /dev/null @@ -1,37 +0,0 @@ -Abstract class ------ -<?php - -abstract class A { - public function a() {} - abstract public function b(); -} ------ -array( - 0: Stmt_Class( - type: 16 - extends: null - implements: array( - ) - stmts: array( - 0: Stmt_ClassMethod( - type: 1 - byRef: false - params: array( - ) - stmts: array( - ) - name: a - ) - 1: Stmt_ClassMethod( - type: 17 - byRef: false - params: array( - ) - stmts: null - name: b - ) - ) - name: A - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/conditional.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/conditional.test b/vendor/nikic/php-parser/test/code/parser/stmt/class/conditional.test deleted file mode 100644 index ce47224..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/conditional.test +++ /dev/null @@ -1,33 +0,0 @@ -Conditional class definition ------ -<?php - -if (true) { - class A {} -} ------ -array( - 0: Stmt_If( - stmts: array( - 0: Stmt_Class( - type: 0 - extends: null - implements: array( - ) - stmts: array( - ) - name: A - ) - ) - elseifs: array( - ) - else: null - cond: Expr_ConstFetch( - name: Name( - parts: array( - 0: true - ) - ) - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/final.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/final.test b/vendor/nikic/php-parser/test/code/parser/stmt/class/final.test deleted file mode 100644 index aee61ec..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/final.test +++ /dev/null @@ -1,17 +0,0 @@ -Final class ------ -<?php - -final class A {} ------ -array( - 0: Stmt_Class( - type: 32 - extends: null - implements: array( - ) - stmts: array( - ) - name: A - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/interface.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/interface.test b/vendor/nikic/php-parser/test/code/parser/stmt/class/interface.test deleted file mode 100644 index ff65710..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/interface.test +++ /dev/null @@ -1,35 +0,0 @@ -Interface ------ -<?php - -interface A extends C, D { - public function a(); -} ------ -array( - 0: Stmt_Interface( - extends: array( - 0: Name( - parts: array( - 0: C - ) - ) - 1: Name( - parts: array( - 0: D - ) - ) - ) - stmts: array( - 0: Stmt_ClassMethod( - type: 1 - byRef: false - params: array( - ) - stmts: null - name: a - ) - ) - name: A - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/modifier.test-fail ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/modifier.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/class/modifier.test-fail deleted file mode 100644 index 7272b4c..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/modifier.test-fail +++ /dev/null @@ -1,29 +0,0 @@ -Invalid modifier combination ------ -<?php class A { public public $a; } ------ -Multiple access type modifiers are not allowed on line 1 ------ -<?php class A { public protected $a; } ------ -Multiple access type modifiers are not allowed on line 1 ------ -<?php class A { abstract abstract a(); } ------ -Multiple abstract modifiers are not allowed on line 1 ------ -<?php class A { static static $a; } ------ -Multiple static modifiers are not allowed on line 1 ------ -<?php class A { final final a() {} } ------ -Multiple final modifiers are not allowed on line 1 ------ -<?php class A { abstract final a(); } ------ -Cannot use the final modifier on an abstract class member on line 1 ------ -<?php abstract final class A { } ------ -Syntax error, unexpected T_FINAL, expecting T_CLASS on line 1 http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/name.test-fail ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/name.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/class/name.test-fail deleted file mode 100644 index 01f06ba..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/name.test-fail +++ /dev/null @@ -1,61 +0,0 @@ -Invalid class name ------ -<?php class self {} ------ -Cannot use 'self' as class name as it is reserved on line 1 ------ -<?php class parent {} ------ -Cannot use 'parent' as class name as it is reserved on line 1 ------ -<?php class static {} ------ -Syntax error, unexpected T_STATIC, expecting T_STRING on line 1 ------ -<?php class A extends self {} ------ -Cannot use 'self' as class name as it is reserved on line 1 ------ -<?php class A extends parent {} ------ -Cannot use 'parent' as class name as it is reserved on line 1 ------ -<?php class A extends static {} ------ -Syntax error, unexpected T_STATIC, expecting T_STRING or T_NAMESPACE or T_NS_SEPARATOR on line 1 ------ -<?php class A implements self {} ------ -Cannot use 'self' as interface name as it is reserved on line 1 ------ -<?php class A implements parent {} ------ -Cannot use 'parent' as interface name as it is reserved on line 1 ------ -<?php class A implements static {} ------ -Syntax error, unexpected T_STATIC, expecting T_STRING or T_NAMESPACE or T_NS_SEPARATOR on line 1 ------ -<?php interface self {} ------ -Cannot use 'self' as class name as it is reserved on line 1 ------ -<?php interface parent {} ------ -Cannot use 'parent' as class name as it is reserved on line 1 ------ -<?php interface static {} ------ -Syntax error, unexpected T_STATIC, expecting T_STRING on line 1 ------ -<?php interface A extends self {} ------ -Cannot use 'self' as interface name as it is reserved on line 1 ------ -<?php interface A extends parent {} ------ -Cannot use 'parent' as interface name as it is reserved on line 1 ------ -<?php interface A extends static {} ------ -Syntax error, unexpected T_STATIC, expecting T_STRING or T_NAMESPACE or T_NS_SEPARATOR on line 1 http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/php4Style.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/php4Style.test b/vendor/nikic/php-parser/test/code/parser/stmt/class/php4Style.test deleted file mode 100644 index 486b34b..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/php4Style.test +++ /dev/null @@ -1,38 +0,0 @@ -PHP 4 style declarations ------ -<?php - -class A { - var $foo; - function bar() {} -} ------ -array( - 0: Stmt_Class( - type: 0 - extends: null - implements: array( - ) - stmts: array( - 0: Stmt_Property( - type: 1 - props: array( - 0: Stmt_PropertyProperty( - name: foo - default: null - ) - ) - ) - 1: Stmt_ClassMethod( - type: 1 - byRef: false - params: array( - ) - stmts: array( - ) - name: bar - ) - ) - name: A - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/simple.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/simple.test b/vendor/nikic/php-parser/test/code/parser/stmt/class/simple.test deleted file mode 100644 index ef78c05..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/simple.test +++ /dev/null @@ -1,139 +0,0 @@ -Class declaration ------ -<?php - -class A extends B implements C, D { - const A = 'B', C = 'D'; - - public $a = 'b', $c = 'd'; - protected $e; - private $f; - - public function a() {} - public static function b() {} - public final function c() {} - protected function d() {} - private function e() {} -} ------ -array( - 0: Stmt_Class( - type: 0 - extends: Name( - parts: array( - 0: B - ) - ) - implements: array( - 0: Name( - parts: array( - 0: C - ) - ) - 1: Name( - parts: array( - 0: D - ) - ) - ) - stmts: array( - 0: Stmt_ClassConst( - consts: array( - 0: Const( - name: A - value: Scalar_String( - value: B - ) - ) - 1: Const( - name: C - value: Scalar_String( - value: D - ) - ) - ) - ) - 1: Stmt_Property( - type: 1 - props: array( - 0: Stmt_PropertyProperty( - name: a - default: Scalar_String( - value: b - ) - ) - 1: Stmt_PropertyProperty( - name: c - default: Scalar_String( - value: d - ) - ) - ) - ) - 2: Stmt_Property( - type: 2 - props: array( - 0: Stmt_PropertyProperty( - name: e - default: null - ) - ) - ) - 3: Stmt_Property( - type: 4 - props: array( - 0: Stmt_PropertyProperty( - name: f - default: null - ) - ) - ) - 4: Stmt_ClassMethod( - type: 1 - byRef: false - params: array( - ) - stmts: array( - ) - name: a - ) - 5: Stmt_ClassMethod( - type: 9 - byRef: false - params: array( - ) - stmts: array( - ) - name: b - ) - 6: Stmt_ClassMethod( - type: 33 - byRef: false - params: array( - ) - stmts: array( - ) - name: c - ) - 7: Stmt_ClassMethod( - type: 2 - byRef: false - params: array( - ) - stmts: array( - ) - name: d - ) - 8: Stmt_ClassMethod( - type: 4 - byRef: false - params: array( - ) - stmts: array( - ) - name: e - ) - ) - name: A - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/staticMethod.test-fail ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/staticMethod.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/class/staticMethod.test-fail deleted file mode 100644 index 7de9e03..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/staticMethod.test-fail +++ /dev/null @@ -1,25 +0,0 @@ -Some special methods cannot be static ------ -<?php class A { static function __construct() {} } ------ -Constructor __construct() cannot be static on line 1 ------ -<?php class A { static function __destruct() {} } ------ -Destructor __destruct() cannot be static on line 1 ------ -<?php class A { static function __clone() {} } ------ -Clone method __clone() cannot be static on line 1 ------ -<?php class A { static function __CONSTRUCT() {} } ------ -Constructor __CONSTRUCT() cannot be static on line 1 ------ -<?php class A { static function __Destruct() {} } ------ -Destructor __Destruct() cannot be static on line 1 ------ -<?php class A { static function __cLoNe() {} } ------ -Clone method __cLoNe() cannot be static on line 1 http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/class/trait.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/class/trait.test b/vendor/nikic/php-parser/test/code/parser/stmt/class/trait.test deleted file mode 100644 index 8a89238..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/class/trait.test +++ /dev/null @@ -1,159 +0,0 @@ -Traits ------ -<?php - -trait A { - public function a() {} -} - -class B { - use C; - use D { - a as protected b; - c as d; - e as private; - } - use E, F, G { - E::a insteadof F, G; - E::b as protected c; - E::d as e; - E::f as private; - } -} ------ -array( - 0: Stmt_Trait( - name: A - stmts: array( - 0: Stmt_ClassMethod( - type: 1 - byRef: false - params: array( - ) - stmts: array( - ) - name: a - ) - ) - ) - 1: Stmt_Class( - type: 0 - extends: null - implements: array( - ) - stmts: array( - 0: Stmt_TraitUse( - traits: array( - 0: Name( - parts: array( - 0: C - ) - ) - ) - adaptations: array( - ) - ) - 1: Stmt_TraitUse( - traits: array( - 0: Name( - parts: array( - 0: D - ) - ) - ) - adaptations: array( - 0: Stmt_TraitUseAdaptation_Alias( - trait: null - method: a - newModifier: 2 - newName: b - ) - 1: Stmt_TraitUseAdaptation_Alias( - trait: null - method: c - newModifier: null - newName: d - ) - 2: Stmt_TraitUseAdaptation_Alias( - trait: null - method: e - newModifier: 4 - newName: null - ) - ) - ) - 2: Stmt_TraitUse( - traits: array( - 0: Name( - parts: array( - 0: E - ) - ) - 1: Name( - parts: array( - 0: F - ) - ) - 2: Name( - parts: array( - 0: G - ) - ) - ) - adaptations: array( - 0: Stmt_TraitUseAdaptation_Precedence( - trait: Name( - parts: array( - 0: E - ) - ) - method: a - insteadof: array( - 0: Name( - parts: array( - 0: F - ) - ) - 1: Name( - parts: array( - 0: G - ) - ) - ) - ) - 1: Stmt_TraitUseAdaptation_Alias( - trait: Name( - parts: array( - 0: E - ) - ) - method: b - newModifier: 2 - newName: c - ) - 2: Stmt_TraitUseAdaptation_Alias( - trait: Name( - parts: array( - 0: E - ) - ) - method: d - newModifier: null - newName: e - ) - 3: Stmt_TraitUseAdaptation_Alias( - trait: Name( - parts: array( - 0: E - ) - ) - method: f - newModifier: 4 - newName: null - ) - ) - ) - ) - name: B - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/const.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/const.test b/vendor/nikic/php-parser/test/code/parser/stmt/const.test deleted file mode 100644 index da21f41..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/const.test +++ /dev/null @@ -1,40 +0,0 @@ -Global constants ------ -<?php - -const A = 0, B = 1.0, C = 'A', D = E; ------ -array( - 0: Stmt_Const( - consts: array( - 0: Const( - name: A - value: Scalar_LNumber( - value: 0 - ) - ) - 1: Const( - name: B - value: Scalar_DNumber( - value: 1 - ) - ) - 2: Const( - name: C - value: Scalar_String( - value: A - ) - ) - 3: Const( - name: D - value: Expr_ConstFetch( - name: Name( - parts: array( - 0: E - ) - ) - ) - ) - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/controlFlow.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/controlFlow.test b/vendor/nikic/php-parser/test/code/parser/stmt/controlFlow.test deleted file mode 100644 index 2de1c4f..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/controlFlow.test +++ /dev/null @@ -1,55 +0,0 @@ -Control flow statements ------ -<?php - -break; -break 2; - -continue; -continue 2; - -return; -return $a; - -throw $e; - -label: -goto label; ------ -array( - 0: Stmt_Break( - num: null - ) - 1: Stmt_Break( - num: Scalar_LNumber( - value: 2 - ) - ) - 2: Stmt_Continue( - num: null - ) - 3: Stmt_Continue( - num: Scalar_LNumber( - value: 2 - ) - ) - 4: Stmt_Return( - expr: null - ) - 5: Stmt_Return( - expr: Expr_Variable( - name: a - ) - ) - 6: Stmt_Throw( - expr: Expr_Variable( - name: e - ) - ) - 7: Stmt_Label( - name: label - ) - 8: Stmt_Goto( - name: label - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/declare.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/declare.test b/vendor/nikic/php-parser/test/code/parser/stmt/declare.test deleted file mode 100644 index 94c6b6b..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/declare.test +++ /dev/null @@ -1,47 +0,0 @@ -Declare ------ -<?php - -declare (A='B', C='D') {} - -declare (A='B', C='D'): -enddeclare; ------ -array( - 0: Stmt_Declare( - declares: array( - 0: Stmt_DeclareDeclare( - key: A - value: Scalar_String( - value: B - ) - ) - 1: Stmt_DeclareDeclare( - key: C - value: Scalar_String( - value: D - ) - ) - ) - stmts: array( - ) - ) - 1: Stmt_Declare( - declares: array( - 0: Stmt_DeclareDeclare( - key: A - value: Scalar_String( - value: B - ) - ) - 1: Stmt_DeclareDeclare( - key: C - value: Scalar_String( - value: D - ) - ) - ) - stmts: array( - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/echo.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/echo.test b/vendor/nikic/php-parser/test/code/parser/stmt/echo.test deleted file mode 100644 index 1d03eae..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/echo.test +++ /dev/null @@ -1,32 +0,0 @@ -Echo ------ -<?php - -echo 'Hallo World!'; -echo 'Hallo', ' ', 'World', '!'; ------ -array( - 0: Stmt_Echo( - exprs: array( - 0: Scalar_String( - value: Hallo World! - ) - ) - ) - 1: Stmt_Echo( - exprs: array( - 0: Scalar_String( - value: Hallo - ) - 1: Scalar_String( - value: - ) - 2: Scalar_String( - value: World - ) - 3: Scalar_String( - value: ! - ) - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/function/byRef.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/function/byRef.test b/vendor/nikic/php-parser/test/code/parser/stmt/function/byRef.test deleted file mode 100644 index 58608d1..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/function/byRef.test +++ /dev/null @@ -1,37 +0,0 @@ -Return and pass by ref ------ -<?php - -function a(&$b) {} -function &a($b) {} ------ -array( - 0: Stmt_Function( - byRef: false - params: array( - 0: Param( - name: b - default: null - type: null - byRef: true - ) - ) - stmts: array( - ) - name: a - ) - 1: Stmt_Function( - byRef: true - params: array( - 0: Param( - name: b - default: null - type: null - byRef: false - ) - ) - stmts: array( - ) - name: a - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/function/conditional.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/function/conditional.test b/vendor/nikic/php-parser/test/code/parser/stmt/function/conditional.test deleted file mode 100644 index 8b2e6ee..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/function/conditional.test +++ /dev/null @@ -1,32 +0,0 @@ -Conditional function definition ------ -<?php - -if (true) { - function A() {} -} ------ -array( - 0: Stmt_If( - stmts: array( - 0: Stmt_Function( - byRef: false - params: array( - ) - stmts: array( - ) - name: A - ) - ) - elseifs: array( - ) - else: null - cond: Expr_ConstFetch( - name: Name( - parts: array( - 0: true - ) - ) - ) - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/function/defaultValues.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/function/defaultValues.test b/vendor/nikic/php-parser/test/code/parser/stmt/function/defaultValues.test deleted file mode 100644 index 03abed8..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/function/defaultValues.test +++ /dev/null @@ -1,138 +0,0 @@ -Default values (static scalar tests) ------ -<?php - -function a( - $b = null, - $c = 'foo', - $d = A::B, - $f = +1, - $g = -1.0, - $h = array(), - $i = [], - $j = ['foo'], - $k = ['foo', 'bar' => 'baz'] -) {} ------ -array( - 0: Stmt_Function( - byRef: false - params: array( - 0: Param( - name: b - default: Expr_ConstFetch( - name: Name( - parts: array( - 0: null - ) - ) - ) - type: null - byRef: false - ) - 1: Param( - name: c - default: Scalar_String( - value: foo - ) - type: null - byRef: false - ) - 2: Param( - name: d - default: Expr_ClassConstFetch( - class: Name( - parts: array( - 0: A - ) - ) - name: B - ) - type: null - byRef: false - ) - 3: Param( - name: f - default: Expr_UnaryPlus( - expr: Scalar_LNumber( - value: 1 - ) - ) - type: null - byRef: false - ) - 4: Param( - name: g - default: Expr_UnaryMinus( - expr: Scalar_DNumber( - value: 1 - ) - ) - type: null - byRef: false - ) - 5: Param( - name: h - default: Expr_Array( - items: array( - ) - ) - type: null - byRef: false - ) - 6: Param( - name: i - default: Expr_Array( - items: array( - ) - ) - type: null - byRef: false - ) - 7: Param( - name: j - default: Expr_Array( - items: array( - 0: Expr_ArrayItem( - key: null - value: Scalar_String( - value: foo - ) - byRef: false - ) - ) - ) - type: null - byRef: false - ) - 8: Param( - name: k - default: Expr_Array( - items: array( - 0: Expr_ArrayItem( - key: null - value: Scalar_String( - value: foo - ) - byRef: false - ) - 1: Expr_ArrayItem( - key: Scalar_String( - value: bar - ) - value: Scalar_String( - value: baz - ) - byRef: false - ) - ) - ) - type: null - byRef: false - ) - ) - stmts: array( - ) - name: a - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/function/generator.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/function/generator.test b/vendor/nikic/php-parser/test/code/parser/stmt/function/generator.test deleted file mode 100644 index e5a5716..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/function/generator.test +++ /dev/null @@ -1,227 +0,0 @@ -Generators (yield expression ------ -<?php - -function gen() { - // statements - yield; - yield $value; - yield $key => $value; - - // expressions - $data = yield; - $data = (yield $value); - $data = (yield $key => $value); - - // yield in language constructs with their own parentheses - if (yield $foo); elseif (yield $foo); - if (yield $foo): elseif (yield $foo): endif; - while (yield $foo); - do {} while (yield $foo); - switch (yield $foo) {} - die(yield $foo); - - // yield in function calls - func(yield $foo); - $foo->func(yield $foo); - new Foo(yield $foo); -} ------ -array( - 0: Stmt_Function( - byRef: false - params: array( - ) - stmts: array( - 0: Expr_Yield( - key: null - value: null - ) - 1: Expr_Yield( - key: null - value: Expr_Variable( - name: value - ) - ) - 2: Expr_Yield( - key: Expr_Variable( - name: key - ) - value: Expr_Variable( - name: value - ) - ) - 3: Expr_Assign( - var: Expr_Variable( - name: data - ) - expr: Expr_Yield( - key: null - value: null - ) - ) - 4: Expr_Assign( - var: Expr_Variable( - name: data - ) - expr: Expr_Yield( - key: null - value: Expr_Variable( - name: value - ) - ) - ) - 5: Expr_Assign( - var: Expr_Variable( - name: data - ) - expr: Expr_Yield( - key: Expr_Variable( - name: key - ) - value: Expr_Variable( - name: value - ) - ) - ) - 6: Stmt_If( - stmts: array( - ) - elseifs: array( - 0: Stmt_ElseIf( - cond: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - stmts: array( - ) - ) - ) - else: null - cond: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - ) - 7: Stmt_If( - stmts: array( - ) - elseifs: array( - 0: Stmt_ElseIf( - cond: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - stmts: array( - ) - ) - ) - else: null - cond: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - ) - 8: Stmt_While( - cond: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - stmts: array( - ) - ) - 9: Stmt_Do( - cond: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - stmts: array( - ) - ) - 10: Stmt_Switch( - cond: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - cases: array( - ) - ) - 11: Expr_Exit( - expr: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - ) - 12: Expr_FuncCall( - name: Name( - parts: array( - 0: func - ) - ) - args: array( - 0: Arg( - value: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - byRef: false - ) - ) - ) - 13: Expr_MethodCall( - var: Expr_Variable( - name: foo - ) - name: func - args: array( - 0: Arg( - value: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - byRef: false - ) - ) - ) - 14: Expr_New( - class: Name( - parts: array( - 0: Foo - ) - ) - args: array( - 0: Arg( - value: Expr_Yield( - key: null - value: Expr_Variable( - name: foo - ) - ) - byRef: false - ) - ) - ) - ) - name: gen - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/function/specialVars.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/function/specialVars.test b/vendor/nikic/php-parser/test/code/parser/stmt/function/specialVars.test deleted file mode 100644 index 3670e55..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/function/specialVars.test +++ /dev/null @@ -1,50 +0,0 @@ -Special function variables ------ -<?php - -function a() { - global $a, ${'b'}, $$c; - static $c, $d = 'e'; -} ------ -array( - 0: Stmt_Function( - byRef: false - params: array( - ) - stmts: array( - 0: Stmt_Global( - vars: array( - 0: Expr_Variable( - name: a - ) - 1: Expr_Variable( - name: Scalar_String( - value: b - ) - ) - 2: Expr_Variable( - name: Expr_Variable( - name: c - ) - ) - ) - ) - 1: Stmt_Static( - vars: array( - 0: Stmt_StaticVar( - name: c - default: null - ) - 1: Stmt_StaticVar( - name: d - default: Scalar_String( - value: e - ) - ) - ) - ) - ) - name: a - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/function/typeHints.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/function/typeHints.test b/vendor/nikic/php-parser/test/code/parser/stmt/function/typeHints.test deleted file mode 100644 index 5f49645..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/function/typeHints.test +++ /dev/null @@ -1,44 +0,0 @@ -Type hints ------ -<?php - -function a($b, array $c, callable $d, E $f) {} ------ -array( - 0: Stmt_Function( - byRef: false - params: array( - 0: Param( - name: b - default: null - type: null - byRef: false - ) - 1: Param( - name: c - default: null - type: array - byRef: false - ) - 2: Param( - name: d - default: null - type: callable - byRef: false - ) - 3: Param( - name: f - default: null - type: Name( - parts: array( - 0: E - ) - ) - byRef: false - ) - ) - stmts: array( - ) - name: a - ) -) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/haltCompiler.test ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/haltCompiler.test b/vendor/nikic/php-parser/test/code/parser/stmt/haltCompiler.test deleted file mode 100644 index 67133ba..0000000 --- a/vendor/nikic/php-parser/test/code/parser/stmt/haltCompiler.test +++ /dev/null @@ -1,55 +0,0 @@ -__halt_compiler ------ -<?php - -$a; -__halt_compiler() -?> -Hallo World! ------ -array( - 0: Expr_Variable( - name: a - ) - 1: Stmt_HaltCompiler( - remaining: Hallo World! - ) -) ------ -<?php - -$a; -__halt_compiler();Hallo World! ------ -array( - 0: Expr_Variable( - name: a - ) - 1: Stmt_HaltCompiler( - remaining: Hallo World! - ) -) ------ -<?php - -namespace A; -$a; -__halt_compiler(); ------ -array( - 0: Stmt_Namespace( - name: Name( - parts: array( - 0: A - ) - ) - stmts: array( - 0: Expr_Variable( - name: a - ) - ) - ) - 1: Stmt_HaltCompiler( - remaining: - ) -) \ No newline at end of file
