首页 存档 技术 查看内容

第12期-使用Zephir语言给PHP编写一个C语言扩展

2018-3-30 13:00 |来自: 互联网 338 0

摘要: Zephir语言的官方地址:https://zephir-lang.com/ 关于Zephir Zephir, an open source, high-level language designed to ease the creation and maintainability of extensions for PHP with a focus on type an ...

Zephir语言的官方地址:https://zephir-lang.com/


关于Zephir


Zephir, an open source, high-level language designed to ease the creation and maintainability of extensions for PHP with a focus on type and memory safety.

Zephir is a language that addresses the major needs of a PHP developer trying to write and compile code that can be executed by PHP. It is a dynamically/statically typed, some of its features can be familiar to PHP developers.

Zephir是一个开源的高级语言(区别于汇编等机器语言),它的设计是为了减轻PHP原生扩展的创建难度和可维护性,另外还带来了强类型与内存安全的支持。

Zephir是一门定位于大多数想通过编写和编译能够被PHP执行的代码的PHPer需求的语言。它是一种动态和静态类型结合的语言,对于PHP来说,它的一些功能可能会感觉时曾相识。


安装Zephir


为了构建一个PHP扩展和使用Zephir,必须先满足如下条件:

  • gcc

声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

相关分类

返回顶部