Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108671 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 91388 invoked from network); 19 Feb 2020 17:17:33 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 Feb 2020 17:17:33 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5B0851804D9 for ; Wed, 19 Feb 2020 07:33:30 -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=-2.1 required=5.0 tests=BAYES_00,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 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-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 ; Wed, 19 Feb 2020 07:33:29 -0800 (PST) Received: by mail-lf1-f49.google.com with SMTP id y19so435908lfl.9 for ; Wed, 19 Feb 2020 07:33:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f/X05OIFIlgeZIrdlVqSOKGr2SBQLu104m+DY6JS7Y0=; b=Vj1sRxSSyGLlWY8KGkCe7oanPiLNIPW8fZPxdWrzt7ccudT3oTWJs8CS/neD3QopsY ppZhq5Few0848Ax8YCFfvmSM91Oz8c8RmNFW1MpOcShuTPsUbp5QoM4Uu4VKxhaoImX0 HSNX7fJWWi+MxKEu3otngxTIWgW4WAizZ/0xHIBtZkBtl/9DQjKcednYeA7xI8RXf/6U iZRsoOj7GqHDTCOARRvsvsMTSG8OYYqZcc9wrSzANwGpYYVqsr1ZaVr6cQuECeyXLeIa Q4SdZJ+2EweWsm9BQL3XzT9iFDPwHuOl9rWVOWulEP524sBPjaIWvp6ONoGdsgApcX11 WCiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f/X05OIFIlgeZIrdlVqSOKGr2SBQLu104m+DY6JS7Y0=; b=aRZpUl092NAuSXqzZemxFl4j0QgD9qwXdHD4zxbzPwbXOAu9+s5kTTUGXsss47CnVC VG/+oR2j51fkj6z93lx1N/Za8/NnluvW7Ac9A4mYS8urD4u6PmKFQFnTt/4Bpwya4KGW IT6L4wlTojbg3MKkMEOdhoZqbYLxM52S+AM2cMIVlYaMzzldkLwYT1Vts6CDaO753Pe6 yRP6p48noDy+DkhsHhB9TFDJ+FFzbDDOf1QKcSNhSWCZxNdnjUNl16VCC6zLwVn9qKGA 3ivZcbyboL+QEThEQwVS9U7zbiMmcdGjYtPoEVOJWWol3unvC7CyW60X5Ix0DGilzQks Ke+Q== X-Gm-Message-State: APjAAAXMw8drFPQdtkuzOe6CMWgHW/e1ps0rGUioe6XbGOS0+SG5gAuN N+8ib4TKs36CBDisEmtm2FRekqsGqvAswzkDcURz3w== X-Google-Smtp-Source: APXvYqyz3NPp0FCpW9EEpC/CRhQYmPSkORSs2dGgwvJ8zXdfEuzbq2N8Yx6suzUuMv3ttUU8/fboyCw2dkfwwIl1aqQ= X-Received: by 2002:ac2:4911:: with SMTP id n17mr2338548lfi.79.1582126407837; Wed, 19 Feb 2020 07:33:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 19 Feb 2020 16:33:16 +0100 Message-ID: To: David Rodrigues Cc: PHP Internals Content-Type: multipart/alternative; boundary="000000000000876ce4059eef8287" Subject: Re: [PHP-DEV] New PCRE function From: nicoswd@gmail.com (Nico Oelgart) --000000000000876ce4059eef8287 Content-Type: text/plain; charset="UTF-8" On Wed, Feb 19, 2020 at 4:20 PM David Rodrigues wrote: > Maybe you can set all this messages as lowercase? That way we can use it > more easily. If we need the first letter in capital letters we can use > `ucfirst()`, because the opposite is more complicated (a `strtolower()` > would "break" the "JIT" message, for example). > Hi David! I'm not sure how this would be more useful, plus all other built-in functions like json_last_error_msg() don't return all-lowercase strings either. I'd prefer it to be consistent with the rest of functions. --000000000000876ce4059eef8287--