Welcome Guest, Not a member yet? Register   Sign In
Suggestion: Class to handle Strings
#6

(This post was last modified: 09-10-2015, 03:40 PM by ivantcholakov. Edit Reason: a typo )

@sv3tli0

It could be done with autodetection, the class could check for mb_string (faster, but less supported encoding), iconv (slower, more supported encodings), intl (I think, it has multibyte routines too, but they are likely not well documented). If none exists, then fallback PHP implementation (by method) could be done. For every method the best possible way can be picked up automatically.
Reply


Messages In This Thread
Suggestion: Class to handle Strings - by sv3tli0 - 09-09-2015, 12:03 AM
RE: Suggestion: Class to handle Strings - by Narf - 09-09-2015, 12:59 AM
RE: Suggestion: Class to handle Strings - by ivantcholakov - 09-10-2015, 03:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB