PHP Remove empty space

Remove empty space

<?
$show=preg_replace('/\s+/','',$show);
?>