summaryrefslogtreecommitdiff
path: root/ext/rpc/tests/test1.php
blob: aee876aedb3cfbb25b600be6752ba17cf4152c84 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
print "huhuhdsa";

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

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

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

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

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

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