From: [EMAIL PROTECTED]
Operating system: all
PHP version: 5CVS-2004-03-11 (dev)
PHP Bug Type: Unknown/Other Function
Bug description: Tidy throw
Description:
------------
Using the given example, PHP exits.
I think the problem is in TIDY_THROW.
Reproduce code:
---------------
<?php
$tidy = tidy_parse_file('bogus.htm');
echo 'ok';
?>
Expected result:
----------------
ok
Actual result:
--------------
(gdb) run bug.php
Starting program: /home/Nuno/php5/sapi/cli/php.exe bug.php
Warning: tidy_parse_file(bogus.htm): failed to open stream: No such file
or dire
ctory in /home/Nuno/php5/sapi/cli/bug.php on line 2
Fatal error: Uncaught exception 'tidy_exception' with message 'Cannot Load
'bogu
s.htm' into memory ' in /home/Nuno/php5/sapi/cli/bug.php:2
Stack trace:
#0 {main}
thrown in /home/Nuno/php5/sapi/cli/bug.php on line 2
Program exited with code 0377.
--
Edit bug report at http://bugs.php.net/?id=27570&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27570&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27570&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27570&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27570&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27570&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27570&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27570&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27570&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27570&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27570&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27570&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27570&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27570&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27570&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27570&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27570&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27570&r=float