Re: svn: /php/php-src/trunk/ext/standard/ string.c tests/strings/str_replace.phpt tests/strings/stripos.phpt tests/strings/stripos_variation1.phpt
tests/strings/stripos_variation10.phpt tests/strings/stripos_variation11.phpt tests/strings/s
| From: | Hannes Magnusson | Date: | Sat, 15 Aug 2009 12:23:28 +0000 |
| Subject: | Re: svn: /php/php-src/trunk/ext/standard/ string.c tests/strings/str_replace.phpt tests/strings/stripos.phpt tests/strings/stripos_variation1.phpt tests/strings/stripos_variation10.phpt tests/strings/stripos_variation11.phpt tests/strings/s |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-60142@lists.php.net to get a copy of this message | ||
On Sat, Aug 15, 2009 at 07:43, Stanislav Malyshev<stas@php.net> wrote:
> stas Sat, 15 Aug 2009 05:43:18 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=287313
>
> Log:
> cleanup string parameter parsing, fix some tests
>
> Changed paths:
> U php/php-src/trunk/ext/standard/string.c
+static long php_needle_char(zval *needle)
{
[...]
+ default: {
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "needle is not a
string or an integer");
you are missing TSRMLS_DC
-Hannes