2002-03-15 00:00:34 +00:00
|
|
|
<?php
|
2002-03-15 23:28:10 +00:00
|
|
|
print "huhuhdsa";
|
|
|
|
|
2002-03-19 23:28:52 +00:00
|
|
|
$rpc = new com("class", true, "huh");
|
|
|
|
$rpc2 = new com("class", true, "hehe", 1);
|
2002-03-19 18:46:28 +00:00
|
|
|
$rpc->call("blah");
|
|
|
|
$rpc->call("heh");
|
2002-03-19 23:28:52 +00:00
|
|
|
$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");
|
2002-03-19 18:46:28 +00:00
|
|
|
com_call($rpc, "call", 1);
|
2002-03-19 23:28:52 +00:00
|
|
|
com_call($rpc2, "call", 1);
|
|
|
|
com_call($rpc2, "call", 1);
|
2002-03-19 03:36:16 +00:00
|
|
|
//$rpc->addref();
|
2002-03-16 16:15:34 +00:00
|
|
|
|
2002-03-19 03:36:16 +00:00
|
|
|
//$clone = $rpc->__clone();
|
2002-03-16 16:15:34 +00:00
|
|
|
|
|
|
|
//$rpc->prop = 1;
|
|
|
|
//$a = $rpc->prop;
|
|
|
|
|
2002-03-19 03:36:16 +00:00
|
|
|
//$a = &$rpc->prop;
|
2002-03-16 16:15:34 +00:00
|
|
|
|
2002-03-19 03:36:16 +00:00
|
|
|
//delete $rpc;
|
|
|
|
//delete $clone;
|
2002-03-15 23:28:10 +00:00
|
|
|
|
2002-03-19 23:28:52 +00:00
|
|
|
$heh = com_load("heh", 1);
|
2002-03-19 18:46:28 +00:00
|
|
|
$heh->knorp();
|
|
|
|
/*delete $heh;*/
|
2002-03-15 00:00:34 +00:00
|
|
|
?>
|