From: jpolaino at infonos dot com
Operating system: Win Me
PHP version: 4.3.3
PHP Bug Type: Unknown/Other Function
Bug description: Error PHP4TS.DLL

I have a application with 15 files and 6000 lines of code instaled on
server with PHP 4.2.3
This runs O.K.
I just installed PHP 4.3.3 in my PC for I+D.
Now I have several errors in many lines of code.
The error says "Php provocó un error en PHP4TS.DLL. Php se cerrará"
I press the option "Debug" and then Microsoft Visual C++ give the message
"Unhandled exception in php.exe (PHP4TS.DLL): 0xC00000FD: Stack
This ocurrs some times when I use the function isset() but I can not
reproduce the fail: when I try to make a short file with the code ¡¡this
This error ocurrs too when I use the function eregi() in

eregi("^[_\.0-9a-z-]+([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $Mail);

when $Mail value is any value with two points "..", but when I try to make
a short file (see below) this run OK.

Please Can any one help me?


Reproduce code:

if (isset($Mail))
if (eregi("^[_\.0-9a-z-]+([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $Mail))
$Msg = "El mail <b>'$Mail'</b> es correcto<hr>";
$Msg = "<b>ERROR:</b> El mail <b>'$Mail'</b> es incorrecto<hr>";
echo " <html><head></head><body>
<form method=post>
Mail <input type=text name=Mail>
<input type=submit value=Send>


Edit bug report at [url][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]