/PHP-7.4/ext/standard/tests/array/ |
H A D | array_map_variation3.phpt | 28 array(NULL), // array with NULL 39 /*13*/ array(NULL => "NULL", null => "null", "NULL" => NULL, "null" => null), 42 array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true), 43 array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6), 101 NULL 169 ["NULL"]=> 170 NULL 172 NULL 201 NULL 203 NULL
|
H A D | array_slice_variation1.phpt | 2 Test array_slice() - Third parameter (NULL vs 0) 6 var_dump(array_slice(range(1, 3), 0, NULL, 1)); 8 var_dump(array_slice(range(1, 3), 0, NULL)); 13 var_dump(array_slice(range(1, 3), -1, NULL)); 14 var_dump(array_slice(range(1, 3), -1, NULL, 1));
|
H A D | array_map_variation17.phpt | 81 NULL 85 NULL 89 NULL 93 NULL 97 NULL 101 NULL 105 NULL 109 NULL 113 NULL 117 NULL [all …]
|
/PHP-7.4/ext/session/tests/ |
H A D | bug24592.phpt | 2 Bug #24592 (crash when multiple NULL values are being stored) 26 NULL 27 NULL 32 NULL 34 NULL
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | compress.c | 127 "bzip2", "-cd", NULL 133 "xz", "-cd", NULL 139 "lz4", "-cd", NULL 142 "zstd", "-cd", NULL 145 #define do_zlib NULL 146 #define do_bzlib NULL 269 prv = file_buffer(ms, NULL, NULL, name, newbuf, nsz); in file_zmagic() 286 if (file_buffer(ms, NULL, NULL, NULL, buf, nbytes) == -1) { in file_zmagic() 380 selrv = select(fd + 1, &check, NULL, NULL, &tout); in sread() 583 *buf = NULL; in makeerror() [all …]
|
H A D | funcs.c | 88 char *buf = NULL; in file_error_core() 95 ms->o.buf = NULL; in file_error_core() 324 rbuf = NULL; in file_buffer() 333 m = file_softmagic(ms, &b, NULL, NULL, BINTEST, looks_text); in file_buffer() 420 return NULL; in file_getbuffer() 426 return NULL; in file_getbuffer() 432 return NULL; in file_getbuffer() 437 return NULL; in file_getbuffer() 563 return NULL; in file_push_buffer() 566 return NULL; in file_push_buffer() [all …]
|
/PHP-7.4/ext/tidy/tests/ |
H A D | 010.phpt | 35 NULL 61 NULL 84 NULL 137 NULL 168 NULL 192 NULL 215 NULL 268 NULL 291 NULL 312 NULL [all …]
|
/PHP-7.4/ext/mysqlnd/ |
H A D | php_mysqlnd.c | 158 mysqlnd_globals->dbg = NULL; /* The DBG object*/ in ZEND_DECLARE_MODULE_GLOBALS() 159 mysqlnd_globals->trace_alloc_settings = NULL; in ZEND_DECLARE_MODULE_GLOBALS() 160 mysqlnd_globals->trace_alloc = NULL; in ZEND_DECLARE_MODULE_GLOBALS() 253 MYSQLND_G(dbg) = NULL; in PHP_RINIT_FUNCTION() 283 MYSQLND_G(dbg) = NULL; in PHP_RSHUTDOWN_FUNCTION() 288 MYSQLND_G(trace_alloc) = NULL; in PHP_RSHUTDOWN_FUNCTION() 305 NULL, 314 NULL, 319 NULL, 325 NULL, [all …]
|
/PHP-7.4/main/streams/ |
H A D | cast.c | 229 if (ret == NULL) { in _php_stream_cast() 239 if (*ret != NULL) { in _php_stream_cast() 349 FILE *fp = NULL; in _php_stream_open_wrapper_as_file() 350 php_stream *stream = NULL; in _php_stream_open_wrapper_as_file() 354 if (stream == NULL) { in _php_stream_open_wrapper_as_file() 355 return NULL; in _php_stream_open_wrapper_as_file() 363 return NULL; in _php_stream_open_wrapper_as_file() 372 if (newstream == NULL) { in _php_stream_make_seekable() 375 *newstream = NULL; in _php_stream_make_seekable() 390 if (*newstream == NULL) { in _php_stream_make_seekable() [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_ini.h | 99 #define ZEND_INI_END() { NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0} }; 105 ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, arg1, arg2, arg3, NULL) 108 ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, arg1, arg2, NULL, displayer) 111 ZEND_INI_ENTRY2_EX(name, default_value, modifiable, on_modify, arg1, arg2, NULL) 114 ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, arg1, NULL, NULL, displayer) 117 ZEND_INI_ENTRY1_EX(name, default_value, modifiable, on_modify, arg1, NULL) 120 ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, NULL, NULL, NULL, displayer) 123 ZEND_INI_ENTRY_EX(name, default_value, modifiable, on_modify, NULL) 131 …oid *) XtOffsetOf(struct_type, property_name), (void *) &struct_ptr##_id, NULL, zend_ini_boolean_d… 138 …y, (void *) XtOffsetOf(struct_type, property_name), (void *) &struct_ptr, NULL, zend_ini_boolean_d… [all …]
|
H A D | zend_constants.c | 213 return NULL; in zend_get_special_constant() 229 return NULL; in zend_get_special_constant() 256 c = NULL; in zend_get_constant_str_impl() 280 if (zv == NULL) { in zend_get_constant_impl() 284 if (zv != NULL) { in zend_get_constant_impl() 287 c = NULL; in zend_get_constant_impl() 334 cname = NULL; in zend_get_constant_ex() 373 if (c == NULL) { in zend_get_constant_ex() 437 c = NULL; in zend_get_constant_ex() 445 return NULL; in zend_get_constant_ex() [all …]
|
/PHP-7.4/ext/standard/ |
H A D | head.c | 95 strpbrk(ZSTR_VAL(value), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \014 */ in php_setcookie() 110 if (value == NULL || ZSTR_LEN(value) == 0) { in php_setcookie() 218 php_error_docref(NULL, E_WARNING, "Numeric key found in the options array"); in php_head_parse_cookie_options_array() 224 php_error_docref(NULL, E_WARNING, "No valid options were found in the given array"); in php_head_parse_cookie_options_array() 233 zval *expires_or_options = NULL; in PHP_FUNCTION() 234 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() 252 php_error_docref(NULL, E_WARNING, "Cannot pass arguments after the options array"); in PHP_FUNCTION() 288 zval *expires_or_options = NULL; in PHP_FUNCTION() 289 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() 307 php_error_docref(NULL, E_WARNING, "Cannot pass arguments after the options array"); in PHP_FUNCTION() [all …]
|
H A D | cyr_convert.c | 208 from_table = NULL; in php_convert_cyr_string() 209 to_table = NULL; in php_convert_cyr_string() 229 php_error_docref(NULL, E_WARNING, "Unknown source charset: %c", from); in php_convert_cyr_string() 251 php_error_docref(NULL, E_WARNING, "Unknown destination charset: %c", to); in php_convert_cyr_string() 260 tmp = (from_table == NULL)? str[i] : from_table[ str[i] ]; in php_convert_cyr_string() 261 str[i] = (to_table == NULL) ? tmp : to_table[tmp + 256]; in php_convert_cyr_string()
|
/PHP-7.4/ext/xmlrpc/libxmlrpc/ |
H A D | xmlrpc_introspection.c | 86 return NULL; in find_named_value() 123 XMLRPC_VALUE xTypeList = NULL; in xi_system_describe_methods_cb() 189 XMLRPC_VALUE xResponse = NULL; in xi_system_method_signature_cb() 248 XMLRPC_VALUE xResponse = NULL; in xi_system_method_help_cb() 285 XMLRPC_VALUE xParam = NULL; in describeValue_worker() 307 XMLRPC_VALUE xReturn = NULL; in xml_element_to_method_description() 310 const char* name = NULL; in xml_element_to_method_description() 311 const char* type = NULL; in xml_element_to_method_description() 313 const char* desc = NULL; in xml_element_to_method_description() 314 const char* def = NULL; in xml_element_to_method_description() [all …]
|
/PHP-7.4/ext/xmlrpc/tests/ |
H A D | bug51288.phpt | 2 Bug #51288 (CVE-2010-0397, NULL pointer deref when no <methodName> in request) 7 $method = NULL; 14 NULL 15 NULL
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | fprintf_error.phpt | 15 /* NULL argument */ 16 var_dump( fprintf(NULL) ); 24 NULL 27 NULL 30 NULL
|
/PHP-7.4/ext/intl/msgformat/ |
H A D | msgformat_data.c | 34 mf_data->umsgf = NULL; in msgformat_data_init() 35 mf_data->orig_format = NULL; in msgformat_data_init() 36 mf_data->arg_types = NULL; in msgformat_data_init() 55 mf_data->orig_format = NULL; in msgformat_data_free() 61 mf_data->arg_types = NULL; in msgformat_data_free() 64 mf_data->umsgf = NULL; in msgformat_data_free()
|
/PHP-7.4/win32/ |
H A D | wsyslog.c | 71 PW32G(log_header) = NULL; in closelog() 94 char *tmp = NULL; in vsyslog() 123 ReportEventW(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strsw, NULL); in vsyslog() 136 ReportEventA(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strs, NULL); in vsyslog() 152 PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION); in openlog()
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | scalar_none.phpt | 11 'int nullable' => function (int $i = NULL) { return $i; }, 12 'float nullable' => function (float $f = NULL) { return $f; }, 13 'string nullable' => function (string $s = NULL) { return $s; }, 14 'bool nullable' => function (bool $b = NULL) { return $b; } 36 NULL 38 NULL 40 NULL 42 NULL
|
/PHP-7.4/sapi/fpm/fpm/events/ |
H A D | kqueue.c | 48 static struct kevent *kevents = NULL; 62 return NULL; in fpm_event_kqueue_module() 105 kevents = NULL; in fpm_event_kqueue_clean() 130 ret = kevent(kfd, NULL, 0, kevents, nkevents, &t); in fpm_event_kqueue_wait() 170 if (kevent(kfd, &k, 1, NULL, 0, NULL) < 0) { in fpm_event_kqueue_add() 195 if (kevent(kfd, &k, 1, NULL, 0, NULL) < 0) { in fpm_event_kqueue_remove()
|
/PHP-7.4/ext/dom/ |
H A D | attr.c | 56 xmlAttrPtr nodep = NULL; in PHP_METHOD() 57 xmlNodePtr oldnode = NULL; in PHP_METHOD() 59 char *name, *value = NULL; in PHP_METHOD() 74 nodep = xmlNewProp(NULL, (xmlChar *) name, (xmlChar *) value); in PHP_METHOD() 82 if (oldnode != NULL) { in PHP_METHOD() 101 if (attrp == NULL) { in dom_attr_name_read() 137 if (attrp == NULL) { in dom_attr_value_read() 142 if ((content = xmlNodeGetContent((xmlNodePtr) attrp)) != NULL) { in dom_attr_value_read() 158 if (attrp == NULL) { in dom_attr_value_write() 191 if (nodep == NULL) { in dom_attr_owner_element_read()
|
H A D | text.c | 65 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() 67 char *value = NULL; in PHP_METHOD() 82 if (intern != NULL) { in PHP_METHOD() 84 if (oldnode != NULL) { in PHP_METHOD() 100 xmlChar *wholetext = NULL; in dom_text_whole_text_read() 104 if (node == NULL) { in dom_text_whole_text_read() 120 if (wholetext != NULL) { in dom_text_whole_text_read() 159 if (cur == NULL) { in PHP_FUNCTION() 180 if (nnode == NULL) { in PHP_FUNCTION() 184 if (node->parent != NULL) { in PHP_FUNCTION()
|
/PHP-7.4/ext/gd/ |
H A D | gd.c | 1037 NULL, 2341 return NULL; in _php_image_create_from_string() 2348 return NULL; in _php_image_create_from_string() 2450 FILE * fp = NULL; in _php_image_create_from() 2673 char *file = NULL; in _php_image_output() 2676 char *fn = NULL; in _php_image_output() 2742 tmp = php_open_temporary_file(NULL, NULL, &path); in _php_image_output() 3511 zval *var = NULL; in php_imagepolygon() 4071 char *str = NULL, *fontname = NULL; in php_imagettftext_common() 4641 zval *var = NULL, *var2 = NULL; in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/intl/breakiterator/ |
H A D | rulebasedbreakiterator_methods.cpp | 42 intl_error_reset(NULL); in _php_intlrbbi_constructor_body() 46 intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, in _php_intlrbbi_constructor_body() 59 intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, in _php_intlrbbi_constructor_body() 66 intl_error_set_code(NULL, status); in _php_intlrbbi_constructor_body() 74 intl_error_set_custom_msg(NULL, msg, 1); in _php_intlrbbi_constructor_body() 82 intl_error_set(NULL, status, "rbbi_create_instance: unable to " in _php_intlrbbi_constructor_body() 108 intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION() 135 intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION() 151 intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION() 158 int32_t num_rules = fetch_rbbi(bio)->getRuleStatusVec(NULL, 0, in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/pcre/ |
H A D | php_pcre.c | 238 gctx = NULL; in php_pcre_shutdown_pcre2() 243 cctx = NULL; in php_pcre_shutdown_pcre2() 248 mctx = NULL; in php_pcre_shutdown_pcre2() 262 mdata = NULL; in php_pcre_shutdown_pcre2() 332 pcre2_jit_stack_assign(mctx, NULL, NULL); in PHP_INI_MH() 355 return NULL; in PHP_INI_END() 536 return NULL; in make_subpats_table() 633 return NULL; in pcre_get_compiled_regex_cache_ex() 2407 if (!zend_is_callable_ex(replace, NULL, 0, NULL, &fcc, NULL)) { in PHP_FUNCTION() 2459 if (!zend_is_callable_ex(replace, NULL, 0, NULL, &fcc, NULL)) { in PHP_FUNCTION() [all …]
|