David 1193cc0537
Replace struct derive macro with attribute macro (#54)
* Replace `ZendObjectOverride` derive macro with `#[php_class]`

* Updated guide with `#[php_class]` macro

* Panic rather than return error when implementing interface

It's gonna panic either way so might as well make it easier for the
builder

* Remove `libc` dependency
2021-08-26 01:04:33 +12:00

7 lines
113 B
PHP

<?php
include __DIR__.'/vendor/autoload.php';
var_dump(test_str("Hello wordl"));
# var_dump(test_exception());