php-src/ext/rpc/tests/test1.php

24 lines
363 B
PHP
Raw Normal View History

<?php
2002-03-15 23:28:10 +00:00
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();
2002-03-16 16:15:34 +00:00
//$clone = $rpc->__clone();
2002-03-16 16:15:34 +00:00
//$rpc->prop = 1;
//$a = $rpc->prop;
//$a = &$rpc->prop;
2002-03-16 16:15:34 +00:00
//delete $rpc;
//delete $clone;
2002-03-15 23:28:10 +00:00
$heh = com_load(1, 1);
$heh->knorp();
/*delete $heh;*/
?>