Req #62011 [NEW]: SPL_Types SplString() support for strpos, replace , string functions in general

From: Date: Sat, 12 May 2012 13:46:02 +0000
Subject: Req #62011 [NEW]: SPL_Types SplString() support for strpos, replace , string functions in general
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-9385@lists.php.net to get a copy of this message
From: Operating system: PHP version: 5.4.3 Package: PECL Bug Type: Feature/Change Request Bug description:SPL_Types SplString() support for strpos, replace , string functions in general Description: ------------ My feature request is to have support for string functions inside a php SplString so it's normalized under this object and that it can be made easy to manipulate strings. A few examples in PHP $b = new SplString("A String"); $a = $b->replace("A", "The"); // $a == "The String" , $b == "A String" $a->replace("The", "Thy"); print $a // $a == "Thy String"); print $a->substr(0, 3); // "Thy " print $a->indexOf("T"); // 0 -- Edit bug report at https://bugs.php.net/bug.php?id=62011&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62011&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62011&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62011&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62011&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62011&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62011&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62011&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62011&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62011&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62011&r=support Expected behavior: https://bugs.php.net/fix.php?id=62011&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62011&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62011&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62011&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62011&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62011&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62011&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62011&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62011&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62011&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62011&r=mysqlcfg

« previous php.pecl.dev (#9385) next »