Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113328 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 48506 invoked from network); 28 Feb 2021 13:31:38 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Feb 2021 13:31:38 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7F3D61804F4 for ; Sun, 28 Feb 2021 05:21:19 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 28 Feb 2021 05:21:18 -0800 (PST) Received: by mail-wr1-f45.google.com with SMTP id u14so13264023wri.3 for ; Sun, 28 Feb 2021 05:21:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=lMpGrl1vIqMJGWTu9FIAewj2f7YvNaDQVZrez1THVxI=; b=Bu1WZptW0iu+6dNKJj7tOJ7tAkhNekC7lNjFIgWq27wIbQlpfzD58PMG2FpacWm4ox lOLWIIzjE0Jsw0wpn95GOQnuSYWjGfqZ4DxDmJuUtBOoBTU787DAHt/RG5M8/tJIGff1 Qwp07lovacbwelpdbiV/vi1505u9ut0vVQ0PMtWXRMXJyg6nl+pbuNcox2lvMJ9XzHt6 qyy2eYv3ldekNccWVcaFRUrdh4f2CyxVZ6OjTody/NHpxNIzvIr29gPr02ovyi3Fnu9i yAz18hSSxkYrqwJDiOWy3bxO84/4UOO8wH3xXwqBI0k7NYfbbET4ERcSX8m5mXAm20O+ 8Nug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=lMpGrl1vIqMJGWTu9FIAewj2f7YvNaDQVZrez1THVxI=; b=LPfCte/Tx7/gvhs7iBQN9jehXayEcJIoHZHnNWaSC5xyZEZ8BF2qEluqbi22LibE3T r+mH+xrzv6c8QeAW0A0f2b6719nrL46tNQTkGczOfrva+GMKKl9pXVyWKaDEDfoGjjN+ TXfY6weYgrLBCvVkJQRcywYs+/i42F9jvBEcPISwpT07/ty4O7lxQaEA4rZ/OWBre4Z8 oglDK/3lytEgLFBivll4ivNygI/HDaepeon0myW4IjCtf5xO5TOnfC+f5nyAIAXh15D6 kX4gyBFG2iCDToJ7HCkzgm7dtrbsPp82bHPp8MCX108tQTzAzE3etDGKlME1hNIZk+Az o3WQ== X-Gm-Message-State: AOAM531ns6TW+mvOFsV8O/NJXoVQSSUKXNIdxNo/ojk2zAmxFbKz1rs+ n6XguKMiVddxilBWQv0ZkihOAIAEWx8+kw== X-Google-Smtp-Source: ABdhPJxoJlEZkOyZ8G/B5Rf5JlVlf/Yr2e/R/+B7MApARsVzvjYzZh3iSzrldQH2k2bPgflRRiGSWw== X-Received: by 2002:a05:6000:5:: with SMTP id h5mr5904870wrx.97.1614518477586; Sun, 28 Feb 2021 05:21:17 -0800 (PST) Received: from ?IPv6:2003:e5:bf21:7200:8167:5d04:a43f:b514? (p200300e5bf21720081675d04a43fb514.dip0.t-ipconnect.de. [2003:e5:bf21:7200:8167:5d04:a43f:b514]) by smtp.gmail.com with ESMTPSA id z3sm21898117wrw.96.2021.02.28.05.21.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 28 Feb 2021 05:21:17 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-D89BAF8B-6559-40C6-AF5D-67E835F4310A Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Date: Sun, 28 Feb 2021 14:21:16 +0100 Message-ID: References: Cc: PHP Internals In-Reply-To: To: Eugene Sidelnyk X-Mailer: iPhone Mail (18D52) Subject: Re: [PHP-DEV] Methods Overloading in PHP From: kontakt@beberlei.de --Apple-Mail-D89BAF8B-6559-40C6-AF5D-67E835F4310A Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Von meinem iPhone gesendet > Am 28.02.2021 um 13:50 schrieb Eugene Sidelnyk : >=20 > =EF=BB=BF Hi there! > I faced a lack of methods overloading in PHP once again and would like to > ask will it be implemented at some point? The way php implements methods and dynamic calling it is pretty unlikely thi= s will get implemented. See more info here: https://github.com/Danack/RfcCodex/blob/master/method_ov= erloading.md > As well, I want you to show some pros and cons which you see in this > feature. >=20 > Here're some thoughts about this by Yegor Bugayenko: --Apple-Mail-D89BAF8B-6559-40C6-AF5D-67E835F4310A--