Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ext/dom/tests/dom004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ in_array('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrap
--FILE--
<?php
$dom = new domdocument;
$dom->load("compress.zlib://".__DIR__."/book.xml.gz");
$dom->load("compress.zlib://" . str_replace("\\", "/", __DIR__) . "/book.xml.gz");
print $dom->saveXML();
?>
--EXPECT--
Expand Down
5 changes: 2 additions & 3 deletions ext/libxml/tests/bug69753-mb.phpt
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
--TEST--
Bug #69753 - libXMLError::file contains invalid URI
--XFAIL--
Awaiting upstream fix: https://gitlab.gnome.org/GNOME/libxml2/-/issues/611
--EXTENSIONS--
dom
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
if (version_compare(LIBXML_DOTTED_VERSION, "2.13.0") < 0) die("skip fails for libxml2 < 2.13.0; https://gitlab.gnome.org/GNOME/libxml2/-/issues/611");
?>
--FILE--
<?php
Expand All @@ -17,4 +16,4 @@ $error = libxml_get_last_error();
var_dump($error->file);
?>
--EXPECTF--
string(%d) "file:///%s/ext/libxml/tests/bug69753.xml"
string(%d) "%s\ext\libxml\tests\bug69753私はガラスを食べられます.xml"
5 changes: 2 additions & 3 deletions ext/libxml/tests/bug69753.phpt
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
--TEST--
Bug #69753 - libXMLError::file contains invalid URI
--XFAIL--
Awaiting upstream fix: https://gitlab.gnome.org/GNOME/libxml2/-/issues/611
--EXTENSIONS--
dom
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
if (version_compare(LIBXML_DOTTED_VERSION, "2.13.0") < 0) die("skip fails for libxml2 < 2.13.0; https://gitlab.gnome.org/GNOME/libxml2/-/issues/611");
?>
--FILE--
<?php
Expand All @@ -17,4 +16,4 @@ $error = libxml_get_last_error();
var_dump($error->file);
?>
--EXPECTF--
string(%d) "file:///%s/ext/libxml/tests/bug69753.xml"
string(%d) "%s\ext\libxml\tests\bug69753.xml"
Loading