summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-27 10:16:41 +0000
committerZeev Suraski <zeev@php.net>2001-07-27 10:16:41 +0000
commitfe6f8712a439c8b5046a03bca9ce5ae8e75aa4f5 (patch)
treec7bc98cac58386828871aae860f90cac0ebdcf8f /ext/standard/string.c
parent2c254ba762d9392a732d5793b5b193ee6e395f1c (diff)
downloadphp-git-fe6f8712a439c8b5046a03bca9ce5ae8e75aa4f5.tar.gz
- Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r--ext/standard/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 04599f0ee7..3f82017d63 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -2994,14 +2994,14 @@ PHP_FUNCTION(parse_str)
old_rg = PG(register_globals);
if(argCount == 1) {
PG(register_globals) = 1;
- php_treat_data(PARSE_STRING, res, NULL ELS_CC PLS_CC SLS_CC);
+ php_treat_data(PARSE_STRING, res, NULL TSRMLS_CC PLS_CC SLS_CC);
} else {
PG(register_globals) = 0;
/* Clear out the array that was passed in. */
zval_dtor(*arrayArg);
array_init(*arrayArg);
- php_treat_data(PARSE_STRING, res, *arrayArg ELS_CC PLS_CC SLS_CC);
+ php_treat_data(PARSE_STRING, res, *arrayArg TSRMLS_CC PLS_CC SLS_CC);
}
PG(register_globals) = old_rg;
}