I was new to CiviCRM, I have the following where %search is a variable in the php, it didn't return anything, is it true that cannot passed parameter in this way? Thanks
$contacts = civicrm_api4('Contact', 'get', [ 'select' => [ 'id', 'display_name', ], 'where' => [ ['OR', [['id', 'CONTAINS', $search], ['display_name', 'CONTAINS', $search]]], ], 'limit' => 25, ]);