|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-04-27 14:22 UTC] kalle@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 06:00:01 2025 UTC |
Description: ------------ ARG_INFO of several methods of DateTime class have $object as the first parameter, which, actually, is not needed in object-oriented API. Reproduce code: --------------- php --rc DateTime Expected result: ---------------- ? Method [ <internal:date> public method setISODate ] { - Parameters [4] { Parameter #0 [ <required> $year ] Parameter #1 [ <required> $week ] Parameter #2 [ <optional> $day ] } } ? Actual result: -------------- ? Method [ <internal:date> public method setISODate ] { - Parameters [4] { Parameter #0 [ <required> $object ] Parameter #1 [ <required> $year ] Parameter #2 [ <required> $week ] Parameter #3 [ <optional> $day ] } } ?