mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-26 18:35:42 +00:00
bigger memory_limit should work now on 64 bit windows
This commit is contained in:
1 parent
4a5fee1b36
commit
f0fdb82f83
3 files changed
+5
-5
No files matched your search
@@ -107,14 +107,14 @@ ZEND_API int zend_atoi(const char *str, zend_str_size_int str_len) /* {{{ */
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
ZEND_API long zend_atol(const char *str, zend_str_size_int str_len) /* {{{ */
|
||||
ZEND_API zend_int_t zend_atol(const char *str, zend_str_size_int str_len) /* {{{ */
|
||||
{
|
||||
long retval;
|
||||
zend_int_t retval;
|
||||
|
||||
if (!str_len) {
|
||||
str_len = strlen(str);
|
||||
}
|
||||
retval = strtol(str, NULL, 0);
|
||||
retval = ZEND_STRTOL(str, NULL, 0);
|
||||
if (str_len>0) {
|
||||
switch (str[str_len-1]) {
|
||||
case 'g':
|
||||
|
||||
@@ -377,7 +377,7 @@ ZEND_API void zend_compare_arrays(zval *result, zval *a1, zval *a2 TSRMLS_DC);
|
||||
ZEND_API void zend_compare_objects(zval *result, zval *o1, zval *o2 TSRMLS_DC);
|
||||
|
||||
ZEND_API int zend_atoi(const char *str, zend_str_size_int str_len);
|
||||
ZEND_API long zend_atol(const char *str, zend_str_size_int str_len);
|
||||
ZEND_API zend_int_t zend_atol(const char *str, zend_str_size_int str_len);
|
||||
|
||||
ZEND_API void zend_locale_sprintf_double(zval *op ZEND_FILE_LINE_DC);
|
||||
END_EXTERN_C()
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ struct _php_core_globals {
|
||||
char *unserialize_callback_func;
|
||||
long serialize_precision;
|
||||
|
||||
long memory_limit;
|
||||
zend_int_t memory_limit;
|
||||
long max_input_time;
|
||||
|
||||
zend_bool track_errors;
|
||||
|
||||
Reference in new issue
Block a user