1 | <?php |
||
10 | class ArrayCastTest extends AbstractUnaryOp |
||
11 | { |
||
12 | /** |
||
13 | * @return array |
||
14 | */ |
||
15 | public function getDataProvider() |
||
21 | |||
22 | /** |
||
23 | * Tests (array) {expr} = {expr} |
||
24 | * |
||
25 | * @dataProvider getDataProvider |
||
26 | */ |
||
27 | public function testArrayCastCompile($a, $b) |
||
38 | |||
39 | /** |
||
40 | * @param Node\Scalar $a |
||
41 | * @return Node\Expr\Cast\Array_ |
||
42 | */ |
||
43 | protected function buildExpression($a) |
||
47 | } |
||
48 |