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 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:
3 + 17 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Tue Mar 31 18:01:23 2020 UTC