|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-09 23:12 UTC] scottmac@php.net
[2007-06-09 23:54 UTC] slogster at gmail dot com
[2007-06-10 01:42 UTC] scottmac@php.net
[2007-06-10 11:45 UTC] slogster at gmail dot com
[2007-06-11 20:11 UTC] stas@php.net
[2007-06-12 15:57 UTC] scottmac@php.net
[2007-06-17 10:39 UTC] slogster at gmail dot com
[2007-06-17 16:38 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 07:00:01 2025 UTC |
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 Actual result: -------------- there is a core dump here http://xaxo.eu/php.core