php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2972 Code that worked started intermittantly erroring out
Submitted: 1999-12-13 19:15 UTC Modified: 2000-06-11 19:57 UTC
From: sql42 at hotmail dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 3 OS: Linux MAndrake 6.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
19 + 21 = ?
Subscribe to this entry?

 
 [1999-12-13 19:15 UTC] sql42 at hotmail dot com
example code:
HELLO<BR>
<?
    if ($myvar) {  echo ' VALUE="' . $myvar . '"'; }
?>
<BR>WORLD 

output:
HELLO

Warning: Undefined variable: myvar in /www/htdocs/fwq/test.htm on line 3

WORLD

--------
This example always errors out, some of my pages error out on a random basis (hiting reload they may work 7 out of 10 times). I did not change anything when this problem started happening, but, I played with some of the mcrypt functions for the first time right about when this started. I tried a different binary of php4b3 (without mcrypt lib) but it does the same thing. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-11 19:57 UTC] zeev at cvs dot php dot net
This should be fixed.  If somehow you're still experiencing this problem in PHP 4.0.0 - please submit a new bug report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 11:01:32 2024 UTC