/php-src/Zend/tests/ |
H A D | ErrorException_construct.phpt | 11 $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 D | bug70895.phpt | 2 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 D | iterable_or_null.phpt | 21 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 D | dereference_014.phpt | 30 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 D | str_or_obj_zpp.phpt | 12 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 D | gc_029.phpt | 11 if ($this->bar !== null) { 12 $this->x = null; 20 if ($this->foo !== null) {
|
H A D | array_merge_recursive_next_key_overflow.phpt | 7 ['' => [PHP_INT_MAX => null]], 8 ['' => [null]], 16 ['foo' => [PHP_INT_MAX => null]],
|
H A D | operator_unsupported_types.phpt | 30 '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 D | str_or_obj_of_class_zpp.phpt | 17 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 D | gh10072.phpt | 12 /** @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 D | gc_050.phpt | 26 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 D | bug53551.phpt | 28 '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 D | type_checking_strict.phpt | 57 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 D | proc_open_sockets3.phpt | 8 $r = ($read == true) ? [$pipe] : null; 9 $w = ($read == false) ? [$pipe] : null; 10 $e = null; 12 if (!stream_select($r, $w, $e, null)) {
|
H A D | proc_open_sockets1.phpt | 16 ['null'], 29 $w = null; 30 $e = null; 32 if (!stream_select($r, $w, $e, null)) {
|
/php-src/ext/date/tests/ |
H A D | date_interval_create_from_date_string_nullparam.phpt | 2 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 D | date_timestamp_set_nullparam2.phpt | 2 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 D | bug70277.phpt | 2 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 D | 001.phpt | 63 $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 D | bug79405.phpt | 2 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 D | config.w32 | 11 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 D | bug81015.phpt | 9 if ($enabled ? true : $value === null) { 17 ternary(true, null); 19 ternary(false, null);
|
/php-src/ext/libxml/tests/ |
H A D | null_returned_by_resolver.phpt | 2 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 D | mysqli_stmt_bind_result_references.phpt | 36 $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 D | fetch_obj_005.phpt | 18 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
|