Login   Register  
PHP Classes
elePHPant
Icontem

Error: Strict Standards:

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      String Delimiter  >  All threads  >  Error: Strict Standards:  >  (Un) Subscribe thread alerts  
Subject:Error: Strict Standards:
Summary:Suggest to fix
Messages:1
Author:Fabio Souza
Date:2013-07-27 21:13:27
 

  1. Error: Strict Standards:   Reply  
Picture of Fabio Souza
Fabio Souza
2013-07-27 21:13:27
Hi, i get this error:
Strict Standards: Only variables should be passed by reference in C:\www\sgo\manager\lib\string_delimiter.class.php on line 27

26 $pedacosStringOriginal = explode(" ", $string);
27 $tamUltimaPalavraCortada = strlen(end(explode(" ", $novaString)));

fix after change the code like this:

26 $pedacosStringOriginal = explode(" ", $string);
27 $arr = explode(" ", $novaString);
28 $tamUltimaPalavraCortada = strlen(end($arr));


reference:
http://wdsdeveloper.blogspot.com.br/2011/04/strict-standards ...