Information about notices

From: Eamon Reyn (eamonreyn_at_clear.net.nz)
Date: 03/29/04


Date: Tue, 30 Mar 2004 00:53:07 +1200

Hi Guys,

I have just taken over a (student) project that is a system written using
PHP, JavaScript MySQL, Apache, REST and a couple of other technologies. The
basic situation is I am the third student to work on this project and I am
in a tidy-up/refactor phase at the moment.

I was told the code was causing a lot of errors since upgrading to the
latest version of PHP which was necessary to get REST working so I was going
to make my first task a bug hunt. However I think that the so called errors
are just notices that were displayed because the following line was in the
php.ini file: error_reporting = E_ALL, instead of: error_reporting =
E_ALL & ~E_NOTICE.

Now I am guessing a notice is sort of like a warning you may get from the
compiler in another programming language (ignorable but not necessarilly
desirable and sometimes can cause problems) but was hoping some of you good
people might be able to explain the difference and tell me whether I should
be hunting these down and rewriting the code that causes them.

I had a bit of a hunt through google's group search but could not find much
of this info if someone knows some good web links about this sort of stuff I
would also appreciate the info.

Eamon Reyn.



Relevant Pages

  • Re: Information about notices
    ... >>PHP, JavaScript MySQL, Apache, REST and a couple of other technologies. ... >>basic situation is I am the third student to work on this project and I am ... >>of this info if someone knows some good web links about this sort of stuff ... I keep error reporting set to E_ALL while developing and shut ...
    (alt.php)
  • Re: [PHP] Sorting files in a directory
    ... Steve Marquez wrote: ... you don't want to sort the array every time you add a file to it - just do it once when you're done. ... Syntax check is left as an exe3rcise for the student. ...
    (php.general)
  • Re: e-commerce portal
    ... haven't had a single site that sees a need for this sort of hardening. ... Java anymore. ... PHP is a technology that has gotten a harsh rap due to large security ... Marketing at its worse, eh? ...
    (comp.databases.pick)
  • Re: Programmatic clicking and new windows
    ... You can search through the window objects ... Now this is sort of a funny sort of ... PHP is able to work with this event handler ...
    (microsoft.public.scripting.vbscript)
  • Re: Are YOU a Chav?
    ... >>>supposed to use for this sort of exercise. ... The php you need for this sort of thing is reasonably ... "Turkey should join the EU 'because it is a European country'" ... "only 22% of citizens across Europe want Turkey to join the EU" ...
    (uk.politics.misc)