Hello,
It *might* be the case that the bug #294740 was mistakenly reported against php4-cli instead of libapache2-mod-php4. The author namely seems to speak about apache2.
On my box, this script works perfectly (with the cli):
#!/usr/bin/php4
<?php
preg_match("/([ab]+)/", "zzzzzabaaccazerazer", $matched);
echo $matched[1]."\n";
?>BUT this one does not when ran with php4's apache2 module:
<html>
<head>
</head>
<body>
<p>
<?php
preg_match("/([ab]+)/", "zzzzzabaaccazerazer", $matched);
echo $matched[1]."\n";
?>
</p>
</body>
</html>I get the error
Warning: preg_match: internal pcre_fullinfo() error -3 in /var/www/test.php on line 7
This bug also seems to be the same as #294673.
I hope this helps.
Regards,
Samuel.
-- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.10 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages libapache2-mod-php4 depends on:
ii apache2-mpm-prefork [apach 2.0.53-3 traditional model for Apache2
ii libbz2-1.0 1.0.2-4 high-quality block-sorting file co
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libcomerr2 1.36release-1 common error description library
ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.8-1 XML parsing C library - runtime li
ii libkrb53 1.3.6-1 MIT Kerberos runtime libraries
ii libmagic1 4.12-1 File type determination library us
ii libpcre3 4.5-1.1 Perl 5 Compatible Regular Expressi
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii libzzip-0-12 0.12.83-2 library providing read access on Z
ii mime-support 3.29-1 MIME files 'mime.types' & 'mailcap
ii php4-common 4:4.3.10-3 Common files for packages built fr
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

