Zephir At First Glance
Installation
There is a Docker image for Zephir.
Use PHP Function
You can use php function in zephir. For example
When you build, zephir shows you this:
Warning: Function “fib” does not exist at compile time in /tmp/test/test/Hello.zep on 7 [nonexistent-function]
When you execute the php file, you see this:
1 1 2 3 5 8
This shows you that you can use php function in zephir.
Use Extension Function
You can use function from other PHP extension. For example: