Hey all,
please remember that you can also use php -r to quickly evaluate
expressions, e.g. generating a random password:
php -r 'var_dump(bin2hex(random_bytes(16)));'
I'm in favor of removal without readline.
Best,
Niklas
Rowan Tommins schrieb am Mi., 12. Mai 2021, 22:46:
> On 12/05/2021 17
On 12/05/2021 17:21, Levi Morrison via internals wrote:
The interactive shell requires libedit or readline support, which
this build does not have.
Run php without -a to get an interactive mode instead.
Unless I'm missing something, the default CLI mode (php without -a) is
"interact
On Wed, May 12, 2021 at 10:13 AM David Gebler wrote:
>
> On Wed, 12 May 2021, 09:13 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/69
On Wed, 12 May 2021, 09:13 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?
>
> Regards,
> Nik
> On May 12, 2021, at 3:12 AM, Nikita Popov wrote:
>
> Hi internals,
>
> If the readline extension is enabled, PHP provides an interactive shell
> under -a. If it is not enabled, it falls back to an "interactive mode"
> (yes, the difference between "interactive shell" and "interactive mode" is
> Am 12.05.2021 um 10:12 schrieb Nikita Popov :
>
> Hi internals,
>
> If the readline extension is enabled, PHP provides an interactive shell
> under -a. If it is not enabled, it falls back to an "interactive mode"
> (yes, the difference between "interactive shell" and "interactive mode" is
> imp
> Am 12.05.2021 um 10:12 schrieb Nikita Popov :
>
> Hi internals,
>
> If the readline extension is enabled, PHP provides an interactive shell
> under -a. If it is not enabled, it falls back to an "interactive mode"
> (yes, the difference between "interactive shell" and "interactive mode" is
> i
On Wed, May 12, 2021 at 11:44 AM Michelangelo van Dam
wrote:
>
>
> > On 12 May 2021, at 11:39, Pierre wrote:
> >
> > Le 12/05/2021 à 11:29, Joe Watkins a écrit :
> >> Morning Nikita,
> >>
> >> +1 on the change to cli.
> >>
> >> It can't really be a default extension right now because readline
>
Morning,
Still I think heavy use has to be the exception, especially heavy use where
readline is not available (because it's questionably useful).
Cheers
Joe
On Wed, 12 May 2021 at 11:39, Pierre wrote:
> Le 12/05/2021 à 11:29, Joe Watkins a écrit :
> > Morning Nikita,
> >
> > +1 on the change
> On 12 May 2021, at 11:39, Pierre wrote:
>
> Le 12/05/2021 à 11:29, Joe Watkins a écrit :
>> Morning Nikita,
>>
>> +1 on the change to cli.
>>
>> It can't really be a default extension right now because readline license
>> is not compatible:
>>
>> https://github.com/php/php-src/pull/3823
>
Le 12/05/2021 à 11:29, Joe Watkins a écrit :
Morning Nikita,
+1 on the change to cli.
It can't really be a default extension right now because readline license
is not compatible:
https://github.com/php/php-src/pull/3823
Even without the license problem, I'm not convinced of the value of addin
Morning Nikita,
+1 on the change to cli.
It can't really be a default extension right now because readline license
is not compatible:
https://github.com/php/php-src/pull/3823
Even without the license problem, I'm not convinced of the value of adding
the dependency: Because of this long standing
On Wed, May 12, 2021 at 10:37 AM Moritz Friedrich wrote:
>
> > Am 12.05.2021 um 10:12 schrieb Nikita Popov :
> >
> > Hi internals,
> >
> > If the readline extension is enabled, PHP provides an interactive shell
> > under -a. If it is not enabled, it falls back to an "interactive mode"
> > (yes, t
Hi internals,
If the readline extension is enabled, PHP provides an interactive shell
under -a. If it is not enabled, it falls back to an "interactive mode"
(yes, the difference between "interactive shell" and "interactive mode" is
important here). The interactive mode is simply an stdin input, wh
14 matches
Mail list logo