domxml002.phpt

来自「php-4.4.7学习linux时下载的源代码」· PHPT 代码 · 共 32 行

PHPT
32
字号
--TEST--Test 2: Memleak in accessing children() of document.--SKIPIF--<?php require_once('skipif.inc'); ?>--FILE--<?phprequire_once("domxml_test.inc");$dom = xmldoc($xmlstr);if(!$dom) {  die('Error while parsing the document');}$children = $dom->children();print_node_list($children);?>--EXPECT--Node Name: Node Type: 14Num Children: 1Node Content: Node Name: #commentNode Type: 8Num Children: 0Node Content:  lsfj  Node Name: chapterNode Type: 1Num Children: 4

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?