cvs: pear /HTTP HTTP.php package.xml

From: Date: Tue, 04 Oct 2005 09:09:55 +0000
Subject: cvs: pear /HTTP HTTP.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-35256@lists.php.net to get a copy of this message
mike Tue Oct 4 05:09:55 2005 EDT Modified files: /pear/HTTP HTTP.php package.xml Log: - Fixed bug #5581 negotiateLanguage() throws fatal error in PHP 5 http://cvs.php.net/diff.php/pear/HTTP/HTTP.php?r1=1.46&r2=1.47&ty=u Index: pear/HTTP/HTTP.php diff -u pear/HTTP/HTTP.php:1.46 pear/HTTP/HTTP.php:1.47 --- pear/HTTP/HTTP.php:1.46 Tue May 17 07:03:04 2005 +++ pear/HTTP/HTTP.php Tue Oct 4 05:09:51 2005 @@ -22,7 +22,7 @@ * @author Michael Wallner <mike@php.net> * @copyright 2002-2005 The Authors * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: HTTP.php,v 1.46 2005/05/17 11:03:04 mike Exp $ + * @version CVS: $Id: HTTP.php,v 1.47 2005/10/04 09:09:51 mike Exp $ * @link http://pear.php.net/package/HTTP */ @@ -38,7 +38,7 @@ * @license PHP License * @access public * @static - * @version $Revision: 1.46 $ + * @version $Revision: 1.47 $ */ class HTTP { @@ -134,11 +134,11 @@ if (count($matches)) { asort($matches, SORT_NUMERIC); - return $supp[array_pop(array_keys($matches))]; + return $supp[end($l = array_keys($matches))]; } if (isset($_SERVER['REMOTE_HOST'])) { - $lang = strtolower(array_pop(explode('.', $_SERVER['REMOTE_HOST']))); + $lang = strtolower(end($h = explode('.', $_SERVER['REMOTE_HOST']))); if (isset($supp[$lang])) { return $supp[$lang]; } http://cvs.php.net/diff.php/pear/HTTP/package.xml?r1=1.37&r2=1.38&ty=u Index: pear/HTTP/package.xml diff -u pear/HTTP/package.xml:1.37 pear/HTTP/package.xml:1.38 --- pear/HTTP/package.xml:1.37 Tue May 17 07:04:03 2005 +++ pear/HTTP/package.xml Tue Oct 4 05:09:51 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.1"> -<!-- $Revision: 1.37 $ --> +<!-- $Revision: 1.38 $ --> <package version="1.0"> <name>HTTP</name> <summary>Miscellaneous HTTP utilities</summary> @@ -11,12 +11,6 @@ </description> <license>PHP License</license> <maintainers> - <maintainer> - <user>ssb</user> - <name>Stig Bakken</name> - <email>stig@php.net</email> - <role>lead</role> - </maintainer> <maintainter> <user>mike</user> <name>Michael Wallner</name> @@ -25,13 +19,12 @@ </maintainter> </maintainers> <release> - <version>1.3.6</version> + <version>1.3.7</version> <state>stable</state> - <date>2005-05-00</date> + <date>2005-10-00</date> <notes> <![CDATA[ -* fixed bug #4310 absoluteURI() loses directory path in php-cgi because - $_SERVER['PATH_INFO'] was checked to be set but is an empty string +* Fixed bug #5581 negotiateLanguage() throws fatal error on PHP 5.0.5 ]]> </notes> <filelist>

« previous php.pear.cvs (#35256) next »