HEX
Server: Apache
System: Linux webm006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/incastiglionfiorentino/wp-content/plugins/nextgen-gallery/src/Functions/compat.php
<?php
/**
 * Compat Function
 *
 * @since 3.5.1
 *
 * @package NextGEN Gallery
 */

if ( ! function_exists( 'str_contains' ) ) {
	/**
	 * Polyfill for str_contains
	 *
	 * @since 3.5.1
	 *
	 * @param array  $haystack Array to search.
	 * @param string $needle What to find.
	 *
	 * @return bool
	 */
	function str_contains( $haystack, $needle ) {
		return '' !== $needle && false !== mb_strpos( $haystack, $needle );
	}
}