TEST: Integer Tests
Array
(
[$value = "d0000000";] => (string) d0000000
[$value = hexdec( $value );] => (double) 3489660928
[$value = abs( $value );] => (double) 3489660928
[$min = 0;] => (integer) 0
[$max = 61;] => (integer) 61
[4294967295 + 1] => (double) 4294967296
[$value / (4294967295 + 1)] => (double) 0.8125
[$max - $min + 1] => (integer) 62
[($max - $min + 1) * ($value / (4294967295 + 1))] => (double) 50.375
[$out = $min + (($max - $min + 1) * ($value / (4294967295 + 1)));] => (double) 50.375
[$out = intval( $out );] => (integer) 50
[$out = abs( $out );] => (integer) 50
)
TEST: wp_generate_password()
Array
(
[0] => 1 -> 1:7
[1] => 5 -> 5:O28eC
[2] => 10 -> 10:V0KLuBhXkf
[3] => 16 -> 16:jPRPYRsuKxVIvuxs
[4] => 32 -> 32:5ElgzGqPxhT02QxzDr98Zr4JotgKtvfB
[5] => 32 -> 32:xqt1khs3cnsd9wQ5UDNdtamoYGSE2n0O
[random_password] => abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
[steps] => Array
(
[0] => 27 -> B
[1] => 16 -> q
[2] => 17 -> r
[3] => 53 -> 1
[4] => 43 -> R
[5] => 38 -> M
[6] => 8 -> i
[7] => 60 -> 8
[8] => 52 -> 0
[9] => 23 -> x
[10] => 45 -> T
[11] => 42 -> Q
[12] => 18 -> s
[13] => 9 -> j
[14] => 61 -> 9
[15] => 53 -> 1
[16] => 10 -> k
[17] => 49 -> X
[18] => 13 -> n
[19] => 46 -> U
[20] => 14 -> o
[21] => 46 -> U
[22] => 43 -> R
[23] => 45 -> T
[24] => 6 -> g
[25] => 9 -> j
[26] => 3 -> d
[27] => 52 -> 0
[28] => 39 -> N
[29] => 30 -> E
[30] => 14 -> o
[31] => 19 -> t
)
[ReflectionFunction] =>
/**
* Generates a random password drawn from the defined set of characters.
*
* @since 2.5
*
* @param int $length The length of password to generate
* @param bool $special_chars Whether to include standard special characters. Default true.
* @param bool $extra_special_chars Whether to include other special characters. Used when
* generating secret keys and salts. Default false.
* @return string The random password
**/
Function [ <user> function wp_generate_password ] {
@@ /hermes/waloraweb032/b1422/moo.letterslounge/alyg/wp-includes/pluggable.php 1485 - 1499
- Parameters [3] {
Parameter #0 [ <optional> $length = 12 ]
Parameter #1 [ <optional> $special_chars = true ]
Parameter #2 [ <optional> $extra_special_chars = false ]
}
}
)
TEST: wp_rand()
Array
(
[0] => '8d21e2390cdab6ddf679c515a5e0f9bbea9b571617256f75ef7ec8f335443c29baa9cd9f397f3a4ac444291b38e6e733'
[1] => 34:337e6e83b192444ca4a3f793f9dc9aab92c344533f8ce7fe57f652716175b9aebb9f0e5a515c976fdd6badc0
[2] => 3:337e6e83b192444ca4a3f793f9dc9aab92c344533f8ce7fe57f652716175b9aebb9f0e5a515c976f
[3] => 59:337e6e83b192444ca4a3f793f9dc9aab92c344533f8ce7fe57f652716175b9aebb9f0e5a
[4] => 40:337e6e83b192444ca4a3f793f9dc9aab92c344533f8ce7fe57f652716175b9ae
[5] => 56:337e6e83b192444ca4a3f793f9dc9aab92c344533f8ce7fe57f65271
[6] => 5:337e6e83b192444ca4a3f793f9dc9aab92c344533f8ce7fe
[7] => 58:337e6e83b192444ca4a3f793f9dc9aab92c34453
[8] => 12:337e6e83b192444ca4a3f793f9dc9aab
[9] => 45:337e6e83b192444ca4a3f793
[10] => 13:337e6e83b192444c
[11] => 47:337e6e83
[12] => 13:
[13] => 12:0aeb8fde723ff7665912605ebfe17d85b9218dfbe050cdd2d606c931496d326de61ddd4834e4534d1ee44786fbef2e0ec621c626
[14] => 23:0aeb8fde723ff7665912605ebfe17d85b9218dfbe050cdd2d606c931496d326de61ddd4834e4534d1ee44786fbef2e0e
[15] => 54:0aeb8fde723ff7665912605ebfe17d85b9218dfbe050cdd2d606c931496d326de61ddd4834e4534d1ee44786
[16] => 25:0aeb8fde723ff7665912605ebfe17d85b9218dfbe050cdd2d606c931496d326de61ddd4834e4534d
[17] => 51:0aeb8fde723ff7665912605ebfe17d85b9218dfbe050cdd2d606c931496d326de61ddd48
[18] => 32:0aeb8fde723ff7665912605ebfe17d85b9218dfbe050cdd2d606c931496d326d
[19] => 51:0aeb8fde723ff7665912605ebfe17d85b9218dfbe050cdd2d606c931
[20] => 4:0aeb8fde723ff7665912605ebfe17d85b9218dfbe050cdd2
[MIN] => 3
[MAX] => 59
[ReflectionFunction] =>
/**
* Generates a random number
*
* @since 2.6.2
*
* @param int $min Lower limit for the generated number
* @param int $max Upper limit for the generated number
* @return int A random number between min and max
*/
Function [ <user> function wp_rand ] {
@@ /hermes/waloraweb032/b1422/moo.letterslounge/alyg/wp-includes/pluggable.php 1512 - 1546
- Parameters [2] {
Parameter #0 [ <optional> $min = 0 ]
Parameter #1 [ <optional> $max = 0 ]
}
}
)
TEST: HTTP Connection
WP_Error Object
(
[errors] => Array
(
[http_request_failed] => Array
(
[0] => Operation timed out after 5001 milliseconds with 0 bytes received
)
)
[error_data] => Array
(
)
)
TEST: HTTPS Connection
WP_Error Object
(
[errors] => Array
(
[http_request_failed] => Array
(
[0] => couldn't connect to host
)
)
[error_data] => Array
(
)
)
TEST: Self Connection
Array
(
[headers] => Array
(
[date] => Thu, 24 Jan 2013 04:05:49 GMT
[content-type] => text/plain
[content-length] => 42
[connection] => close
[server] => Nginx / Varnish
[x-powered-by] => PHP/5.2.17
[set-cookie] => PHPSESSID=5b38a5c2446599c7963102232226d02d; path=/
[expires] => Thu, 19 Nov 1981 08:52:00 GMT
[cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
[pragma] => no-cache
)
[body] => XML-RPC server accepts POST requests only.
[response] => Array
(
[code] => 200
[message] => OK
)
[cookies] => Array
(
[0] => WP_Http_Cookie Object
(
[name] => PHPSESSID
[value] => 5b38a5c2446599c7963102232226d02d
[expires] =>
[path] => /
[domain] =>
)
)
[filename] =>
)