Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117500 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 72295 invoked from network); 8 Apr 2022 15:16:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 Apr 2022 15:16:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5FCFC1804CF for ; Fri, 8 Apr 2022 09:47:31 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-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,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) (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 ; Fri, 8 Apr 2022 09:47:30 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id l14so16140512ybe.4 for ; Fri, 08 Apr 2022 09:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=qnkOZxbUQo4FYl9Jxdp7veGNW8/iCM5XyBrNUxX+E8k=; b=YaSS3oo0exkRX/seZM0oerwMByYOg89EZ7lEyagbLMGEMQqcbxziVyyFC2xhtGfZfX ODQkIyOfHDAvlGCNeHydvOnUN8MEBfum3Nzk4Yb8BxHwe29jL7EFrrGBLSZ0qNCjIpvl KavVi891Hx+8/62qGL8RUtfBMfkEtTcmDp2m/2CoEORQ37arxMpP2aj2548EnqPl3q/k YEyDQ9TeMYGeMGAFEHLa1Y6v+cdhnDx8aWkGaxFJ0YSkeEcxEEtO0UFtZmyRNtosDxH+ MaSj6iMuN6t/n+ZYPaerRcikrzqh5Yfm0/hPdenJDEew1F7dqhoFWO6cfQmit2v5y1jc dQ/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qnkOZxbUQo4FYl9Jxdp7veGNW8/iCM5XyBrNUxX+E8k=; b=NA3eA9UstEHVrbShKdONTpvO+zLjML0+T91UlczNSFGycIWS2NyoQ4unPvXfoOp5uk SajDtfcrXzQkW3dOEWQ4O7S6WQhJsSEjPpTQHHgRn78LqMgwYO8nLtzqBuqpfJLaUmrC xIZs9kqi6F8sse1FQh2fYcJxPaOy21BYadvgxiO7leD6/T5QZT5ZeAcMx6mjrfpED/Fj 0aE2s8rtBZwqlThKQ7xkFSIppQr5+oaOmwk5fOhl47IWKz6hPbpzsyJVNu/7XJ2onQPC V/vNe8IKkuiQB12k2MMvNfGhJIAC1auLs5sEEois+x41SGADlxDN1RTizsMtIoSCgcCJ lOzg== X-Gm-Message-State: AOAM533mbOrtl71oOOJgRez6jPNL0Mvsq3q4Mu2xo+bDe0Cj2xFcSM26 gpuYfRfih5zsdC/7U45nOh4lHsT/06tvrpMt7QplicfF0wE= X-Google-Smtp-Source: ABdhPJwljdxMDnj/gTDPRVqbANC133VlYAHB8V9ZJZbegX1Eds3hm8OxUUWNkrAT07w5CfIj61rAQg7LmYZpI0fFSrc= X-Received: by 2002:a05:6902:1c2:b0:63e:6bd:3a5b with SMTP id u2-20020a05690201c200b0063e06bd3a5bmr14126980ybh.424.1649436450046; Fri, 08 Apr 2022 09:47:30 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 8 Apr 2022 17:47:19 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000af46b805dc27598c" Subject: [PHP-DEV] [RFC] Add true as type From: george.banyard@gmail.com ("G. P. B.") --000000000000af46b805dc27598c Content-Type: text/plain; charset="UTF-8" Hello internals, I would like to open the discussion on the RFC to add true as a type. https://wiki.php.net/rfc/true-type Now that null and false can be used as standalone types, I think it makes a lot of sense to add true as a value type for the sake of completeness with false. It also has many use cases within internals and userland to declare proper type signatures to functions and methods. Best regards, George P. Banyard --000000000000af46b805dc27598c--