Install php develop environment

brew install php
brew install composer

Create project using slim skeleton

composer create-project slim/slim-skeleton [my-app-name]
composer create-project slim/slim-skeleton slim-card

declare vs use vs require

declare 是一个用于设置脚本执行指令的结构,主要用于控制 PHP 的运行时行为。

语法:

declare (directive = value) {
    // Code block
}
Apple

Apple

Graduated in Computer Science and Engineering, but currently working with GNU/Linux infrastructure and in the spare time I'm an Open Source programmer (Python and C), a drawer and author in the YINGJUE Blog.


Comments