首页 > Web开发 > 详细

PHP代码格式化批量脚本

时间:2015-05-16 17:51:57      阅读:302      评论:0      收藏:0      [点我收藏+]
@echo off
echo please input phpCB url:
set /p input=
cd /d "E:\tools\phpCB\"
phpCB --space-after-if --optimize-eol --space-after-switch --space-after-while --space-before-start-angle-bracket --one-true-brace-function-declaration --one-true-brace --extra-padding-for-case-statement --glue-amperscore --change-shell-comment-to-double-slashes-comment --indent-with-tab --force-large-php-code-tag --force-true-false-null-contant-lowercase --comment-rendering-style PEAR --equal-align-position 50 --padding-char-count 1 --glue-arrow %input% > %input%.phpCB
copy /y %input% %input%.bak
del %input%
copy /y %input%.phpCB %input%
del %input%.phpCB
pause

 

PHP代码格式化批量脚本

原文:http://www.cnblogs.com/chy1000/p/4508008.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!