Can not use command line interpreter

前端 未结 9 1042
盖世英雄少女心
盖世英雄少女心 2021-02-05 09:58

I have tried to execute simple php code in the php interpreter. When I executed the command php -a I getting the message

Interactive mode ena

9条回答
  •  长情又很酷
    2021-02-05 10:29

    If you're using Mac, then install Homebrew (http://brew.sh) then type: brew install phpsh

    And then you can run phpsh to get an interactive shell.

提交回复
热议问题