Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116441 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 66790 invoked from network); 18 Nov 2021 07:53:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Nov 2021 07:53:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B496B1804BC for ; Thu, 18 Nov 2021 00:49:08 -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=0.1 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, 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-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 ; Thu, 18 Nov 2021 00:49:08 -0800 (PST) Received: by mail-pl1-f175.google.com with SMTP id k4so4621661plx.8 for ; Thu, 18 Nov 2021 00:49:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=X/o0TcpiN7/ULg4X+vUne2UjqhP+MgplPCRWUf/h/x8=; b=XFWWeZyVpKNrlMO46S3qzudePHHgnwcjz383x449x5W2PPfw5iLY+69+v6joBLz2c2 T4SwWRj3yKFjLYnq8Kt1GChc4KQKjKcX4dOumVvNdW2bPzjlUqkCXl1eZVqsvJK2Huw/ qf80yLEjiCUGtf5X/XxivPIv9TuwrwhXBP7bichIvtrEmWcQU9e0WetapEH67tVUpp04 hqi7jGoaCRUn9ShFc2SIwUMR7C24kb+YeYtg9dTWXUJkwUJGwXbHKszLFMlx8N2+f3So nHl0jO5Uzf0QFP6Z3XY9j5/+4cE5TV0nSELWB8OzzOfI6vBUMyfPKA1/cbpSzJiNVKgy 7HGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=X/o0TcpiN7/ULg4X+vUne2UjqhP+MgplPCRWUf/h/x8=; b=a9gRKjxotl/ws2lMNYg2U71ZKpAKd2sr8ZmlNJxu94QFWSILCWyV/kRMtFwr0XvzSA Lau+2bpVO+8dFF5m03rc3zB+QnzJAFu0pmsJ9w+HFK8VZfxGqLnMCuXrtMwMwurMypbz AiDy13xTNBAfrzvSenbP/x7My0L6x+2XLTCup7ZP3uQqk55YfBEU2nzk+KIoKk5jlJ/q h6OyPyYFivQ+zNJPMKitoe6q5uJAgwI61vt8lTTLu2TbTAF/CHdftbdH7jIbWFpHvI0O Dsl4LP5gQiZUPCI6wpeVpyaFYXEu4w2+hVXNge9Vo3GMEKAASL1YQvg8Vz/VKsyVi5LF cp0g== X-Gm-Message-State: AOAM532SsFzaIfZFqCBh9o0qjgG17w8anuazzuqlAaOKAp4ptncDMBs/ 6N6sYEH36/dusxQnogC4bB+SIxnIbKmOPTR7MzbS04Ri9GtI/Q== X-Google-Smtp-Source: ABdhPJxVDUpLvK7X4xsbWucHhj/Ge3AkoLv838EKZjsZ/iGY/tdzuu3rcUHT8Dx5QvJyTl66iycJZJ7DZWMTM/I759M= X-Received: by 2002:a17:90a:af97:: with SMTP id w23mr8389968pjq.128.1637225346832; Thu, 18 Nov 2021 00:49:06 -0800 (PST) MIME-Version: 1.0 References: <20211118074647.muibn4mgfezzy75b@lucapetrucci.net> In-Reply-To: Date: Thu, 18 Nov 2021 09:48:30 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000371c1905d10c3b38" Subject: Re: [PHP-DEV] Proposal: &$result_code=null parameter in shell_exec() From: divinity76@gmail.com (Hans Henrik Bergan) --000000000000371c1905d10c3b38 Content-Type: text/plain; charset="UTF-8" > then the backtick operator will not behave identically anymore. Am I correct? yeah kindof-correct, the backtick operator would then behave identically to giving shell_exec() only 1 argument, or null as the 2nd argument (btw i'm the guy that made the linked bugs.php.net feature request) while we're on the topic of shell_exec(), does anyone happen to know why shell_exec() pipes in *text mode*/binary-corruption-mode on windows? On Thu, 18 Nov 2021 at 09:19, Kamil Tekiela wrote: > Hi Luca, > > How will this change be reflected in its alias, the backtick operator? If > the plan is to change the signature of shell_exec() then the backtick > operator will not behave identically anymore. Am I correct? > > Regards, > Kamil > --000000000000371c1905d10c3b38--