Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /** * Pick one or more random entries out of an array * * @phpstub * * @param ..

Decoded Output download

<?php

/**
 * Pick one or more random entries out of an array
 *
 * @phpstub
 *
 * @param array $input
 * @param int $num_req
 *
 * @return mixed If you are picking only one entry,
 *               returns the key for a random entry. Otherwise, it returns an array
 *               of keys for the random entries. This is done so that you can pick
 *               random keys as well as values out of the array.
 */
function array_rand($input, $num_req = 1)
{
} ?>

Did this file decode correctly?

Original Code

<?php

/**
 * Pick one or more random entries out of an array
 *
 * @phpstub
 *
 * @param array $input
 * @param int $num_req
 *
 * @return mixed If you are picking only one entry,
 *               returns the key for a random entry. Otherwise, it returns an array
 *               of keys for the random entries. This is done so that you can pick
 *               random keys as well as values out of the array.
 */
function array_rand($input, $num_req = 1)
{
}

Function Calls

None

Variables

None

Stats

MD5 ed1d3f96666d8ec3c554a7793750a82e
Eval Count 0
Decode Time 105 ms