HomeGeneral

Test and debug your code online

Test and debug your code online
Like Tweet Pin it Share Share Email

During program or code development we face lot of issues and bugs and in between we need some debugging.
In PHP there is not a easy way to debug the page line by line, so you have to use ‘echo’,’die’,’print_r’,’var_dump’ like functions for debugging.

 

It take a little bit more time to open the page add these function and then view that page again by refreshing the browser.

 

Here on internet you have lot of websites the providing the same functionality to check the variable in very less time and without reviewing code again and again.

 

I am listing out some of these as follows:

1. json_encode and json_decode parser online tool
http://json.parser.online.fr/

2. base64_decode and base64_encode

3. Array serialize and unserialize

4. Format date and date related function

5. md5,preg_replace ,preg_match

6. String related functions
http://www.tools4noobs.com/online_php_functions/

 

7. Count characters in a string and words in a sentence
http://allworldphone.com/count-words-characters.htm

 

8. JS beautifier (to format your JavaScript file)
http://jsbeautifier.org/

 

9. Format your HTML page (format your HTML page)
http://www.freeformatter.com/html-formatter.html

 

10. W3C validate
http://validator.w3.org/#validate_by_input

 

RUN/Execute your small php code online with any version of PHP.
http://sandbox.onlinephpfunctions.com/

 

RUN/Execute your JavaScript code to view the result online.
http://writecodeonline.com/javascript/

 

RUN/Execute jQuery code online to test
http://jsfiddle.net/

 

List of All PHP Functions
http://php.net/manual/en/indexes.functions.php
http://php.net/quickref.php

 

Okay guys, Try out these hope these will help you in debugging the code.
All the best!!

 

 

Comments (1)

Comments are closed.