fuc-new/vendor/mtdowling/jmespath.php/src/JmesPath.php
hellcat 1fe8673f62 1
2025-10-01 13:34:29 +08:00

18 lines
373 B
PHP
Executable File

<?php
namespace JmesPath;
/**
* Returns data from the input array that matches a JMESPath expression.
*
* @param string $expression Expression to search.
* @param mixed $data Data to search.
*
* @return mixed
*/
if (!function_exists(__NAMESPACE__ . '\search')) {
function search($expression, $data)
{
return Env::search($expression, $data);
}
}