Re: parse errors no longer visible
| From: | Derick Rethans | Date: | Thu, 24 Apr 2003 08:03:43 +0000 |
| Subject: | Re: parse errors no longer visible | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1026@lists.php.net to get a copy of this message | ||
On Wed, 23 Apr 2003, Zeev Suraski wrote:
> I have no problem getting a parse error to be shown, can you describe what
> you did to get that behavior?
Oh, that's easy:
1. Use this script (yes, it has parse errors :):
<?php
$this->fix_string($item);
}
}
}
$s = new strings();
$ret = $s->fix_strings(array('Derick'));
?>
2. Use no php.ini:
and request the page... you'll see no error.
Derick
--
"my other box is your windows PC"
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------