Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Test vprintf() function : basic functionality - string format --FILE-- <?php echo..
Decoded Output download
*** Testing vprintf() : basic functionality - using string format ***
Did this file decode correctly?
Original Code
--TEST--
Test vprintf() function : basic functionality - string format
--FILE--
<?php
echo "*** Testing vprintf() : basic functionality - using string format ***\n";
// Initialise all required variables
$format = "format";
$format1 = "%s";
$format2 = "%s %s";
$format3 = "%s %s %s";
$arg1 = array("one");
$arg2 = array("one","two");
$arg3 = array("one","two","three");
$result = vprintf($format1,$arg1);
echo "\n";
var_dump($result);
$result = vprintf($format2,$arg2);
echo "\n";
var_dump($result);
$result = vprintf($format3,$arg3);
echo "\n";
var_dump($result);
?>
--EXPECT--
*** Testing vprintf() : basic functionality - using string format ***
one
int(3)
one two
int(7)
one two three
int(13)
Function Calls
vprintf | 1 |
Stats
MD5 | e2fdd109c616a8f90c3e786ec93718d8 |
Eval Count | 0 |
Decode Time | 92 ms |