mirror of
https://github.com/php/php-src.git
synced 2024-10-04 00:06:16 +00:00
23 lines
423 B
Plaintext
23 lines
423 B
Plaintext
|
--TEST--
|
||
|
Test 4: Streams Test
|
||
|
--SKIPIF--
|
||
|
<?php require_once('skipif.inc'); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$dom = new domdocument;
|
||
|
$dom->load("compress.zlib://".dirname(__FILE__)."/book.xml.gz");
|
||
|
print $dom->saveXML();
|
||
|
|
||
|
--EXPECT--
|
||
|
<?xml version="1.0"?>
|
||
|
<books>
|
||
|
<book>
|
||
|
<title>The Grapes of Wrath</title>
|
||
|
<author>John Steinbeck</author>
|
||
|
</book>
|
||
|
<book>
|
||
|
<title>The Pearl</title>
|
||
|
<author>John Steinbeck</author>
|
||
|
</book>
|
||
|
</books>
|