Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4069854
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:33:12+00:00 2026-05-20T16:33:12+00:00

As the notice is off in my php config it does not show notices

  • 0

As the notice is off in my php config it does not show notices in website.
But i can see a lot of Undefined index /undefined variable in the server log/php log

Will this affect system performance by any chance.

If i decalre these variable and assign null to these , error will go.
As it is defined.

Another doubt is , in some cases those variables will not be using.

So i declare and assign somany variable and if i am not using those variables . Will this affect the performance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T16:33:12+00:00Added an answer on May 20, 2026 at 4:33 pm

    Nope.

    None of your concerns are performance related.

    Performance is not the only darn thing to care of.

    I noticed some other questions of this kind recently (1),(2) and it’s scaring me.
    Because these questions lacks very basic thing: a sense.

    Every thing in this world has not only it’s cost but also it’s sense.
    And I’d say that sense is main reason to prefer one thing over another.

    Say, there are 2 kinds of dishes, a heap, filthy and dirty one vs. clean, healthy and taste but more expensive one. Would you always prefer only cheap one, just because of it’s cost? I doubt so.
    Walking is great way to save a carfare. Do you always walk, no matter of the distance, obstacles and destination? Is cost being the only reason you’re taking into account? I doubt so.
    You’re traveling by some vehicle sometimes, just because it’s more reliable way in certain circumstances. So, you choose things my sense, not by cost.

    Same here.
    If you have some errors in your code, these errors should be your concern, not related performance.
    If you have your logs flooded with waste errors, obscuring real important ones, you have to turn these minor ones off. Not because of system’s performance but because of programmer’s performance, letting him get in touch with site heartbeat.

    The sense, the meaning of the matter should be your concern. Not abstract “performance”.
    There are languages apparently faster than PHP, say, assembly language for example. So, being concerned only in performance, you have to use assembly language only. But you choose PHP for it’s reliability. So, be consistent, choose things by their sense, not imaginary(!) performance.

    When you’re asking about code structure, it’s reliable code structure should be your concern, not imaginary performance issues. Isn’t it obvious?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Notice: Constant DIR_FS_CATALOG already defined I've already commented out display_errors in php.ini , but
I notice that Windows XP Event Viewer show a list of typical actions under
I recently switched to a new setup that is reporting PHP Notices; my code
I am getting expected notices and warnings and would like to turn them off
Okay, I've written my first functional PHP extension. It worked but it was a
Notice in the bottom right hand corner of this page it has the SVN
Notice these two RedHat Linux system configuration settings: $ getconf GNU_LIBC_VERSION glibc 2.3.4 $
Notice how the default domain for stackoverflow is http://stackoverflow.com and if you try to
I notice that StackOverflow has a views count for each question and that these
I notice sometimes with my parent/child objects or many-to-many relationships, I need to call

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.