今天在写引用时突然出现了Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of getimagesize(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer错误,后来才知道原因是此方法已不被赞成并在 PHP/Zend 未来的版本中很可能不再支持了
解决办法
第一种方法、 把php.ini的display_errors = on改成display_errors = off (不显示错误)
第二种方法、allow_call_time_pass_reference = Off 变成 allow_call_time_pass_reference = On
问题圆满解决~~