Home
last modified time | relevance | path

Searched refs:max_memory (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/standard/
H A Dphp_fopen_wrapper.c183 zend_long max_memory; in php_stream_url_wrap_php() local
195 max_memory = PHP_STREAM_MAX_MEM; in php_stream_url_wrap_php()
198 max_memory = ZEND_STRTOL(path, NULL, 10); in php_stream_url_wrap_php()
199 if (max_memory < 0) { in php_stream_url_wrap_php()
205 return php_stream_temp_create(mode_rw, max_memory); in php_stream_url_wrap_php()
/php-src/ext/spl/
H A Dspl_directory.c2076 zend_long max_memory = PHP_STREAM_MAX_MEM; in PHP_METHOD() local
2080 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &max_memory) == FAILURE) { in PHP_METHOD()
2090 if (max_memory < 0) { in PHP_METHOD()
2093 file_name = zend_strpprintf(0, "php://temp/maxmemory:" ZEND_LONG_FMT, max_memory); in PHP_METHOD()

Completed in 12 milliseconds