[support] Substr or Drupal_substr?

George Dawson george.dawson at earthlink.net
Tue May 8 14:33:19 UTC 2012


Why does Drupal have it's own substr function? I have noticed on my system, Drupal is too slow, and this would only add to the overhead of processing a very simple command. Is Drupal becoming a language in it's own right? 

-----Original Message-----
>From: Earnie Boyd <earnie at users.sourceforge.net>
>Sent: May 8, 2012 8:25 AM
>To: support at drupal.org, "Ms. Nancy Wichmann" <nan_wich at bellsouth.net>
>Subject: Re: [support] Substr or Drupal_substr?
>
>On Mon, May 7, 2012 at 9:11 PM, Ms. Nancy Wichmann
><nan_wich at bellsouth.net> wrote:
>> Coder keeps flagging this, so I thought I'd ask about it. Following a
>> parse_url() of a URL input from a form, is the use of drupal_substr() really
>> necessary, or is a basic substr() adequate?
>
>What is the coder message?  I see nothing about drupal_substr in the
>http://drupal.org/update/modules/6/7 page.  Coder is very imperfect so
>maybe it is a bug.  I opened several issues last month.
>
>-- 
>Earnie
>-- https://sites.google.com/site/earnieboyd
>-- 
>[ Drupal support list | http://lists.drupal.org/ ]



More information about the support mailing list