php5 test coverage
This commit is contained in:
1560
php5/php5.go
1560
php5/php5.go
File diff suppressed because it is too large
Load Diff
1059
php5/php5.y
1059
php5/php5.y
File diff suppressed because it is too large
Load Diff
@@ -642,7 +642,7 @@ CAD;
|
||||
&scalar.EncapsedStringPart{Value: "test "},
|
||||
&expr.ArrayDimFetch{
|
||||
Variable: &expr.Variable{VarName: &node.Identifier{Value: "$var"}},
|
||||
Dim: &scalar.Lnumber{Value: "1"},
|
||||
Dim: &scalar.Lnumber{Value: "1"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -653,7 +653,7 @@ CAD;
|
||||
&scalar.EncapsedStringPart{Value: "test "},
|
||||
&expr.ArrayDimFetch{
|
||||
Variable: &expr.Variable{VarName: &node.Identifier{Value: "$var"}},
|
||||
Dim: &scalar.String{Value: "1234567890123456789012345678901234567890"},
|
||||
Dim: &scalar.String{Value: "1234567890123456789012345678901234567890"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -664,7 +664,7 @@ CAD;
|
||||
&scalar.EncapsedStringPart{Value: "test "},
|
||||
&expr.ArrayDimFetch{
|
||||
Variable: &expr.Variable{VarName: &node.Identifier{Value: "$var"}},
|
||||
Dim: &scalar.String{Value: "bar"},
|
||||
Dim: &scalar.String{Value: "bar"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -675,7 +675,7 @@ CAD;
|
||||
&scalar.EncapsedStringPart{Value: "test "},
|
||||
&expr.ArrayDimFetch{
|
||||
Variable: &expr.Variable{VarName: &node.Identifier{Value: "$var"}},
|
||||
Dim: &expr.Variable{VarName: &node.Identifier{Value: "$bar"}},
|
||||
Dim: &expr.Variable{VarName: &node.Identifier{Value: "$bar"}},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -3674,7 +3674,7 @@ CAD;
|
||||
},
|
||||
&stmt.Expression{
|
||||
Expr: &expr.ClassConstFetch{
|
||||
Class: &expr.Variable{VarName: &node.Identifier{Value: "$foo"}},
|
||||
Class: &expr.Variable{VarName: &node.Identifier{Value: "$foo"}},
|
||||
ConstantName: &node.Identifier{Value: "bar"},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user