Skip to main content

get

Function get 

Source
pub fn get<'a>(
    items: &'a [(PhpKey, PhpValue)],
    name: &str,
) -> Option<&'a PhpValue>
Expand description

$array['name'] for a string key.

name must not be integer-like ("5"): PHP stores such a key as an int, and this matches string keys only.