summaryrefslogtreecommitdiff
path: root/ext/rpc/tests/test1.php
blob: e989f53168530c477aef056ccf752ee3aecf364b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
print "huhuhdsa";

$rpc = new com("class", true);
$rpc2 = new com("class", true, "hehe", 12);
$rpc->call("blah");
$rpc->call("heh");
com_call($rpc, "call", 1);
//$rpc->addref();

//$clone = $rpc->__clone();

//$rpc->prop = 1;
//$a = $rpc->prop;

//$a = &$rpc->prop;

//delete $rpc;
//delete $clone;

$heh = com_load(1, 1);
$heh->knorp();
/*delete $heh;*/
?>