tests++
[awesomized/ext-ion] / tests / Symbol / ImportLocation.phpt
1 --TEST--
2 ion\Symbol\ImportLocation
3 --EXTENSIONS--
4 ion
5 --FILE--
6 TEST
7 <?php
8 var_dump($iloc = new ion\Symbol\ImportLocation("table", 123));
9 var_dump(clone $iloc);
10 unset($iloc);
11 var_dump(clone new ion\Symbol\ImportLocation("table", 123));
12 ?>
13 DONE
14 --EXPECTF--
15 TEST
16 object(ion\Symbol\ImportLocation)#%d (2) {
17 ["name"]=>
18 string(5) "table"
19 ["location"]=>
20 int(123)
21 }
22 object(ion\Symbol\ImportLocation)#%d (2) {
23 ["name"]=>
24 string(5) "table"
25 ["location"]=>
26 int(123)
27 }
28 object(ion\Symbol\ImportLocation)#%d (2) {
29 ["name"]=>
30 string(5) "table"
31 ["location"]=>
32 int(123)
33 }
34 DONE