cvs: php-benchmarks /benchcli/misc getargs.php
| From: | Alexander Hjalmarsson | Date: | Wed, 17 Jun 2009 12:48:17 +0000 |
| Subject: | cvs: php-benchmarks /benchcli/misc getargs.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65099@lists.php.net to get a copy of this message | ||
hjalle Wed Jun 17 12:48:17 2009 UTC
Modified files:
/php-benchmarks/benchcli/misc getargs.php
Log:
Removed un-needed reference that have been deprecated in PHP 5.3
http://cvs.php.net/viewvc.cgi/php-benchmarks/benchcli/misc/getargs.php?r1=1.1&r2=1.2&diff_format=u
Index: php-benchmarks/benchcli/misc/getargs.php
diff -u php-benchmarks/benchcli/misc/getargs.php:1.1 php-benchmarks/benchcli/misc/getargs.php:1.2
--- php-benchmarks/benchcli/misc/getargs.php:1.1 Thu May 28 13:38:49 2009
+++ php-benchmarks/benchcli/misc/getargs.php Wed Jun 17 12:48:17 2009
@@ -16,7 +16,7 @@
// | Author: Bertrand Mansion <bmansion@mamasam.com> |
// +----------------------------------------------------------------------+
//
-// $Id: getargs.php,v 1.1 2009/05/28 13:38:49 hjalle Exp $
+// $Id: getargs.php,v 1.2 2009/06/17 12:48:17 hjalle Exp $
require_once 'PEAR.php';
@@ -212,7 +212,7 @@
function &factory($config = array(), $arguments = NULL)
{
// Create the options object.
- $obj =& new Console_Getargs_Options();
+ $obj = new Console_Getargs_Options();
// Try to set up the arguments.
$err = $obj->init($config, $arguments);