json_decode( string $string, bool $assoc_array = false )


Parameters Parameters

$string

(string) (Required)

$assoc_array

(bool) (Optional)

Default value: false


Top ↑

Return Return

(object|array)


Top ↑

Source Source

File: wp-includes/compat.php

	 *
	 * @since 3.9.2
	 *
	 * @param string $a Expected string.
	 * @param string $b Actual, user supplied, string.
	 * @return bool Whether strings are equal.
	 */
	function hash_equals( $a, $b ) {
		$a_length = strlen( $a );
		if ( strlen( $b ) !== $a_length ) {
			return false;
		}
		$result = 0;


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.