mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fixed test
This commit is contained in:
parent
056130b3dd
commit
be7c087da5
@ -10,4 +10,4 @@ echo date(DateTime::ISO8601, strtotime("Dec31 2005 +0100")), "\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
2005-12-31T00:00:00+0100
|
||||
2005-12-31T00:00:00+0100
|
||||
2005-12-30T23:00:00+0000
|
||||
|
@ -11,6 +11,7 @@ print "--- save as XML\n";
|
||||
print adjustDoctype($dom->saveXML());
|
||||
print "--- save as HTML\n";
|
||||
|
||||
$dom->formatOutput = true;
|
||||
print adjustDoctype($dom->saveHTML());
|
||||
|
||||
function adjustDoctype($xml) {
|
||||
|
Loading…
Reference in New Issue
Block a user