Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130604 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 lists.php.net (Postfix) with ESMTPS id AF21A1A00BC for ; Fri, 10 Apr 2026 21:47:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1775857652; bh=EkPWQzK/vCYGa3TN76H6OPmsUWuaYnWneuZ+Lw8/LYY=; h=From:Subject:Date:References:To:In-Reply-To:From; b=PQ/v0pfjiaBQmE0y4dVQWscJGlg2mAHg8BscQlB+TTMJayLUFWBcyeH/WhkKmqFl5 XRTDJLE301KokKff3VDzMaPJFkwD1fWmM9ZI5maluIs7YolbkGrBTEeIgdRBlarM49 6fTP9MnwA9yHbpERZ5OQkFSrj8l3vuK4hriWKNNy8RSDh8sQOagmjYYzcEv/Stsc4X h/2zE3LDOblCr0Z3pmiK+NMw5ZLgH6X5pL90WSY6rk07aT82Q7fL/HPrOoivriZwsH 1V5vVTeJoyiyLOH30+uiTK+p9KOY6+P2P2R9MwEsM7TZDiTBbhwrkWdKp8asOnUmnd NqKGnfYt9ncyg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 69847180087 for ; Fri, 10 Apr 2026 21:47:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) 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,SPF_PASS, T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail.gna.ch (darkcity.gna.ch [84.234.28.114]) (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, 10 Apr 2026 21:47:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.gna.ch (Postfix) with ESMTP id F36842380A5F for ; Fri, 10 Apr 2026 23:47:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cschneid.com; s=default; t=1775857637; bh=EkPWQzK/vCYGa3TN76H6OPmsUWuaYnWneuZ+Lw8/LYY=; h=From:Subject:Date:References:To:In-Reply-To; b=eDqDVR6tqIsrsI5BWM2/pFksn9gr0njaZpzjlaZZaOY6lQyTcCPcusrxdzv5fM2Pw cGEBQ0hIn+UKeNz25HBhTO1cQBOweENt5hVbhT2JtihTqe9fSYL+4inBIbtgWBWfe0 F24Xig6C08NGZiLzC9Pdniuo9s7olvWf2aDKlobI= X-Virus-Scanned: amavis at gna.ch Received: from mail.gna.ch ([127.0.0.1]) by localhost (mail.gna.ch [127.0.0.1]) (amavis, port 10024) with ESMTP id 0Ho7ko4RGmYg for ; Fri, 10 Apr 2026 23:47:16 +0200 (CEST) Received: from smtpclient.apple (unknown [IPv6:2a02:1210:2e2d:4d00:e108:feda:879:c70]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.gna.ch (Postfix) with ESMTPSA id DE0082380A5B for ; Fri, 10 Apr 2026 23:47:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cschneid.com; s=default; t=1775857635; bh=EkPWQzK/vCYGa3TN76H6OPmsUWuaYnWneuZ+Lw8/LYY=; h=From:Subject:Date:References:To:In-Reply-To; b=BpjWEeTbz2ruFz1HFk8lLL+XAjdmyGtJz80ygc/VRZU/Rm57eeVNeL+XI8e7I/uPM KSbMwxkXm59TMW0/noj9ywFkRyIuoZlqVIJrObRuZcMMpV9NGfYmgyfkRGEhRdDrOX SlJGyhj33BuwTDCthCYNJyPXBUxPTjzb6nbtD9n8= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.500.181\)) Subject: Re: [PHP-DEV] DocComments for internal functions Date: Fri, 10 Apr 2026 23:47:15 +0200 References: <2FGg02j2pKAcV7nu_mLBtetGMhhax9Ernyly_rH2jDaWzNUSlWMk7pYf4mEq9QIbuBj4tgxA9xLlTEnwPVqmxSTw558yTPNrEsk53G63xtQ=@gpb.moe> <30448463-1ABD-4005-89CC-3F558C7FE9B2@cschneid.com> To: internals@lists.php.net In-Reply-To: Message-ID: X-Mailer: Apple Mail (2.3864.500.181) From: cschneid@cschneid.com (Christian Schneider) Am 10.04.2026 um 17:40 schrieb Derick Rethans : > On 10 April 2026 15:21:34 BST, Christian Schneider = wrote: >> Am 10.04.2026 um 12:54 schrieb Gina P. Banyard : >>> On Thursday, 9 April 2026 at 14:33, Christian Schneider = wrote: >>>> The implementation can be examined at >>>> = https://github.com/php/php-src/compare/master...chschneider:php-src:intern= al-functions-doccomments >>>=20 >>> I am not *fully* convinced that we should add DocComments for = internal parameters/functions/classes/constants, as this feels like a = lot of complexity. >>=20 >> What kind of complexity are you thinking about? Code-wise? = Integration into the build process? >=20 > I'm wondering how much this does to increase the size of the PHP = compiled binaries. On my machine it adds about 2M (7%) as the sapi/cli/php binary increases = from ~28M to ~30M for a build with default ./configure and CFLAGS=3D"-O3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64" I would assume this is mostly in a read-only data section and hence = shareable between processes. - Chris