Open iralance opened 7 years ago
PsySH类似Python的IDLE的一个PHP的交互运行环境。
wget https://git.io/psysh chmod +x psysh ./psysh
如果是php7,则 php -a As Seen On... Cake:cake console Drupal:drush php,drush-psysh eZ Publish: ezsh Jupyter: Jupyter-PHP Laravel: artisan tinker Lumen: artisan tinker Magento: magerun console Pantheon CLI: terminus cli console Symfony: sf1-psysh-bootstrap Symfony2: psymf, sf2-psysh-bootstrap, symfony-repl, PsyshBundle WordPress: wp-cli shell Yii 2: yii shell Zend Framework 2: PsyshModule
如果是php7,则
php -a
A runtime developer console,interactibe debugger and REPL for PHP
PsySH类似Python的IDLE的一个PHP的交互运行环境。
参考地址: