tiantain00 发表于 2014-05-15 17:20

异常?

本帖最后由 tiantain00 于 2014-05-15 17:22 编辑


<?php
error_reporting(E_ALL);
$str ='<p><sub style="floating-begin: 1227829;"></sub></p>
<table style="line-height: 15.0px;font-size: 12.0px;" cellpadding="0" cellspacing="0" bgcolor="#a06cb6" border="0" width="750">
<tr><td colspan="9" style="color: #ffffff;padding: 0 20.0px 0 0;background-repeat: no-repeat;" align="right"
background="http://img01.taobaocdn.com/imgextra/i1/267481484/T2wgU3XvpaXXXXXXXX_!!267481484.jpg" height="35"></td></tr>
<td colspan="9" height="10"></td></tr><tr><a><a><aaaafff></table>';
//$str='eee<table>ee<table>eee</table>e';
preg_match('/<tabl((?!<table).)*<\/table>/isU',$str,$tmp);
print_r($tmp);在apache下运行 有时(改变$str 的长度 ,</table>的位置)运行终止 错误日志

Parent: child process exited with status 3221225725 -- Restarting.
Apache/2.2.22 (Win64) PHP/5.3.13 configured -- resuming normal operations
Server built: May 13 2012 19:41:17
Parent: Created child process 3168
Child 3168: Child process is running
Child 3168: Acquired the start mutex.
Child 3168: Starting 64 worker threads.
Child 3168: Starting thread to listen on port 80.
Child 3168: Starting thread to listen on port 80.

在命令行下用php命令运行没有问题

请问是什么原因?


xinglu1983 发表于 2014-05-15 18:31

是在win下的吧?

tiantain00 发表于 2014-05-15 18:38

      嗯,是的
页: [1]
查看完整版本: 异常?