Getting a file pointer from file descriptor
- by Naga Kiran
In PHP 5.2.3, "fdopen" was used to read/write to a file descriptor that's opened by another application.
fdopen(<fileDescriptorId>,"rw"); //It worked fine with PHP 5.2.3
After upgrading PHP to 5.3.2, it's throwing "undefined reference to 'fdopen' function".
Please suggest whats the replacement for this in PHP 5.3.2 or any workaround.