diff options
| -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 a02da0f0fd..403e01aa76 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 82b7915f6f..5b65f24ba1 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 bf335d0322..686a9e81aa 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 |
