8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0d9ffe commit a154a36Copy full SHA for a154a36
src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php
@@ -213,7 +213,7 @@ public function testCastNonTrailingCharPointer()
213
\FFI::memcpy($pointer, $actualMessage, $actualLength);
214
215
// Remove automatically addition of the trailing "\0" and remove trailing "\0"
216
- $pointer = \FFI::cdef()->cast('char*', \FFI::cast('void*', $pointer));
+ $pointer = \FFI::cdef()->cast('char*', \FFI::cdef()->cast('void*', $pointer));
217
$pointer[$actualLength] = "\x01";
218
219
$this->assertDumpMatchesFormat(<<<PHP
0 commit comments