php - Strict Standards: Only variables should be passed by reference (qdig gallery) -


the code qdig gallery is:

$excl_imgs[] = end($logo_arrray = explode('/', $header['css_logo_url'])); $excl_imgs[] = end($bg_img_array = explode('/', $header['css_bg_img_url'])); 

which gives above error (strict standards).

how fix this?

do instead , error should go away:

$logo_arrray = explode('/', $header['css_logo_url']); $bg_img_array = explode('/', $header['css_bg_img_url']);  $excl_imgs[] = end($logo_arrray); $excl_imgs[] = end($bg_img_array); 

you should try , fix strict standards warning , not hide them.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -