Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

[PHP5] How to disable "Notice: Undefined Variable"

7 like 0 dislike
Hi all,

My codes is working fine, but when I have upgraded to PHP5 (localhost), it's always show up "Notice: Undefined Variable...", I don't see any wrong in this case. An all of pages are working fine.

I wanna disable that notice, but don't know how to do.

Please help! Thanks
__________________
asked 2 years ago by eagle09 (95,490 points)

1 Answer

0 like 0 dislike
E_STRICT is not part of E_ALL, so you just need to set the value to E_ALL. But make sure you can call error_reporting, as it may be disabled. You can also set the error reporting from a .htaccess file.
answered 2 years ago by biswaskeran (70,430 points)

Related questions

7 like 0 dislike
1 answer
asked 2 years ago by eagle09 (95,490 points)
8 like 0 dislike
1 answer
7 like 0 dislike
1 answer
asked 2 years ago by eagle09 (95,490 points)
7 like 0 dislike
0 answers
asked 1 year ago by daneim (127,080 points)
5 like 0 dislike
0 answers