[support] Substr or Drupal_substr?

Fahri Reza dozymoe at gmail.com
Tue May 8 06:37:11 UTC 2012


On Mon, 2012-05-07 at 18:11 -0700, Ms. Nancy Wichmann 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?
>
> Nancy 

Drupal's PHP wrapper functions
(http://api.drupal.org/api/drupal/includes!
common.inc/group/php_wrappers/7) usually about calling the right PHP
function that support UTF-8.

Eh, more information on that link (about RFC handling of url thing that
I dunno).



More information about the support mailing list