https://github.com/hannasdev/debug
PHP Debug helper-class
https://github.com/hannasdev/debug
Last synced: about 1 year ago
JSON representation
PHP Debug helper-class
- Host: GitHub
- URL: https://github.com/hannasdev/debug
- Owner: hannasdev
- Created: 2016-02-27T14:46:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-04T12:16:10.000Z (over 10 years ago)
- Last Synced: 2024-03-27T20:21:02.677Z (over 2 years ago)
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Debug
=====
Debug is a static class the simplifies routine debugging procedures, such as rendering pretty looking (and more readable) arrays and variables in HTML.
## Examples ##
### printr() ###
PHP:
```php
'hanna', 'email' => 'info@hannasoderstrom.com'];
Debug::printr($data);
```
HTML:
```html
array(
'username' => 'hanna',
'email' => 'info@hannasoderstrom.com'
)
```
### vardump() ###
PHP:
```php