Package: libapache2-mod-php5
Severity: wishlist
I have PHP code that wants to check the return value of pclose() and I
need the pcntl_wifexited() and pcntl_wexitstatus() functions to do
the work in a clean/portable way.
$status = pclose($handle);
if (!pcntl_wifexited($status) || pcntl_wexitstatus($status) != 0) {
echo "FAIL";
}
Unfortunately that function is only available in the -cli variant of PHP5
for a reason that I ignore.
You should either build this module in all variants or provide it as a plugin
like all other php-mysql/gd/foo packages.
Cheers,
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150,
'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]