Login   Register  
PHP Classes
elePHPant
Icontem

jsFlush: Output JavaScript and show PHP errors on the pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-07-21 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 424 All time: 5,704 This week: 1,486Up
Version License PHP version Categories  
js-flush 1.0.0GNU General Public Lice...5.0HTML, PHP 5, Debug
Description Author  

This class can output JavaScript and show PHP errors on the pages.

It can generate JavaScript code to be executed in the current page when calling functions of the class with similar names to JavaScript functions, like for instance alert among others.

Functions starting with the prefix _console_ are directed to the console object.

The class can also register a PHP error handler and an exception handler, so PHP errors and exceptions make the messages with the error details appear the browser console.

Picture of Malte Dreyer
Name: Malte Dreyer <contact>
Classes: 1 package by
Country: Germany Germany
Age: 19
All time rank: 3080185 in Germany Germany
Week rank: 1756 Up81 in Germany Germany Up

  Files folder image Files  
File Role Description
Plain text file jsFlush.class.php Class The PHP class jsFlush
Accessible without login Plain text file jsFlush-example.php Example Examples for the jsFlush-class

 Version Control Unique User Downloads Download Rankings  
 0%Total:424All time:5,704
 This week:0This week:1,486Up