#25513 [Opn->Fbk]: Error PHP4TS.DLL
| From: | sniper@php.net | Date: | Fri, 12 Sep 2003 18:56:52 +0000 |
| Subject: | #25513 [Opn->Fbk]: Error PHP4TS.DLL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47520@lists.php.net to get a copy of this message | ||
ID: 25513
Updated by: sniper@php.net
Reported By: jpolaino at infonos dot com
-Status: Open
+Status: Feedback
Bug Type: Unknown/Other Function
Operating System: Win Me
PHP Version: 4.3.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-09-12 07:34:53] jpolaino at infonos dot com
Description:
------------
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
Overflow".
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 run!!
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?
Thanks
Reproduce code:
---------------
<?php
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>";
else
$Msg = "<b>ERROR:</b> El mail <b>'$Mail'</b> es
incorrecto<hr>";
}
echo " <html><head></head><body>
$Msg
<form method=post>
Mail <input type=text name=Mail>
<input type=submit value=Send>
</form></body></head>";
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25513&edit=1