git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert docs files to unix newlines
[plcapi.git]
/
test
/
benchmark.php
diff --git
a/test/benchmark.php
b/test/benchmark.php
index
1c41ab7
..
6758d26
100644
(file)
--- a/
test/benchmark.php
+++ b/
test/benchmark.php
@@
-2,14
+2,13
@@
/**
* Benchamrking suite for the PHP-XMLRPC lib
* @author Gaetano Giunta
/**
* Benchamrking suite for the PHP-XMLRPC lib
* @author Gaetano Giunta
- * @version $Id$
- * @copyright (c) 2005-2009 G. Giunta
+ * @copyright (c) 2005-2014 G. Giunta
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo add a test for response ok in call testing?
**/
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo add a test for response ok in call testing?
**/
- include(
getcwd(
).'/parse_args.php');
+ include(
dirname(__FILE__
).'/parse_args.php');
require_once('xmlrpc.inc');
require_once('xmlrpc.inc');
@@
-83,7
+82,7
@@
begin_test('Data encoding (large array)', 'automatic encoding');
for ($i = 0; $i < $num_tests; $i++)
{
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);
$out = $value->serialize();
}
end_test('Data encoding (large array)', 'automatic encoding', $out);