Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123995 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 8BCDB1A009C for ; Fri, 28 Jun 2024 19:29:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719603067; bh=KER2QMfSUIzrVQM8C7IEo026IGj1VXye7v570M5yPQw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fe9zOxzKQhu5/lJ2JEinw2yuapKZGzuDAvm39ijhLw5YnsFOs7CjuPu2YRIXDWI/f jhoZroG0Q0CmtI8/+keEepXAUcqE7H5aXK4iy5bawfUYwV55WLBJRjflpqflNexzEP 6neRR2RN8XvcnUg16qOkQgCSUTihlokSoPrnMbUGEUWLa4o825ezbLwfBtBB0UzK4l gN4GI4ZY2ELYAP0SJ1jD0nQqFGZcbCxhOB0JPDpxhRk7B7mUkT5WSwqbtNp3F66cQr a7m8SmUcxqHVys83N0+tlzg77YRVF+qfR2FEJv+6hnqby52/pR3IV39XH4G/8PR3sf Bl+ODuwrbv9iA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6B2171808AD for ; Fri, 28 Jun 2024 19:31:06 +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.8 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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, 28 Jun 2024 19:31:05 +0000 (UTC) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-424ad991cbbso8098925e9.0 for ; Fri, 28 Jun 2024 12:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scriptfusion-com.20230601.gappssmtp.com; s=20230601; t=1719602986; x=1720207786; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DvkyhKrbCtG3PE6YsORyK01k7Pp4B3Ap3Ocp0Aflm4c=; b=1hCmpT6ywfPCIto6DBFjfMv6PACXFiOr79d3CfH3EmZggSvK3sCk2+0zoxPmqOdPng LRLabivnV1yGXXXQBXv6u68bD7rP3qV6vs6G4a3m8TCEeg5XpxsxK2Nl1qp9EgHwdSqn Cn4dsSCy0iMnsXO6NVsZGD3fGiehmaTFz4JTuA1IjoS4SDq7E+dXmQJZ0RxQQuON9o8X ylocyOosL/GH6OTzddvCymekfziocXUaiQApNWT52HO7LrXJ/+qxg6RaNtgKXMJcC+HH ShKBpArCUj2FBZqLLbeDaMrZoNMpO60YKimeWvSnlm+0rl88rKasQKHC5afWG2fIJi47 Flrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719602986; x=1720207786; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DvkyhKrbCtG3PE6YsORyK01k7Pp4B3Ap3Ocp0Aflm4c=; b=tnm+6KvZmHkPFg9vBXHKgsfXhOReD9xLFheiFO/KQyvZjKsDWAbpffFI/9VW3IeMrD 1QiPu4Ss3IIxXkIr5g0nDm13+7CTi8i4rp+1V1hOBOzXMMn8qxUVQ3lxEI2CmIWxuPzG KbLEOCZOT1a9KK1ZFWwVpb6AVCAWAvUvAE8foU8FtMKpafQmP+CdwpqYJBibXofUdS7X DgFcpOO/oG+iIWe7TXOWYPj/HnaTySm5nL0voGf9jOj7jP7hrMxiomarkznWbD5nd9g4 4+chkVe/bLQVkE2sxewk5Q7F1wRPGOgvRI5SCvk0+gU+MNJ52PXkLzQj3ZVQCYNhZ5u+ IIwg== X-Forwarded-Encrypted: i=1; AJvYcCVAQfK6ULmo1pht9QAsGDmOYZO8lxDZi7uhUA1JnW7xBo3oZKj+UPLWSj79qKLSaD0XLf9ViDr6sHkZdA+tW+8oBp4lHar+Bw== X-Gm-Message-State: AOJu0YyfJd6Eh5hZ8mGFIDXjUm0KQ46aW7wCn+dKq92rVqMS+vxAwrTp A6ZOcD5E8JlaDpsT6khfGV2VMxzluRNKVAGDU4lf0e4YAUih5aUbxk7PuJ4pP+8= X-Google-Smtp-Source: AGHT+IEAiyhn8kCUZzp3pkQknqyqZPaqWtheMfmETs0R0OKT6hbfiiyM4lKh9uSW0wRv8CGID45ugA== X-Received: by 2002:a05:600c:4897:b0:424:a276:df27 with SMTP id 5b1f17b1804b1-42564580f23mr48417705e9.36.1719602985739; Fri, 28 Jun 2024 12:29:45 -0700 (PDT) Received: from ?IPV6:2a01:4b00:bf09:5101:99b3:34cb:8417:c441? ([2a01:4b00:bf09:5101:99b3:34cb:8417:c441]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4256af55e61sm47783025e9.20.2024.06.28.12.29.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jun 2024 12:29:45 -0700 (PDT) Message-ID: Date: Fri, 28 Jun 2024 20:29:46 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] Static class To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= , Stephen Reay , Mike Schinkel Cc: Claude Pache , ayesh@php.watch, php internals References: <88D83E92-94BE-4548-B398-8F5C74765FFD@gmail.com> <882BD9E0-42E9-4C84-A144-7C1DFC4CE5EB@newclarity.net> <9d3e9063-aecf-4c56-a17d-782e7a60fed2@bastelstu.be> Content-Language: en-GB In-Reply-To: <9d3e9063-aecf-4c56-a17d-782e7a60fed2@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: bilge@scriptfusion.com (Bilge) Hi Tim, On 27/06/2024 19:24, Tim Düsterhus wrote: > On 6/25/24 05:17, Stephen Reay wrote: >> and I'd rather have the feature with slightly odd syntax rather than >> not at all. > > Absolutely not. PHP is already odd enough as it is. We should not add > additional oddness in the interest of pushing a new screw-shaped > feature in with a sledgehammer. Any additional oddity makes it harder > for Junior developers and developers coming from a different language > to learn PHP and also required the developer to learn the language > details by heart instead of being able to rely on their intuition. Don't worry, I couldn't bring myself to seriously entertain using an attribute instead of a keyword. I'll update the RFC to include it as a rejected feature. > I'm already leaning towards "Don't want static classes" Why? It is important to understand what your misgiving are in case there anything we can do to assuage them. Cheers, Bilge