Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123261 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 406111AD8EB for ; Fri, 3 May 2024 07:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1714721492; bh=yBw03Nak6mtliY7tlL0Jnom/0cBCLt4aiy0NOeUgwYA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=IdqORhezEi65v/wnamk4JqjlLdApoA83X3Fbjk6NKiaeGhCTbwqhTK9/g4EGQnsjK MNRwy/Ki+qtLbXYj5vTQD/Dpol6kbbsnqY6R+3M05ExSrc9P6pD08lsIG79XlciNsc 2i0SgiTV8WSa90dmxuW/I8YsoJmNaqH5cinCnVZqJw9NS8uvsggzgAMWU+0KnR+eQX pLfIcgxrPVhI+sz0C/uQPBh3fi7cR4D5hNUq3tO0vJJXIQz8oaxj2kIicv2Yd1ee3N YxfFnF6ukT5gzeFl00ZJHRJ2XvDf9+KU3ZdR00c482xbBouWT6BUrYjdm5wRk6WP/h rQPobzrHTFpvA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9505D1808B3 for ; Fri, 3 May 2024 07:31:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 3 May 2024 07:31:26 +0000 (UTC) Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a55911bff66so1183053766b.0 for ; Fri, 03 May 2024 00:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714721439; x=1715326239; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=yBw03Nak6mtliY7tlL0Jnom/0cBCLt4aiy0NOeUgwYA=; b=e2JUUM6hPL25q4zHAq0FqcZkdW3kRZGJQeXZ7+Kd5HlWPh6BtPecXsMgM+k8a/8Jal ED6iGfLPzR+f1HCbdtyVd7a9eyP71fLrYL0fxrtnzaaxIIqoNv+YGgz+rMNJR5p9OL2Q s6vziMDB0dtpBZ8cgSJ0yVVe366oFN66r5eLq+dnA3Z1kA5k8/ec13P6kVzxFs/4aQod qkaFWXqP3nytZhmivaTbLZIHfsV6h/yulr/+ckHReCV8qgjkYfyBUM5AYLI8nmw7LF7s feyhnJGbemo3VS0jqjWwhMVPdJ2rCkc7vxV7A1E8iYdg+YcptHSR++2aSF0p6nyzwa6G vl7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714721439; x=1715326239; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yBw03Nak6mtliY7tlL0Jnom/0cBCLt4aiy0NOeUgwYA=; b=m3Ir0zJ2jPRWwHcWl4c0B36/pBYyKD2lSWyvYuxB5WKR6Bbek8FiDHZ/h1zZhxeVPk ceOzRitzJnASBK8428gcwwuFwC5ufUPrNeC6hPhnZ+UIzbD/pE0bvekItxpLTxdGINzS o0ppVEOJpu0EKawwx/3xME2ToIExgLS3L27CJHbmdqi+LOf8uhuF/ZECTN/p6fSJvkCz 1yTnfyyBS9mqhJmUmz2lq6o7oVbBFB32haOIRFt6gDtRJGPPdqxd0GDcviMB6LZ/5Xf3 ySzrSARqdnzyyV/Y213yARVFzmMJlaQOBMZoIb8oTBF38LzfNWohHKVjZdEQfmBs2eWF nD+g== X-Forwarded-Encrypted: i=1; AJvYcCWD980IfB47nSMPXC2v0n2geP6Z7vsPn2NuBaFFc2MNsSmGhE1Ck8FoBHkwVGBUzj51PCMq+4Av7s1tgLeoH1rjdJNtE6zi3A== X-Gm-Message-State: AOJu0Yw5YpUItl8wFMFB4z89z7AN3ejMQLGGuBqOpBdlXfHQGXncoRM6 qqcaqCfFcgXBPo0Jzv62rjWjVF4Jr4FEvhadJwDtfwQXWywNYn57SIeuqZRS41SEwVEleJCkFfX FGRADwMIDtkvKwzlmkapzQDygq0sLzg== X-Google-Smtp-Source: AGHT+IFrOaKVFLPeGvVhvDRtHzihMwwcxFb/XlgPw+ACOjqs6jMV4yk4AELJNkW62d1SCOznG6C/VxQWBHW8wEwoXhA= X-Received: by 2002:a05:6402:40c2:b0:572:d1e1:b4b3 with SMTP id z2-20020a05640240c200b00572d1e1b4b3mr793243edb.7.1714721439512; Fri, 03 May 2024 00:30:39 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: <88ea5de8-22ea-4c23-b570-229acd546c10@app.fastmail.com> In-Reply-To: Date: Fri, 3 May 2024 09:30:14 +0200 Message-ID: Subject: Re: [PHP-DEV] Inconsistencies between parameter number and index when reflecting a method/function To: =?UTF-8?Q?Benjamin_Au=C3=9Fenhofer?= Cc: Ollie Read , =?UTF-8?Q?Bj=C3=B6rn_Larsson?= Content-Type: multipart/alternative; boundary="0000000000004a8d84061787b215" From: kjarli@gmail.com (Lynn) --0000000000004a8d84061787b215 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 3, 2024 at 9:28=E2=80=AFAM Lynn wrote: > > The parameter number always confuses me because parameter 4 is actually > the 4th, not the 3rd like I'd expect if I look at the indexes when > `...$parameters`. > I wish we had a proper system so I could edit my message instead of bothering everyone with an additional reply, I meant to say index 3, not the 3rd parameter. --0000000000004a8d84061787b215 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, May 3, 2024 at 9:28=E2=80=AFA= M Lynn <kjarli@gmail.com> wro= te:

The paramet= er number always confuses me because parameter 4 is actually the 4th, not t= he 3rd like I'd expect if I look at the indexes when `...$parameters`.<= /div>

I wish we had a proper sy= stem so I could edit my message instead of bothering everyone with an addit= ional reply, I meant to say index 3, not the 3rd parameter.
--0000000000004a8d84061787b215--