- one less php warning about refs
[plcapi.git] / test / benchmark.php
index f320146..28d6d76 100644 (file)
@@ -8,7 +8,7 @@
  *
  * @todo add a test for response ok in call testing?
  **/
-ini_set('max_execution_time', 300);
+
        include(getcwd().'/parse_args.php');
 
        require_once('xmlrpc.inc');
@@ -83,7 +83,7 @@ ini_set('max_execution_time', 300);
        begin_test('Data encoding (large array)', 'automatic encoding');
        for ($i = 0; $i < $num_tests; $i++)
        {
-               $value =& php_xmlrpc_encode($data, array('auto_dates'));
+               $value = php_xmlrpc_encode($data, array('auto_dates'));
                $out = $value->serialize();
        }
        end_test('Data encoding (large array)', 'automatic encoding', $out);