/php-src/ext/reflection/tests/ |
H A D | ReflectionConstant_dump.phpt | 30 Constant [ <persistent> string ZEND_CONSTANT_A ] { global } 35 Constant [ <persistent, deprecated> int ZEND_TEST_DEPRECATED ] { 42 }
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_pconn_kill.phpt | 2 Killing a persistent connection. 40 …printf("[005] Cannot find thread id of the persistent link, [%d] %s\n", mysqli_errno($link), mysql… 42 // Kill the persistent connection - don't use mysqli_kill, mysqlnd will catch that... 44 …printf("[006] Cannot kill persistent connection, [%d] %s\n", mysqli_errno($link), mysqli_error($li… 58 …printf("[008] Thread of the persistent connection should have been gone, [%d] %s\n", mysqli_errno(… 73 …printf("[012] New persistent connection cannot execute queries, [%d] %s\n", @mysqli_errno($plink),…
|
H A D | mysqli_pconn_max_links.phpt | 85 printf("[002] Cannot get # active persistent links from phpinfo()\n"); 89 printf("[003] Cannot run query on persistent connection of second DB user, [%d] %s\n", 98 // change the password for the second DB user and kill the persistent connection 104 // change the password for the second DB user and kill the persistent connection 110 // persistent connections cannot be closed but only be killed 113 …printf("[007] Cannot KILL persistent connection of second DB user, [%d] %s\n", mysqli_errno($link)… 145 printf("[010] Cannot get # of active persistent links from phpinfo()\n"); 162 printf("[013] Cannot run query on persistent connection of second DB user, [%d] %s\n", 172 printf("[015] Can open more persistent connections than allowed, [%d] %s\n", 183 printf("[016] Cannot get # of active persistent links from phpinfo()\n"); [all …]
|
H A D | bug49442.phpt | 67 …nd makes a connection created through mysql_init()/mysqli_real_connect() always a 'persistent' one. 68 …At this point 'persistent' is not to be confused with what a user calls a 'persistent' - in this c… 69 … 'persistent' means that mysqlnd uses malloc() instead of emalloc(). nothing else. ext/mysqli will 70 …not consider it as a 'persistent' connection in a user sense, ext/mysqli will not apply max_persis…
|
H A D | bug73462.phpt | 13 /* Initial persistent connection */ 28 /* Re-use persistent connection */
|
H A D | mysqli_pconn_reuse.phpt | 2 mysqli_pconnect() - reusing/caching persistent connections - TODO 25 …printf("[002] Cannot set user variable to check if we got the same persistent connection, [%d] %s\… 50 …printf("[006] Cannot set user variable to check if we got the same persistent connection, [%d] %s\… 62 /* reuse of existing persistent connection expected! */
|
H A D | mysqli_pconn_limits.phpt | 39 …printf("[004] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p… 52 …printf("[006] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p… 66 …printf("[008] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
|
/php-src/Zend/ |
H A D | zend_ptr_stack.h | 27 bool persistent; member 35 ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, bool persistent); 51 … = (void **) safe_perealloc(stack->elements, sizeof(void *), (stack->max), 0, stack->persistent); \ in END_EXTERN_C()
|
H A D | zend_multibyte.c | 51 …size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool persistent) in dummy_encoding_list_parser() argument 53 *return_list = pemalloc(0, persistent); in dummy_encoding_list_parser() 158 …size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool persistent) in zend_multibyte_parse_encoding_list() argument 160 …tions.encoding_list_parser(encoding_list, encoding_list_len, return_list, return_size, persistent); in zend_multibyte_parse_encoding_list()
|
H A D | zend_llist.h | 41 unsigned char persistent; member 48 …void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent);
|
H A D | zend_multibyte.h | 32 …ize_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool persistent); 69 …ize_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool persistent);
|
/php-src/ext/dba/libinifile/ |
H A D | inifile.h | 61 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent); 62 void inifile_free(inifile *dba, int persistent);
|
/php-src/docs/source/core/data-structures/ |
H A D | zend_string.rst | 43 zend_string *string = ZSTR_INIT_LITERAL("Hello world!", /* persistent */ false); 50 ``zend_string_init(char *string, size_t length, bool persistent)`` that provides the length of the 51 string at compile time. The ``persistent`` parameter indicates whether the string is allocated using 52 ``malloc`` (``persistent == true``) or ``emalloc``, `PHPs custom allocator <todo>`__ (``persistent 70 - - Function/Macro [#persistent]_ 83 - Creates a non-persistent string by concatenating two character buffers. 100 .. [#persistent] 102 ``s`` = ``zend_string``, ``l`` = ``length``, ``p`` = ``persistent``. 178 ZSTR_INIT_LITERAL("MyClass", /* persistent */ false)); 182 ZSTR_INIT_LITERAL("MyClass", /* persistent */ false));
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 157 info->persistent = persistent; in mysqlnd_error_info_init() 222 bool pers = conn->persistent; in MYSQLND_METHOD() 266 bool pers = conn->persistent; in MYSQLND_METHOD() 343 mysqlnd_stats_end(conn->stats, conn->persistent); in MYSQLND_METHOD_PRIVATE() 346 mnd_pefree(conn, conn->persistent); in MYSQLND_METHOD_PRIVATE() 719 if (conn->persistent) { 1064 if (conn->persistent) { 1556 …nn->options->connect_attr, 0, NULL, conn->persistent ? ZVAL_INTERNAL_PTR_DTOR : ZVAL_PTR_DTOR, con… 1563 if (conn->persistent) { 2040 mnd_pefree(conn, conn->persistent); [all …]
|
H A D | mysqlnd_protocol_frame_codec.h | 21 PHPAPI MYSQLND_PFC * mysqlnd_pfc_init(const bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqlnd_obj…
|
H A D | mysqlnd_vio.h | 21 PHPAPI MYSQLND_VIO * mysqlnd_vio_init(bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_fa…
|
H A D | mysqlnd_protocol_frame_codec.c | 391 const bool pers = pfc->persistent; in MYSQLND_METHOD() 406 pfc->cmd_buffer.buffer = mnd_pemalloc(pfc->cmd_buffer.length, pfc->persistent); in MYSQLND_METHOD() 408 …cmd_buffer.buffer = mnd_perealloc(pfc->cmd_buffer.buffer, pfc->cmd_buffer.length, pfc->persistent); in MYSQLND_METHOD() 432 mnd_pefree(pfc->data->sha256_server_public_key, pfc->persistent); in MYSQLND_METHOD() 466 mnd_pefree(pfc->cmd_buffer.buffer, pfc->persistent); in MYSQLND_METHOD() 470 mnd_pefree(pfc, pfc->persistent); in MYSQLND_METHOD() 502 mysqlnd_pfc_init(const bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_factory) *object_… in mysqlnd_pfc_init() argument 507 pfc = factory->get_protocol_frame_codec(persistent, stats, error_info); in mysqlnd_pfc_init()
|
H A D | mysqlnd_statistics.h | 95 …id mysqlnd_stats_init(MYSQLND_STATS ** stats, const size_t statistic_count, const bool persistent); 96 PHPAPI void mysqlnd_stats_end(MYSQLND_STATS * stats, const bool persistent);
|
/php-src/ext/dba/ |
H A D | dba.c | 460 if (ZSTR_IS_INTERNED(s) && !persistent) { in php_dba_zend_string_dup_safe() 463 zend_string *duplicated_str = zend_string_init(ZSTR_VAL(s), ZSTR_LEN(s), persistent); in php_dba_zend_string_dup_safe() 464 if (persistent) { in php_dba_zend_string_dup_safe() 475 static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, bool persistent) in php_dba_open() argument 484 int persistent_flag = persistent ? STREAM_OPEN_PERSISTENT : 0; in php_dba_open() 528 if (persistent) { in php_dba_open() 739 info = pemalloc(sizeof(dba_info), persistent); in php_dba_open() 741 info->path = php_dba_zend_string_dup_safe(path, persistent); in php_dba_open() 794 info->path = php_dba_zend_string_dup_safe(opened_path, persistent); in php_dba_open() 880 if (persistent) { in php_dba_open() [all …]
|
/php-src/ext/standard/ |
H A D | fsock.c | 28 static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent) in php_fsockopen_stream() argument 64 if (persistent) { in php_fsockopen_stream()
|
/php-src/ext/iconv/ |
H A D | iconv.c | 2298 int persistent; member 2312 pefree(self->to_charset, self->persistent); in php_iconv_stream_filter_dtor() 2313 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor() 2333 pefree(self->from_charset, persistent); in php_iconv_stream_filter_ctor() 2334 pefree(self->to_charset, persistent); in php_iconv_stream_filter_ctor() 2337 self->persistent = persistent; in php_iconv_stream_filter_ctor() 2349 int persistent) in php_iconv_stream_filter_append_bucket() argument 2508 pefree(out_buf, persistent); in php_iconv_stream_filter_append_bucket() 2515 pefree(out_buf, persistent); in php_iconv_stream_filter_append_bucket() 2611 pefree(inst, persistent); in php_iconv_stream_filter_factory_create() [all …]
|
/php-src/ext/pdo_mysql/tests/ |
H A D | construct_persistent_failure.phpt | 2 Failure when creating persistent connection
|
/php-src/ext/pcre/tests/ |
H A D | preg_replace_callback_fatal_error_leak.phpt | 2 preg_replace_callback() should not leak persistent memory on fatal error
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug70221.phpt | 2 Bug #70221 (persistent sqlite connection + custom function segfaults)
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | bcmath.h | 90 bc_num _bc_new_num_ex(size_t length, size_t scale, bool persistent); 92 void _bc_free_num_ex(bc_num *num, bool persistent);
|