Home >Backend Development >PHP Tutorial >New contact with this ape (includes PHP development environment and PHP simple algorithm questions) - first half of 201507
PHP&MYSQL
Development environment preparation
SAE http://sae.sina.com.cn/
GitHub https://github.com/
Git http://git-scm.com/
Code Deployment manual http://sae.sina.com.cn/doc/tutorial/code-deploy.html
bootstrap.css http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.css
Bootstrap front-end development framework http://v3.bootcss.com/
xampp https://www.apachefriends.org/zh_cn/index.html (recommended)
Development tools
sublime test3 http://www. sublimetext.com/3 (recommended)
notepad++ https://notepad-plus-plus.org/
dreamweaver cs6 https://www.adobe.com/content/dotcom/cn/products/dreamweaver.html
Developer Community
Blog Park http://www.cnblogs.com/ (used by me)
CSDN http://www.csdn.net/
51cto http://blog.51cto.com/
Open Source China http://www.oschina.net/
Lahuo·Entrepreneurship
Witkey-Zhubajie.com http://www.zbj.com/
36氪 http://36kr.com/
Huxiu Website http://www.huxiu.com/
PHP algorithm questions to be in-depth (code added after implementation...)
Only print 0
The specific number is determined by the input parameter n
If n=5, print For if
for switch implementation
while if implements
while switch implements
make a calculator
For example, test.php?a=1&b=2&operator=jia outputs 3
For example, test.php?a=5&b=2&operator=jian outputs 3
For example, test. php?a=2&b=5&operator=cheng outputs 10
For example, test.php?a=6&b=3&operator=chu outputs 2
The above introduces the new contact of this ape (includes PHP development environment and PHP simple algorithm questions) - the first half of 201507, including relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.