1. 首页
  2. 主题
  3. Go语言

用Go语言实现PHP内置函数

openset · · 2490 次点击
## [用Go语言实现PHP内置函数](https://openset.github.io/php2go/) 这是一个用Go语言开发的辅助库,尤其适用于熟悉PHP内置函数的开发者,将会实现PHP内置函数。 ### 下载安装 ```bash go get github.com/openset/php2go/php ``` ### 关于命名 PHP下划线命名改为大驼峰命名。 ### Example: ```go package main import ( "github.com/openset/php2go/php" ) func main() { php.Echo("Hello ", "world!\n") } ``` [More](https://github.com/openset/php2go/blob/master/main.go) ### 贡献代码 这是一个开源项目,期待你的加入。 ## Contributors [Your contributions are always welcome!](https://github.com/openset/php2go/graphs/contributors) ## LICENSE Released under [MIT](https://github.com/openset/php2go/blob/master/LICENSE) LICENSE ** [项目地址: \[https://github.com/openset/php2go\]](https://github.com/openset/php2go)** **[\[阅读原文\]](https://openset.github.io/php2go/)**
openset
Less is more!
<a href="/user/polaris" title="@polaris">@polaris</a> Test是有必要的,Benchmark后期在做。
#2
更多评论
polaris
社区,需要你我一同完善!
赞。建议加上 benchmark
#1
看你的思路是,一个函数一个文件 这个设计方式会存在问题吧,php那么多函数,都放到一个文件夹下面,时间长了,得成百上千的函数文件维护起来太费劲
#3

用户登录

没有账号?注册

今日阅读排行

    加载中

一周阅读排行

    加载中