Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114440 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38646 invoked from network); 12 May 2021 13:45:35 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 May 2021 13:45:35 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A50161804D9 for ; Wed, 12 May 2021 06:53:37 -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=-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-Virus: No X-Envelope-From: Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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, 12 May 2021 06:53:37 -0700 (PDT) Received: by mail-lf1-f48.google.com with SMTP id m11so17409469lfg.3 for ; Wed, 12 May 2021 06:53:37 -0700 (PDT) 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=MqDjSzf5QDZZCANq5U3HafJrSRTCL6sLnvPLERrrOn4=; b=Qd5zEEYog66ONwqcgLphwrSBeHiDskbEiRUTZ4C/P2LwP/7D7xyoEn53pn84OwLQhu LVFtpDgPSNp5zToRMMsXE7hd6R9Z9j922PScCuTZQbw96yXWFaNBShvzTWL8Grav69n1 BvvyX6qjWanh/mxlvHOqlVpWXThX91RBVqKFWrXbnT52ToDKd3GLdrBeMV43n1MhEAE7 roCCqcdr/liwLF86v+qbvVCvwVVK6RjFSVCieFa1+n/SnQ6aFpzbJCV8cR0cEpK23FQ9 Z2NTAGr3tNo17/l5HRBMUWSbkH2ie6ZneMBmzJIpODuPbBRBW1uNRKXaUEpblZtn/7DI W+Zw== 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=MqDjSzf5QDZZCANq5U3HafJrSRTCL6sLnvPLERrrOn4=; b=RXuhIX9pAUzAPD7vLK+u7BbUsUPg01pTTyahr/9EUFWABquDuaiIlYSUz63Sb5beS8 MyirKhB0xpVOSnFKUvwsL2bix1F1Pc7XeU3qfab72GEFsAr7ALAvx/CI0LI0c0Bp0d54 1oOkCyT7l4jHbeXOWret41+kB1aVDv2i2ctVT0Nb111QMmKDXHDiBdAT11DjmYI1EoB+ M0S2jtCetpvv0botIWgbWJzSjOVLjlRTANAcFWZRyNMUt/XokUpYca4lLTIWsxML4aMx 1dP1jRXAuvHvoVvqfYa9YpCsJok7czmD2f/2X3EnIBD9AabhbQWvwxwRPbILhSrs0N8t K9YA== X-Gm-Message-State: AOAM530nozmso5ETCV+pXcbMdurA8zieThSWarjWl+C0UANaLltEiap2 4Wj7exr3YMKxkZWPgqHgrbgJ8sV3ghIkrHP8+7U= X-Google-Smtp-Source: ABdhPJyWOUY0StD2yaxNZIqOXqdk1raFFG9dOs2FMYtHACloHf9Y1EZv9ylgRlHKMm63TJXKmGVBdgv0ZDBlSMZ62FY= X-Received: by 2002:a05:6512:70a:: with SMTP id b10mr26122576lfs.44.1620827613434; Wed, 12 May 2021 06:53:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 12 May 2021 15:53:17 +0200 Message-ID: To: "Christoph M. Becker" Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000002415db05c22256d2" Subject: Re: Disable interactive mode (-a) if readline not available From: nikita.ppv@gmail.com (Nikita Popov) --0000000000002415db05c22256d2 Content-Type: text/plain; charset="UTF-8" On Wed, May 12, 2021 at 3:42 PM Christoph M. Becker wrote: > On 12.05.2021 at 10:12, Nikita Popov wrote: > > > I think we would be better off disabling -a completely if readline is not > > available, and exit with a helpful error message. I've opened > > https://github.com/php/php-src/pull/6976 to that effect. Does that sound > > reasonable? > > I'm in favor of dropping the interactive mode. Thank you for the PR! > > I wonder, though, if there is even a difference between `php -a` > (without readline) and `php` (besides the "interactive mode" message). > I don't think there's any difference. Nikita --0000000000002415db05c22256d2--