1 | <?php |
||
10 | class StringCastTest extends AbstractUnaryOp |
||
11 | { |
||
12 | /** |
||
13 | * @return array |
||
14 | */ |
||
15 | public function getDataProvider() |
||
25 | |||
26 | /** |
||
27 | * Tests (string) {expr} = {expr} |
||
28 | * |
||
29 | * @dataProvider getDataProvider |
||
30 | */ |
||
31 | public function testStringCastCompile($a, $b) |
||
42 | |||
43 | /** |
||
44 | * @param Node\Scalar $a |
||
45 | * @return Node\Expr\Cast\String_ |
||
46 | */ |
||
47 | protected function buildExpression($a) |
||
51 | } |
||
52 |