You can also pass a reference to the function. Example: [php] $file_name = "image01.jpg"; echo end(explode(‘.’, $file_name)); [/php] This renders the above notice. Asking for help, clarification, or responding to other answers. This array is passed by reference because it is modified by the function. ERROR : Fatal error: Only variables can be passed by reference in D:\www\authenticate.php on line 143 in this line socket_select($sett,null,null,5); please help 最近做项目,发现了一个报错 Only variables can be passed by reference, 意思是“只有变量能通过‘引用’”. 这个问题多半是因为引用传递 …