|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-05-17 10:43 UTC] gwarnants at gmail dot com
Description: ------------ --- From manual page: http://www.php.net/function.w32api-deftype#Description --- There is no reason the extra argument "..." to be written twice in the function protoype. Once is clear enough. Regards, Geoffray Expected result: ---------------- bool w32api_deftype ( string $typename , string $member1_type , string $member1_name [, string $... ] ) Actual result: -------------- bool w32api_deftype ( string $typename , string $member1_type , string $member1_name [, string $... [, string $... ]] ) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
The trailing parameters should be in pairs of $memberN_type and $memberN_name. Here having two $... makes sense. Also, as with your earlier rand() bug [1] we cannot make the prototype be like bool w32api_deftype ( string $typename , string $member1_type , string $member1_name [, string $..., string $...] ) [1] http://bugs.php.net/bug.php?id=54746