How to Debug PHP Code with Better Highlighting to Locate Important Issues Easier in Debug Logs - urp package blog

Recommend this page to a friend!
  All package blogs All package blogs   urp urp   Blog urp package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Debug PHP Code...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2021-03-25

Posted on: 2021-03-25

Package: urp

Debugging applications is a common activity that many developers perform in order to find and fix issues in their code.

As part of the debugging activity, displaying values of variables in certain parts of the code that has issues, is an essential part of the developer work.

This class provides a solution to display variable values that can format the values in a colored way to highlight different parts of the values.

The class can also display the name of the section of the code that is being inspected by showing that name near the values of the variable being displayed, as if it was the name of a function that is calling some code passing the variable value as parameter.




About the urp Package

The package urp is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Display the values of variables in HTML pages

Here follows in more detail what it does:

This class can display the values of variables for debugging.

It can take calls to static functions that take variable values to display.

The class can display the name of the static function followed by a dump of the variable value according to its type using its own code to display the variable value.

The values can be rendered optionally to be displayed in HTML pages using colors to distinguish the types of variables.

Conclusion

The urp can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   urp urp   Blog urp package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Debug PHP Code...  

For more information send a message to info at phpclasses dot org.