Core Function BinaryWipe
From Sputnik Wiki
(Difference between revisions)
(→Description) |
(→Remarks) |
||
Line 21: | Line 21: | ||
=== Remarks === | === Remarks === | ||
− | This will only | + | This will wipe not only this variable but all variables that are using to this binary variable as a ref etc. |
− | + | ||
− | + | ||
=== Example === | === Example === |
Revision as of 16:08, 29 August 2013
BinaryWipe( <binary-array> )
Contents |
Description
Wipes a binary variables data 100% and sets the variable to a blank int containing null.
Parameters
binary-array
The binary variable to wipe.
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
This will wipe not only this variable but all variables that are using to this binary variable as a ref etc.
Example
$binary = Pack("z0", "Hello World!\n" x 1000); println( "Before Wipe: " . Unpack("z0", $binary) ); BinaryWipe($binary); println( "After Wipe: " . $binary );
This is just as effective.
$binary = Pack("z0", "Hello World!\n" x 1000); println( "Before Wipe: " . Unpack("z0", $binary) ); $binary = 0; println( "After Wipe: " . $binary );
Also, this is just as effective.
$binary = Pack("z0", "Hello World!\n" x 1000); println( "Before Wipe: " . Unpack("z0", $binary) ); unset($binary); println( "After Wipe: " . $binary );