mirror of
https://github.com/danog/ext-php-rs.git
synced 2025-01-22 21:11:45 +01:00
1193cc0537
* 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
7 lines
113 B
PHP
7 lines
113 B
PHP
<?php
|
|
|
|
include __DIR__.'/vendor/autoload.php';
|
|
|
|
var_dump(test_str("Hello wordl"));
|
|
# var_dump(test_exception());
|