mirror of
https://github.com/php/php-src.git
synced 2026-04-26 01:18:19 +02:00
Fix ZTS build.
This commit is contained in:
+1
-1
@@ -1020,7 +1020,7 @@ PHP_METHOD(SoapServer, setClass)
|
||||
|
||||
if (Z_TYPE_PP(argv[0]) == IS_STRING) {
|
||||
#ifdef ZEND_ENGINE_2
|
||||
found = zend_lookup_class(Z_STRVAL_PP(argv[0]), Z_STRLEN_PP(argv[0]), &ce);
|
||||
found = zend_lookup_class(Z_STRVAL_PP(argv[0]), Z_STRLEN_PP(argv[0]), &ce TSRMLS_CC);
|
||||
#else
|
||||
char *class_name = estrdup(Z_STRVAL_PP(argv[0]));
|
||||
found = zend_hash_find(EG(class_table), php_strtolower(class_name, Z_STRLEN_PP(argv[0])), Z_STRLEN_PP(argv[0]) + 1, (void **)&ce);
|
||||
|
||||
Reference in New Issue
Block a user