我有一个直接从php documentation site复制的代码。该代码使我能够以可读格式打印“print_r”功能。代码如下 function print_r_tree($data){
// capture the output of print_r
$out = print_r($data, true);
// replace something like
我与file_get_contents()工作,我得到的结构是这样的一些HTML字符串: $html = "
<select>
<option>I need this part 1/ I don't need this 1 </option>
<option>I need this part 2/ I don't need this 2 </option>
<opt