# media-cloud-sync/trunk/includes/sdk/s3/JmesPath/JmesPath.php

Media Cloud Sync, version trunk. 19 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/trunk/code/includes/sdk/s3/JmesPath/JmesPath.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/trunk/raw/includes/sdk/s3/JmesPath/JmesPath.php
- Modified: 2024-10-27T10:40:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/trunk/code/includes/sdk/s3/JmesPath/JmesPath.php#L10-L20`.

```php
<?php

namespace Dudlewebs\WPMCS\s3\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);
    }
}

```
