Skip to content

Commit

Permalink
test: update 010-stack_resource.phpt
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Feb 23, 2023
1 parent 2cbbfe3 commit f179a9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/010-stack_resource.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ function get_stack_resource($file, $extra = null): void

preg_match('/resource\(\d+\) of type \(([^)]+)\)/', $value, $matches);
var_dump('persistent stream' === $matches[1]);
if (\IS_PHP83) {
var_dump($zval());
var_dump(ffi_str_typeof($zval));
var_dump(print_r(\FFI::typeof($ptr), true));
}

var_dump(is_typeof(ffi_object($zval), 'struct _zval_struct*'));
}

Expand Down

0 comments on commit f179a9d

Please sign in to comment.