Jump to content
xisto Community
Sign in to follow this  
Casanova1405241497

Php: Want Script Checking/correcting Software

Recommended Posts

I don't know if you'll go for the software I will be recommending. It does check for errors in your php scripts [amongst other languages] and it does show you the debug information so you can fix the errors, it just doesn't correct the errors for you. It's called PHP Designer 2005. It's a very nice environment that lets you not only code in php, but in other languages too like HTML CSS JS Java VB C# etc. It's a very useful piece of software - a diamond in the rough if you will. Here's the link.

http://www.mpsoftware.dk/downloads.php https://p''>https://p'>http://www.mpsoftware.dk/downloads.php https://p

By the way, you will also need to install the PHP.exe from php.net so that you will be able to debug your scripts. Just go to downloads.php.net and download the newest version.

Share this post


Link to post
Share on other sites

Hello Friends i wanted To know if Any PHP Correctiong softwares are available or not.?

 

What i mean is ,Like If i have a Page with error on line 25 , And Is there any software which can scan and Correct the Php errors?

Regards

Casanova !

<{POST_SNAPBACK}>


I don't think there is such a program availible because the checker would act like a spelling checker and we all know how badly they can mess up a document with correctly spelled wrong words.

 

Because the program wouldn't really know what you wanted it to do, it may FIX your script in a way other than what you wanted.

 

For example let's look at the following php error:

echo hello world';

We are missing a single quote somewhere right?

But what is the solution. Here are three possible solutions:

echo 'hello world';
echo hello world;
echo hello world'';

Which is right, well all are right in certain cases.

The first being the most obvious choice but may still be wrong your your needs.

The second really looks wrong but that is only because "hello" and "world" are assumed to be strings and not constants. If the words are defined as constants, then the second or even the third solution is correct.

 

Creating a program smart enough to determine the right course of action to take would be complex. For example; what if you accidentally deleted severl lines of code and then the checker fixed whatever was left, Then the repair would be based on the partial code and the script wouldn't work as intended.

 

Like reading a book with the middle half missing, you can try to figure out what happened in the missing section but in the end, did Dorthy meet the Tin Man in a forrest or in a junk yard. If you imagined that they met in the junk yard, then his ax would be a mystery during the entire ending of the book. (Wizard of Oz)

 

Hope this sheds some light on the issue. :P

 

vujsa

Share this post


Link to post
Share on other sites

I don't know if you'll go for the software I will be recommending. It does check for errors in your php scripts [amongst other languages] and it does show you the debug information so you can fix the errors, it just doesn't correct the errors for you. It's called PHP Designer 2005. It's a very nice environment that lets you not only code in php, but in other languages too like HTML CSS JS Java VB C# etc. It's a very useful piece of software - a diamond in the rough if you will. Here's the link.

 

http://www.mpsoftware.dk/downloads.php

 

By the way, you will also need to install the PHP.exe from php.net so that you will be able to debug your scripts. Just go to downloads.php.net and download the newest version.

<{POST_SNAPBACK}>


How would one go about correctly installing the php.exe program so that it doesn't interfere with the rest of the operating system or such like that? Also, how much room does the php program and/or PHP Designer take up on the hard drive? Just wondering, since I already have some pretty hefty sized programs already on my computer.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.