Runtime check...

From: Date: Thu, 27 Oct 2005 16:28:23 +0000
Subject: Runtime check...
Groups: php.internals 
Request: Send a blank email to internals+get-19762@lists.php.net to get a copy of this message
I have developed a php extension that requires zlib in order to works fine. The problem is that if someone have compiled php without zlib support my extension just crashed when it tries to use some zlib routines. I wonder if there is a way to check at runtime (or better at startup in the PHP_MINIT_FUNCTION) if php has been compiled with zlib support so I can gracefully reports a WARNING... Thanks, Marco Bambini

« previous php.internals (#19762) next »