Error "Function ereg() is deprecated" en Drupal 6.x con PHP 5.3
En mis primeros intentos de instalar Drupal me he encontrado con varias dificultades por mi desconocimiento al hecho de que Drupal 6.x usa el comando ereg(), el cual está "desfasado" en la versión 5.3 de PHP.
Pero he encontrado un foro donde dan solución temporal al problema hasta que la nueva versión de Drupal la 7.0 solucione el problema de compatibilidad con PHP 5.3.
Les dejo el enlace :http://www.undomain.es/node/297
Read moreusing ereg* functions
I just noticed 35 occurences of ereg* functions in Drupal code (most of them in modules, 4.6.6).
This short story is just a memo to advise all developers NOT to use ereg* functions and use preg_match instead, which is significantly faster. I would also like to do same stats in Drupal 4.7 and collect some volunteers to provide patches replacing ereg with preg_match.
bash-3.00$ grep -Ri "ereg" * | wc -l
35
bash-3.00$
Any volunteers?
Read more