Skip to content

Commit 13533be

Browse files
committed
still more cosmetic differences in error message just in PHP 5.2.x versions
git-svn-id: https://svn.php.net/repository/pear/packages/XML_Parser/trunk@287135 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent daef24c commit 13533be

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/bug-9328b.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ XML Parser: test for Bug #9328 "assigned by reference error in XML_RSS parse"
33
--SKIPIF--
44
<?php
55
if (version_compare(PHP_VERSION, '5.0.0', 'lt')
6-
|| version_compare(PHP_VERSION, '5.2.0', 'ge')
6+
|| version_compare(PHP_VERSION, '5.2.7', 'ge')
77
) {
8-
print 'skip - test only applies to PHP5.0.x and PHP5.1.x';
8+
print 'skip - test only applies to PHP5.0.0 through PHP5.2.6';
99
}
1010
if (!extension_loaded('xml')) {
1111
print 'skip - xml extension not available';

tests/bug-9328c.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
XML Parser: test for Bug #9328 "assigned by reference error in XML_RSS parse"
33
--SKIPIF--
44
<?php
5-
if (version_compare(PHP_VERSION, '5.2.0', 'lt')
6-
|| version_compare(PHP_VERSION, '5.2.10', 'ge')
5+
if (version_compare(PHP_VERSION, '5.2.7', 'lt')
6+
|| version_compare(PHP_VERSION, '5.2.9', 'gt')
77
) {
8-
print 'skip - test only applies to PHP5.2.x earlier than 5.2.10';
8+
print 'skip - test only applies to PHP5.2.7 through 5.2.9';
99
}
1010
if (!extension_loaded('xml')) {
1111
print 'skip - xml extension not available';

0 commit comments

Comments
 (0)