fdopen extension for PHP
C PHP
Switch branches/tags
Nothing to show
Latest commit c7bdeb4 Apr 30, 2011 @dhotson dhotson Added PHP license
Permalink
Failed to load latest commit information.
LICENSE Added PHP license Apr 30, 2011
README.mkdn first commit Aug 21, 2010
config.m4 first commit Aug 21, 2010
fdopen.c first commit Aug 21, 2010
php_fdopen.h first commit Aug 21, 2010
test.php first commit Aug 21, 2010

README.mkdn

fdopen for PHP

A small extension for fdopen support in PHP.

Install

sudo apt-get install php5-dev
phpize
make
sudo make install
echo 'extension=fdopen.so' > /etc/php5/conf.d/fdopen.ini

Usage

$fp = fdopen(2, 'w');
fwrite($fp, "hello\n");