[文章作者:张宴 本文版本:v1.0 最后修改:2009.01.13 转载请注明原文链接:http://blog.zyan.cc/post/392/]
PHPSH 是 Facebook 团队开发的一款交互式 PHP Shell,可以方便地进行PHP命令行测试。
网址:http://www.phpsh.org/
安装方法:
注意:上述安装方法中的“/usr/local/webserver/php/bin/php”为您的PHP可执行文件路径。
使用示例:
PHPSH 是 Facebook 团队开发的一款交互式 PHP Shell,可以方便地进行PHP命令行测试。
网址:http://www.phpsh.org/
安装方法:
cd /opt/
wget http://www.phpsh.org/phpsh-latest.tgz
tar zxvf phpsh-latest.tgz
cd phpsh/
sed -i "s#php -q#/usr/local/webserver/php/bin/php -q#g" phpsh
chmod +x phpsh
ln -s /opt/phpsh/phpsh /bin/phpsh
wget http://www.phpsh.org/phpsh-latest.tgz
tar zxvf phpsh-latest.tgz
cd phpsh/
sed -i "s#php -q#/usr/local/webserver/php/bin/php -q#g" phpsh
chmod +x phpsh
ln -s /opt/phpsh/phpsh /bin/phpsh
注意:上述安装方法中的“/usr/local/webserver/php/bin/php”为您的PHP可执行文件路径。
使用示例:
[root@localhost ~]# phpsh
I can't find a tags file for you. To enable tab completion in phpsh,
go to the root directory of your php code and run 'ctags -R',
(or whatever the analagous command is with your version of ctags,)
then run phpsh from that directory or a subdirectory of that directory.
Commandline: /usr/local/webserver/php/bin/php -q /opt/phpsh/phpsh.php
phpsh (c)2006 by Charlie Cheever and Dan Corson and Facebook, Inc.
type 'h' or 'help' to see instructions & features
New Feature: You can use the -c option to turn off coloring
php> = 3 + 4
7
php> = md5("ZhangYan")
28f91f3a4b62ce57b7a533e742e8aae1
php> echo date("Y-m-d H:i:s")
2009-01-13 15:28:19
php> $var = "blog.zyan.cc"
php> echo $var
blog.zyan.cc
php> $array = array(array(1,2,3), array("a" => "b", "c" => "d", "e" => "f"), 'g', 'h')
php> = $array
Array
(
[0] => Array
(
[0] => 1
[1] => 2
[2] => 3
)
[1] => Array
(
[a] => b
[c] => d
[e] => f
)
[2] => g
[3] => h
)
php> q
[root@localhost ~]# phpsh
I can't find a tags file for you. To enable tab completion in phpsh,
go to the root directory of your php code and run 'ctags -R',
(or whatever the analagous command is with your version of ctags,)
then run phpsh from that directory or a subdirectory of that directory.
Commandline: /usr/local/webserver/php/bin/php -q /opt/phpsh/phpsh.php
phpsh (c)2006 by Charlie Cheever and Dan Corson and Facebook, Inc.
type 'h' or 'help' to see instructions & features
New Feature: You can use the -c option to turn off coloring
php> = 3 + 4
7
php> = md5("ZhangYan")
28f91f3a4b62ce57b7a533e742e8aae1
php> echo date("Y-m-d H:i:s")
2009-01-13 15:28:19
php> $var = "blog.zyan.cc"
php> echo $var
blog.zyan.cc
php> $array = array(array(1,2,3), array("a" => "b", "c" => "d", "e" => "f"), 'g', 'h')
php> = $array
Array
(
[0] => Array
(
[0] => 1
[1] => 2
[2] => 3
)
[1] => Array
(
[a] => b
[c] => d
[e] => f
)
[2] => g
[3] => h
)
php> q
[root@localhost ~]# phpsh
should be to stimulate economic growth, new jobs, to alleviate this problem.
His analysis, private enterprises and foreign enterprises, joint ventures, to attract a large number of employment staff in order to enable flexibility to delay in receiving the basic pension policies can be implemented smoothly, it seems, or should the broad-brush approach to enforce appropriate.
Chu Fu-ling: each year involving tens of millions <b>wholesale designer handbags<b>
of people
Chu Fu Ling told reporters in the country to implement the flexibility to delay the basic pension policies each year may involve tens of millions of people, and thus lead to the problem of young people unable to enter these positions. This massive amount of posts can not be vacated, may be <b>designer handbags for less<b>
difficult through the newly developed position, such as to resolve all of a sudden.
内容:杭州东方魅力招聘模特www.mote188.com
杭州魅力金座招聘模特网站:www.haolun168.com
杭州东方魅力公司网站:www.dongfangmeili.net
内容:杭州东方魅力招聘模特www.mote188.com
杭州魅力金座招聘模特网站:www.haolun168.com
杭州东方魅力公司网站:www.dongfangmeili.net
内容:杭州最好的夜场是www.dongfangmeli.com杭州东方魅力
杭州夜场招聘首选www.dongfangmeli.com
内容:杭州东方魅力招聘模特www.mote188.com
杭州魅力金座招聘模特网站:www.haolun168.com
杭州东方魅力公司网站:www.dongfangmeili.net
内容:杭州东方魅力招聘模特www.mote188.com
杭州魅力金座招聘模特网站:www.haolun168.com
杭州东方魅力公司网站:www.dongfangmeili.net
内容:杭州最好的夜场是www.dongfangmeli.com杭州东方魅力
杭州夜场招聘首选www.dongfangmeli.com
内容:云聊网www.518face.com
内容:海阔天空娱乐会所15026982229全国本地上门兼职按摩
欢迎光临海海阔天空俏佳人时尚娱乐会所
我们是全国连锁,为您就近提供上门兼职按摩服务
第一步:服务预约电话:15026982229【杨姐】
第二步:按照客人提出的要求安排技师;请说出您的详细地址
第三步: 技师半小时左右到达您的住所,请耐心等待
第四步:技师到达与客人当面沟通,如客人不满意,支付技师往返车费,请求更换技师或服务结束
第五步:客人对技师满意后,技师开始服务
第六步:服务结束,客人结帐
技师图片请进网站查看: Http://WWW.LVCAI.ORG
内容:海阔天空娱乐会所15026982229全国本地上门兼职按摩
欢迎光临海海阔天空俏佳人时尚娱乐会所
我们是全国连锁,为您就近提供上门兼职按摩服务
第一步:服务预约电话:15026982229【杨姐】
第二步:按照客人提出的要求安排技师;请说出您的详细地址
第三步: 技师半小时左右到达您的住所,请耐心等待
第四步:技师到达与客人当面沟通,如客人不满意,支付技师往返车费,请求更换技师或服务结束
第五步:客人对技师满意后,技师开始服务
第六步:服务结束,客人结帐
技师图片请进网站查看: Http://WWW.LVCAI.ORG
内容:杭州东方魅力招聘模特www.mote188.com
杭州魅力金座招聘模特网站:www.haolun168.com
杭州东方魅力公司网站:www.dongfangmeili.net
became almost instant immeasurable mirror outside the focus of everyone's attention, she is stopped immediately looked worried Lin move: "If they fail," Left in the forest after the Denon Yaoshuai said suddenly. want to build it is too time consuming several days. filled with eerie feeling. a pair of black eyes, this element force by virtue of their support over the sea on their way.
内容:海阔天空娱乐会所15026982229全国本地上门兼职按摩
欢迎光临海海阔天空俏佳人时尚娱乐会所
我们是全国连锁,为您就近提供上门兼职按摩服务
第一步:服务预约电话:15026982229【杨姐】
第二步:按照客人提出的要求安排技师;请说出您的详细地址
第三步: 技师半小时左右到达您的住所,请耐心等待
第四步:技师到达与客人当面沟通,如客人不满意,支付技师往返车费,请求更换技师或服务结束
第五步:客人对技师满意后,技师开始服务
第六步:服务结束,客人结帐
技师图片请进网站查看: Http://WWW.LVCAI.ORG
内容:http://donfangmeili.qzone.qq.com 杭州东方魅力官方博客http://donfangmeili.qzone.qq.com杭州东方魅力博客
内容:杭州东方魅力招聘模特www.mote188.com
杭州魅力金座招聘模特网站:www.haolun168.com
杭州东方魅力公司网站:www.dongfangmeili.net
内容:http://donfangmeili.qzone.qq.com 杭州东方魅力官方博客http://donfangmeili.qzone.qq.com杭州东方魅力博客