Home
last modified time | relevance | path

Searched refs:null (Results 226 – 250 of 2060) sorted by relevance

12345678910>>...83

/php-src/Zend/tests/
H A DErrorException_construct.phpt11 $e = new ErrorException("Second", 0, E_ERROR, null);
16 $e = new ErrorException("Third", 0, E_ERROR, null, null);
21 $e = new ErrorException("Forth", 0, E_ERROR, null, 123);
31 $e = new ErrorException("Sixth", 0, E_ERROR, "abc.php", null);
H A Dbug70895.phpt2 Bug #70895 null ptr deref and segfault with crafted callable
23 array_map(): Argument #1 ($callback) must be a valid callback or null, function "%n" not found or i…
24 array_map(): Argument #1 ($callback) must be a valid callback or null, function "%n %i" not found o…
25 array_map(): Argument #1 ($callback) must be a valid callback or null, function "%n %i aoeu %f aoeu…
H A Diterable_or_null.phpt21 var_dump(zend_iterable(null));
33 zend_iterable($iterator, null);
45 zend_iterable(): Argument #1 ($arg1) must be of type Traversable|array, null given
46 zend_iterable(): Argument #2 ($arg2) must be of type Traversable|array|null, string given
H A Ddereference_014.phpt30 Warning: Trying to access array offset on null in %s on line %d
32 Warning: Attempt to read property "a" on null in %s on line %d
35 Warning: Trying to access array offset on null in %s on line %d
37 Warning: Attempt to read property "b" on null in %s on line %d
H A Dstr_or_obj_zpp.phpt12 var_dump(zend_string_or_object(null));
24 var_dump(zend_string_or_object_or_null(null));
39 Deprecated: zend_string_or_object(): Passing null to parameter #1 ($param) of type object|string is…
53 zend_string_or_object_or_null(): Argument #1 ($param) must be of type object|string|null, array giv…
H A Dgc_029.phpt11 if ($this->bar !== null) {
12 $this->x = null;
20 if ($this->foo !== null) {
H A Darray_merge_recursive_next_key_overflow.phpt7 ['' => [PHP_INT_MAX => null]],
8 ['' => [null]],
16 ['foo' => [PHP_INT_MAX => null]],
H A Doperator_unsupported_types.phpt30 'null',
988 No error for [] xor null
989 No error for null xor []
1069 No error for [] . null
1071 No error for null . []
1110 No error for STDOUT . null
1111 No error for null . STDOUT
1124 No error for "foo" . null
1125 No error for null . "foo"
2022 No error for [] .= null
[all …]
H A Dstr_or_obj_of_class_zpp.phpt17 var_dump(zend_string_or_stdclass(null));
35 var_dump(zend_string_or_stdclass_or_null(null));
56 Deprecated: zend_string_or_stdclass(): Passing null to parameter #1 ($param) of type string is depr…
69 zend_string_or_stdclass_or_null(): Argument #1 ($param) must be of type stdClass|string|null, array…
70 zend_string_or_stdclass_or_null(): Argument #1 ($param) must be of type stdClass|string|null, Foo g…
H A Dgh10072.phpt12 /** @var resource|null */
15 /** @var resource|null */
29 …nction stream_open(string $path, string $mode, int $options = 0, ?string &$openedPath = null): bool
83 /** @var resource|null */
86 /** @var object|null */
H A Dgc_050.phpt26 var_dump($weakO->get() !== null); // verify if kept allocated
27 G::$v = null;
29 var_dump($weakO->get() !== null); // verify if released
/php-src/ext/pdo_mysql/tests/
H A Dbug53551.phpt28 'count' => null,
50 …QLSTATE[23000]: Integrity constraint violation: 1048 Column 'count' cannot be null in %s on line %d
57 string(29) "Column 'count' cannot be null"
61 …QLSTATE[23000]: Integrity constraint violation: 1048 Column 'count' cannot be null in %s on line %d
68 string(29) "Column 'count' cannot be null"
/php-src/Zend/tests/type_declarations/union_types/
H A Dtype_checking_strict.phpt57 test('int|string|null', $values);
76 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, null given
92 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, null giv…
108 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, null given
124 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, null given
129 Type int|string|null:
140 null => null
156 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type string|bool, null given
172 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, null given
188 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|string, null given
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dproc_open_sockets3.phpt8 $r = ($read == true) ? [$pipe] : null;
9 $w = ($read == false) ? [$pipe] : null;
10 $e = null;
12 if (!stream_select($r, $w, $e, null)) {
H A Dproc_open_sockets1.phpt16 ['null'],
29 $w = null;
30 $e = null;
32 if (!stream_select($r, $w, $e, null)) {
/php-src/ext/date/tests/
H A Ddate_interval_create_from_date_string_nullparam.phpt2 Test date_interval_create_from_date_string() function : null parameter
7 $i = date_interval_create_from_date_string(null);
11 Deprecated: date_interval_create_from_date_string(): Passing null to parameter #1 ($datetime) of ty…
H A Ddate_timestamp_set_nullparam2.phpt2 Test the function date_timestamp_set() with second null parameter.
14 var_dump(date_timestamp_set($dtms021, null));
17 Deprecated: date_timestamp_set(): Passing null to parameter #2 ($timestamp) of type int is deprecat…
H A Dbug70277.phpt2 Bug #70277 (new DateTimeZone($foo) is ignoring text after null byte)
18 ValueError: timezone_open(): Argument #1 ($timezone) must not contain any null bytes
19 ValueError: DateTimeZone::__construct(): Argument #1 ($timezone) must not contain any null bytes
/php-src/Zend/tests/throw/
H A D001.phpt63 $result = null ?? throw new Exception("null ?? throw");
77 $result = null ?: throw new Exception("null ?: throw");
139 $exception = null;
145 throw null ?? new Exception('throw null ?? new Exception();');
160 string(13) "null ?? throw"
162 string(13) "null ?: throw"
173 string(30) "throw null ?? new Exception();"
/php-src/ext/standard/tests/network/
H A Dbug79405.phpt2 Bug #79405 - gethostbyname() silently truncates after a null byte
18 gethostbyname(): Argument #1 ($hostname) must not contain any null bytes
19 gethostbynamel(): Argument #1 ($hostname) must not contain any null bytes
/php-src/ext/tidy/
H A Dconfig.w3211 CHECK_HEADER_ADD_INCLUDE("tidy/tidy.h", "CFLAGS_TIDY", null, null, true) ||
12 CHECK_HEADER_ADD_INCLUDE("libtidy/tidy.h", "CFLAGS_TIDY", null, null, true)
/php-src/ext/opcache/tests/
H A Dbug81015.phpt9 if ($enabled ? true : $value === null) {
17 ternary(true, null);
19 ternary(false, null);
/php-src/ext/libxml/tests/
H A Dnull_returned_by_resolver.phpt2 null returned by resolver function
11 return null;
32 …File(): Failed to load external entity because the resolver function returned null in %s on line %d
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_references.phpt36 $id = null;
38 $label = null;
54 $id = null;
57 $label = null;
77 $label = null;
91 $id = null;
148 $id = null;
160 $id = null;
162 $label = null;
180 $id = null;
[all …]
/php-src/ext/opcache/tests/jit/
H A Dfetch_obj_005.phpt18 Warning: Attempt to read property "p" on null in %sfetch_obj_005.php on line 4
20 Warning: Attempt to read property "p" on null in %sfetch_obj_005.php on line 4
22 Warning: Attempt to read property "p" on null in %sfetch_obj_005.php on line 4

Completed in 38 milliseconds

12345678910>>...83