1 | <?php |
||
9 | class ObjectCastTest extends AbstractUnaryOp |
||
10 | { |
||
11 | /** |
||
12 | * Tests (object) {expr} = {expr} |
||
13 | */ |
||
14 | public function objectCastDataProvider() |
||
67 | |||
68 | /** |
||
69 | * @dataProvider objectCastDataProvider |
||
70 | * |
||
71 | * @param int $type |
||
72 | * @param mixed $value |
||
73 | */ |
||
74 | public function testObjectCastCompile($type, $value) |
||
88 | |||
89 | /** |
||
90 | * @param Node\Scalar $a |
||
91 | * @return Node\Expr\Cast\Object_ |
||
92 | */ |
||
93 | protected function buildExpression($a) |
||
97 | } |
||
98 |