Text only
Trim array
/raw/46dbf29d4d32a9b201cb7a7da3c62c57/
46dbf29d4d32a9b201cb7a7da3c62c57
text
Text only
1
2025-04-04T11:37:10
True
False
False
Apr 11, 2017 at 01:50 AM
/api/public/snipt/12/
trim-array
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$array = array_map('trim', $array);
</span></pre></div>
</td></tr></table>