How to get only matching values from an array in php. Example:
<?php
$a=array("1"=>"Hello","2"=>"World","3"=>"Check","4"=>"Here");
?>
from $a, if i have text like "He" or "ld" or "che" , How to show based on text get matching values and keys an array. Same like sql like query.