|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-07-01 21:28 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
Description: ------------ Hi, The $fields parameter should be made mandatory on fputcsv() for two reason: 1. Calling fputcsv($fp) doesn't make sense (to me at least) 2. Calling fputcsv($fp) segfaults Please change the C source to look like if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra|ss", instead of if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ass", (/ext/standard/file.c:1999 in HEAD)