📄 note.php
字号:
<?php$dom = new domDocument;$dom->load('note.xml');if (!$dom->validate('note.dtd')) { print "Document note.dtd is not valid\n";} else { print "Document note.dtd is valid\n";}$dom = new domDocument;$dom->load('note-invalid.xml');if (!$dom->validate('note.dtd')) { print "Document note-invalid.xml is not valid\n";} else { print "Document note-invalid.xml is valid\n";}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -