mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-12-13 09:37:40 +01:00
16 lines
274 B
PHP
16 lines
274 B
PHP
<?php
|
|
|
|
var_dump(SKEL_TEST_CONST, SKEL_TEST_LONG_CONST);
|
|
die;
|
|
|
|
$x = new TestClass();
|
|
|
|
skeleton_version(1, 2);
|
|
|
|
var_dump($x->call(function ($v1, $v2) {
|
|
// var_dump($v1, $v2);
|
|
// echo "Hello, world! I'm a callable.".PHP_EOL;
|
|
// return "Ok rust";
|
|
return 0;
|
|
}));
|