cvs: pear-core /PEAR XMLParser.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Fri, 11 Jul 2008 20:16:14 +0000 |
| Subject: | cvs: pear-core /PEAR XMLParser.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7629@lists.php.net to get a copy of this message | ||
dufuz Fri Jul 11 20:16:14 2008 UTC
Modified files:
/pear-core/PEAR XMLParser.php
Log:
meh read the page wrong, just as well convert it for those 5.0.1 and 5.0.0 people
http://cvs.php.net/viewvc.cgi/pear-core/PEAR/XMLParser.php?r1=1.15&r2=1.16&diff_format=u
Index: pear-core/PEAR/XMLParser.php
diff -u pear-core/PEAR/XMLParser.php:1.15 pear-core/PEAR/XMLParser.php:1.16
--- pear-core/PEAR/XMLParser.php:1.15 Fri Jul 11 20:14:51 2008
+++ pear-core/PEAR/XMLParser.php Fri Jul 11 20:16:14 2008
@@ -16,7 +16,7 @@
* @author Stephan Schmidt (original XML_Unserializer code)
* @copyright 1997-2008 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: XMLParser.php,v 1.15 2008/07/11 20:14:51 dufuz Exp $
+ * @version CVS: $Id: XMLParser.php,v 1.16 2008/07/11 20:16:14 dufuz Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.4.0a1
*/
@@ -87,7 +87,7 @@
$this->_dataStack = array();
$this->_depth = 0;
- if (version_compare(phpversion(), '5.0.2', 'lt')) {
+ if (version_compare(phpversion(), '5.0.0', 'lt')) {
if (strpos($data, 'encoding="UTF-8"')) {
$data = utf8_decode($data);
}