zephir 超级强大的PHP扩展生成工具 说明篇

2015-04-19 13:20:00
hainuo
原创 1935
摘要:palcon在最新的2.0版本中使用zephir重写了大部分的方法,这种新颖的方式让我有点痴迷
➜  util  zephir help

 _____              __    _
/__  /  ___  ____  / /_  (_)____
  / /  / _ \/ __ \/ __ \/ / ___/
 / /__/  __/ /_/ / / / / / /
/____/\___/ .___/_/ /_/_/_/
         /_/

Zephir version 0.6.2a

Usage:
command [options]

Available commands:
api                 Generates a HTML API
build               Generate/Compile/Install a Zephir extension
builddev            Generate/Compile/Install a Zephir extension in development mode
clean               Cleans the generated object files in compilation
compile             Compile a Zephir extension
fullclean           Cleans the generated object files in compilation
generate            Generates C code from the Zephir code
help                Displays this help
init [namespace]    Initializes a Zephir extension
install             Installs the extension (requires root password)
stubs               Generates extension PHP stubs
version             Shows the Zephir version

Options:
-f([a-z0-9\-]+)     Enables compiler optimizations
-fno-([a-z0-9\-]+)  Disables compiler optimizations
-w([a-z0-9\-]+)     Turns a warning on
-W([a-z0-9\-]+)     Turns a warning off

➜  util


这是zephir的帮助 

http://zephir-lang.com/index.html

之后会简单的做几个扩展给大家用

发表评论
陆 减 壹 =
评论通过审核后显示。