source: src/router/php7/ext/libxml/tests/bug69753-mb.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 2 months ago

update php

File size: 621 bytes
Line 
1--TEST--
2Bug #69753 - libXMLError::file contains invalid URI
3--XFAIL--
4Awaiting upstream fix: https://bugzilla.gnome.org/show_bug.cgi?id=750365
5--SKIPIF--
6<?php
7if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
8if (!extension_loaded('dom')) die('skip dom extension not available');
9?>
10--FILE--
11<?php
12libxml_use_internal_errors(true);
13$doc = new DomDocument();
14$doc->load(__DIR__ . DIRECTORY_SEPARATOR . 'bug69753私はガラスを食べられたす.xml');
15$error = libxml_get_last_error();
16var_dump($error->file);
17?>
18--EXPECTF--
19string(%d) "file:///%s/ext/libxml/tests/bug69753.xml"
Note: See TracBrowser for help on using the repository browser.