Hello,

 

I made two extensions for PHP that I’m want to share, but I do not really
know how to do it ;)

 

One is a profiling extension, called PhProfile:

-          works with zend optimizer and similar (as opposed to xdebug)

-          counts the number of function calls and the total send self time
for each function

-          usable either by calling phprofile_start(); at the beginning and
print_r(phprofile_get()) at the end of the script or

-          by setting up a “dump-profile” parameter in your php.ini (like
phprofile.quick_dump_key=”prof”) and appending the parameter prof to the url
(script.php?prof=1). If done, a html table with all function calls sorted by
self time is appended to the page.

-          If phprofile.quick_dump_mode is set to “2”, the profiling data is
displayed in a popup

Source: http://mo.e-sport.com/phprofiler.html

 

The other is a embedded webserver SAPI, targeted at minimal PHP
implementations for administrative interfaces.

-          HTTP and HTTPS-Server

-          CLI-Support

-          Minimal resource usage

-          Makes it possible to build a 3MB php binary that can run
php-scripts and serves a webadmin interface.

Source: http://mo.e-sport.com/miniphp.html

 

Thanks for reading ;)

 

Moritz

 

 

Reply via email to