mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
bd9f4fa676
For rationale, see https://github.com/php/php-src/pull/6787 Make extension checks lowercase, add a special case for opcache that has internal name not matching .so filename. Extensions migrated in part 2: * dom * exif * fileinfo * ffi
23 lines
389 B
PHP
23 lines
389 B
PHP
--TEST--
|
|
DOMDocument::$preserveWhiteSpace - test ability to read and write property
|
|
--CREDITS--
|
|
Lev Radin <prokurator@gmail.com>
|
|
# TestFest 2009 NYPHP
|
|
--EXTENSIONS--
|
|
dom
|
|
--FILE--
|
|
<?php
|
|
|
|
$doc = new DOMDocument;
|
|
$doc->load(__DIR__."/book.xml");
|
|
|
|
var_dump($doc->preserveWhiteSpace);
|
|
|
|
$doc->preserveWhiteSpace = false;
|
|
var_dump($doc->preserveWhiteSpace);
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
bool(false)
|