For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > August 2005 > assign & assign_by_ref









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author assign & assign_by_ref
Pedro

2005-08-09, 9:04 am

I've developed/inherited a few apps where assign_by_ref() is used
and am also using php5 which throws the error

Fatal error: Only variables can be passed by reference in
e:\max\cca\appo\admin.menu.inc.php on line 49

Is there a way to make Smarty correct this by detecting php5 ???

Pete
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com