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 934781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:03:16+00:00 2026-05-15T21:03:16+00:00

I use PHPClipse for my PHP development. It has some code highlighting and some

  • 0

I use PHPClipse for my PHP development. It has some code highlighting and some other validation such as forgetting to put a ‘;’ at the end of a statement or forgetting ‘}’ etc. I find it is easy to make a mistakes, for example

class foo {
    private $test;

    function __construct() {
        $test = new stdClass;
        $test->myVar = "hello";
    }

    function getTest() {
        echo $this->test->myVar;
    }
}

This should have been $this->test = 6;

In code when things like this happen in conditionals such as if else the only time you realise is when the else statement executes which might be after the software was delivered to clients.

Other examples may be displaying a warning when a function from an abstract class is not implemented.

Is there a way, particularly in Eclipse, that you can turn on some sort of STRICT validate which highlights anything that might be a little dubious?

  • 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-15T21:03:17+00:00Added an answer on May 15, 2026 at 9:03 pm

    If you’re using the PHPEclipse version from http://www.phpeclipse.com/ there should be some code analysis options under “Preferences / PHPeclipse / PHP / PHP Parser -> Style”

    You can select warnings for uninitialized variables and unreachable code.

    I’m not sure if there are anything similar available for the PHP Development Tools Project http://www.eclipse.org/pdt/

    No checkbox for dubious code, though…

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

Sidebar

Related Questions

use this code, in the Preferences activity, to know when the reset preference has
use case is simple: I want to run some boiler plate code before each
Use Case: End-User searches for something and an ArrayCollection is returned with Result objects.
use javascript or other method ? have any recommendation?
Use case example: Client A comes to request sales information, enters their zip code
Use Memcache php class to interact with the memcached. At the beginning all works
Use case: I find a piece of code that I do not understand at
Use: The user searches for a partial postcode such as 'RG20' which should then
Use case: we have some project meta-data files which we want tracked, but are
use PHP and MySQL. Want my website to have the feature of image uploading

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.