Jump to content

Strict Standards Error


Pudgemeister

Recommended Posts

Hi all,

I've got an error I have yet to come across.
 

"Strict Standards: Only variables should be passed in reference in my/file/name/here.php on line 69"

 

It was quite a long line of code so by separating it out I have found the problem to lie here:

$var = end(explode(".", $_FILES["file"]["name"]));

It's not code breaking at all-but I am one for trying to be strict with my standards and making sure I get no notices or warnings let alone errors. Just interested in what I am not understanding.

Thanks =)

Link to comment
https://forums.phpfreaks.com/topic/278477-strict-standards-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.