diff options
author | Shein Alexey <shein@php.net> | 2011-06-22 09:28:14 (GMT) |
---|---|---|
committer | Shein Alexey <shein@php.net> | 2011-06-22 09:28:14 (GMT) |
commit | 512be854e5ae9eedb734bf0377976c40117d2745 (patch) | |
tree | 43f4fcfececdb022705544cf39d942523f11e730 /ext/dom | |
parent | f027884ca1b602615e97cfe9156a53db3e7e5767 (diff) | |
download | php-512be854e5ae9eedb734bf0377976c40117d2745.tar.gz |
Fixed dom tests.
Diffstat (limited to 'ext/dom')
-rw-r--r-- | ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt | 4 | ||||
-rw-r--r-- | ext/dom/tests/dom004.phpt | 2 | ||||
-rw-r--r-- | ext/dom/tests/dom_xinclude.phpt | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt b/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt index a02da0f..403e01a 100644 --- a/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt +++ b/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt @@ -39,10 +39,6 @@ validateOnParse set to FALSE: No Error Report Above validateOnParse set to TRUE: -Warning: DOMDocument::loadXML(): Entity 'nbsp' not defined in Entity, line: %d in %s on line %d - -Warning: DOMDocument::loadXML(): Entity 'copy' not defined in Entity, line: %d in %s on line %d - Warning: DOMDocument::loadXML(): No declaration for element NYPHP in Entity, line: %d in %s on line %d Warning: DOMDocument::loadXML(): Element from was declared #PCDATA but contains non text nodes in Entity, line: %d in %s on line %d diff --git a/ext/dom/tests/dom004.phpt b/ext/dom/tests/dom004.phpt index 82b7915..5b65f24 100644 --- a/ext/dom/tests/dom004.phpt +++ b/ext/dom/tests/dom004.phpt @@ -3,7 +3,7 @@ Test 4: Streams Test --SKIPIF-- <?php require_once('skipif.inc'); -array_search('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not available'); +in_array('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not available'); ?> --FILE-- <?php diff --git a/ext/dom/tests/dom_xinclude.phpt b/ext/dom/tests/dom_xinclude.phpt index bf335d0..686a9e8 100644 --- a/ext/dom/tests/dom_xinclude.phpt +++ b/ext/dom/tests/dom_xinclude.phpt @@ -3,7 +3,7 @@ Test: Xinclude and Streams --SKIPIF-- <?php require_once('skipif.inc'); -array_search('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not available'); +in_array('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not available'); ?> --FILE-- <?php |