From 36bcfe977335308e4d15308b9ff0852b0478a555 Mon Sep 17 00:00:00 2001 From: Lawrence Stubbs Date: Wed, 22 Feb 2023 21:37:13 -0500 Subject: [PATCH] test: update 010-stack_resource.phpt --- tests/010-stack_resource.phpt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/010-stack_resource.phpt b/tests/010-stack_resource.phpt index 45ff8fb..fbe05c3 100644 --- a/tests/010-stack_resource.phpt +++ b/tests/010-stack_resource.phpt @@ -41,9 +41,8 @@ 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(ffi_str_typeof($zval())); + var_dump(print_r(\FFI::typeof($zval()), true)); } var_dump(is_typeof(ffi_object($zval), 'struct _zval_struct*'));