On 10/06/07, Momchil Ivanov <[EMAIL PROTECTED]> wrote:
Hi,
I`m having trouble with php5-5.2.3 and filled out a bug report
http://bugs.php.net/bug.php?id=41645 can somebody else reproduce this with
the code given in the bug report, or am I the only one experiencing this? It
crashes without debug, and it works with debug on my machine.
<snip>
Description:
------------
php crashes with segmentation fault after executing a dummy function
with some default vars
Reproduce code:
---------------
<?php
function get_links($category = -1,
$before = '',
$after = '<br />',
$between = ' ',
$show_images = true,
$orderby = 'name',
$show_description = true,
$show_rating = false,
$limit = -1,
$show_updated = -1,
$echo = true) {
};
get_links(-1, '<li>','</li>', '', false, 'name', false, false, -1);
?>
Expected result:
----------------
a function with this prototype exists in wordpress. this one here should
exit normally, but it crashes php. if you execute it without the last
argument (corresponding to the $limit var): get_links(-1,
'<li>','</li>', '', false, 'name', false, false) php doesn`t crash
</snip>
--
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E 158A E03D 56DA 3118 168B
Hi,
PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 9 2007 14:41:50)
with 6.2-RELEASE-p4
and it doesn't crash in fcgi and cli.
Sorry can't be of much help.
Cheers
David
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"