php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19809 The same code that works on a Linux box, won't work on my windows box
Submitted: 2002-10-07 21:32 UTC Modified: 2002-10-08 00:16 UTC
From: michael dot graves at nyc dot mediaedgecia dot com Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 4.2.3 OS: Windows 2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: michael dot graves at nyc dot mediaedgecia dot com
New email:
PHP Version: OS:

 

 [2002-10-07 21:32 UTC] michael dot graves at nyc dot mediaedgecia dot com
I get "Undefined Variable" errors all over my code ONLY when using the windows version on PHP.  If I take the same code and run in on my Linux box, it works fine.  Please help.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-07 21:41 UTC] iliaa@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Of the top of my head I can think of just 1 thing that could have caused without additional info. That being that your code relies on register_globals and they are turned off on your Windows box.
 [2002-10-08 00:16 UTC] rasmus@php.net
Whoever packaged the Windows version decided to change the default error_reporting level, I think.  Simply set it to the same as on your Linux box in your php.ini file and all will be well.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC