Attempted to call function "split" from namespace "Controller"
<p>I want to call php method <code>split</code> in my controller </p>

<pre><code>var_dump(split(' ',getimagesize($file)[3])); 
</code></pre>

<p>but it gives this problem</p>

<p><a href="https://i.stack.imgur.com/G9kB5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G9kB5.jpg" alt="enter image description here"></a></p>

<p>My controller's namespace is "Controller", i don't know why it tries to call "split" from it.
pleaze help, and thanks!</p>