Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123584 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 6544A1A009C for ; Tue, 11 Jun 2024 15:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718120515; bh=D5BGuc9APtKSoJqGApN8a1KsAs1MsoPEFJN1n0eLgHQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=KOmKxTWf/rPm90eV7LoNlLJ7BsEOsiL6Tvt8UOrheg4S/Ddf3WMgy0nmN3hnmNiKa YCCQuqRnUhtF77DXKhZt1Ysp8SNsrXs+CeO9NS1EQ6zhDN1bz9mhG70z02Qm42Xo0R DfGnNaq6VEZ/p4eifbrXqvPN/duL5ZqMC0iRtd5g2aCbZxo66lMP4Vxm+++Eu6cfTc DHrNumyijc85YT1wST2aTowUi3Yycy62rBkgBvFu+tqDCkyQO6TSbV5SENcDWV8PLK HlxGCfnTSP7rp8T/VWMLrlvLttQszpmr8R/t7Ce2e37eTZwY3vPRXLWDaGRf0Mf2Qm eirfELZ8Q+p3A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 901D3180569 for ; Tue, 11 Jun 2024 15:41:51 +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,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-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) (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 ; Tue, 11 Jun 2024 15:41:51 +0000 (UTC) Received: by mail-io1-f43.google.com with SMTP id ca18e2360f4ac-7eba53f2a30so54905739f.2 for ; Tue, 11 Jun 2024 08:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; t=1718120442; x=1718725242; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D5BGuc9APtKSoJqGApN8a1KsAs1MsoPEFJN1n0eLgHQ=; b=c8NwQZNXEvTB4K+wqMb8A2hg3cEBsOJnxBcS6P1RuB0dujl8DuE/WW32ONTxnOy8Kj FBoclIBHs4glAuVKP/2LwUr1nKykBiSWHKM38t9eohjeOjM7qvraCot8TuQRG4ox86Oi nsygNUxEQUPtTX/Cjp13153KWW3PbHD8Os9Xo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718120442; x=1718725242; h=content-transfer-encoding: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=D5BGuc9APtKSoJqGApN8a1KsAs1MsoPEFJN1n0eLgHQ=; b=iprae9kVUl72NkBbfhC+U85HJieKuRQXcgXZvEUglepUbKpVh+VVAj3aBSbThpuBk6 e7zJvIWb/YPfIJ3CSLbuPiqKEDjKk2pef0mTNQ+h1ZTEjZ3xwDQgBiGJ4GD11s4uJNRr rb8PFlGjGFoH11CZ9kcm8p1ip9mGMh2DyfeVwcaKVaPR4HjbOC44xdU6ojeg8VPkEMMZ 7B9vwpqYARzJ4ToIpNGP43mzAof6N7aAUudwGa9rUgCGToy+J5MFCkSyzOZGl9utusY2 MQ3ruplJOJoDMV8HzULdB56hsJiemOgBDgMTyqYjDnoQZQ8hUgymSPCnuSjWMRKI5OaW v1RA== X-Forwarded-Encrypted: i=1; AJvYcCVj17nq8yAr90W2JPXd+hdhmpr6a1tkjL62WioIu7N6dHOFaJsTRCTOyvVDzq8ST8afbvXHmF19XVSpuHQkrbzq/suym0H9VA== X-Gm-Message-State: AOJu0YyOcjQwvHMu3sDG597fq9+Y+vesQJsiycOITWe43DK/Q1Xyz5OT iJJGHsnHTLRJRVYMo6vInIlgoctwesQQOzdcd5bN3vk6UwAdEh/4+RRDrK++X7AnKYmdGWN5REp SWn1R9fuciURDC157CSIRHC5Xv1QBqcY/Ch2XcFdF6uFOBXcZ X-Google-Smtp-Source: AGHT+IFy6cHdecVuNvf5vD8a4wYZCmrueW2eIPXVxMoD8EzVMG7ClulezIr4IJpjL+CcM9czy8jJ3RQcWnIrSvl1Auo= X-Received: by 2002:a05:6602:2b84:b0:7eb:4b43:cc66 with SMTP id ca18e2360f4ac-7eb571f1e34mr1421076539f.7.1718120442170; Tue, 11 Jun 2024 08:40:42 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 11 Jun 2024 09:40:31 -0600 Message-ID: Subject: Re: [PHP-DEV] Revisiting case-sensitivity in PHP To: Valentin Udaltsov Cc: Ben Ramsey , php internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: levi.morrison@datadoghq.com (Levi Morrison) > Could you, please, elaborate on why you propose to target 9.0? That would= make perfect sense if PHP strictly followed semver, but we always have som= e BC breaks in minor releases (https://www.php.net/manual/en/migration82.in= compatible.php, https://www.php.net/manual/en/migration83.incompatible.php)= . So, is there a real difference between 8.4 and 9.0 for this case? Or do y= ou mean that this BC break is way too big for 8.4? Generally, the allowed backwards compatibility breaks in minor versions are also minor breaks. These are mostly changes in extensions rather than the core language. This change is in the main language and it's potentially quite a big one. Additionally, if this RFC were to pass, we would want extra time to revisit the casing of suspect items for the same version. For example, `Pdo` vs `PDO`. There's just not enough time for PHP 8.4 to do this. > Levi, if we bundle namespaces, classes and functions in a single change, = will that be easier to implement? Basically to remove lowercasing and put t= he original type names in the lookup tables? Yes, doing it all in one pass is easier to implement, and would provide minor CPU and memory improvements.