Home
last modified time | relevance | path

Searched refs:null (Results 201 – 225 of 1803) sorted by relevance

12345678910>>...73

/PHP-8.0/Zend/tests/
H A Dgc_029.phpt11 if ($this->bar !== null) {
12 $this->x = null;
20 if ($this->foo !== null) {
H A Dbug78531.phpt28 Attempt to assign property "a" on null
31 Attempt to increment/decrement property "a" on null
34 Attempt to increment/decrement property "a" on null
37 Attempt to modify property "a" on null
/PHP-8.0/ext/intl/converter/
H A Dconverter.stub.php7 …blic function __construct(?string $destination_encoding = null, ?string $source_encoding = null) {}
67 …unction transcode(string $str, string $toEncoding, string $fromEncoding, ?array $options = null) {}
/PHP-8.0/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-8.0/Zend/tests/type_declarations/
H A Dnullable_null.phpt5 function test(Foo $a = null) {
8 test(null);
H A Dscalar_null.phpt20 var_dump($function(null));
30 *** Caught {closure}(): Argument #1 ($i) must be of type int, null given, called in %s on line %d
32 *** Caught {closure}(): Argument #1 ($f) must be of type float, null given, called in %s on line %d
34 *** Caught {closure}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d
36 *** Caught {closure}(): Argument #1 ($b) must be of type bool, null given, called in %s on line %d
/PHP-8.0/ext/standard/tests/array/
H A Darray_diff_assoc_variation4.phpt41 // null data
43 'null' => array(
44 NULL => 'null 1',
45 null => 'null 2'),
124 string(6) "null 2"
H A Darray_sum_variation7.phpt7 * strings, bool, null, subarrays & objects
27 // array with null entry
28 $input = array(null, NULL);
29 echo "-- array with null values --\n";
60 $input = array( 5, -8, 7.2, -1.2, "10", "apple", 'Mango', true, false, null, NULL, array( array(1,2…
73 -- array with null values --
H A Dvar_export2.phpt5 $a = array ("\0" => 'null', "" => 'empty', "0" => 'nul');
10 '' . "\0" . '' => 'null',
H A Darray_key_exists_variation8.phpt45 // null data
46 /*3*/ 'null uppercase' => array(
47 NULL => 'null 1',
49 'null lowercase' => array(
50 null => 'null 2',
122 -- $key arguments are null uppercase data:
124 -- $key arguments are null lowercase data:
158 -- $key arguments are null uppercase data:
160 -- $key arguments are null lowercase data:
217 -- Iteration 4: null uppercase data --
[all …]
/PHP-8.0/ext/standard/tests/serialize/
H A Dbug49649.phpt26 public $public = null;
28 public $protected = null;
30 public $private = null;
H A Dbug49649_1.phpt26 protected $public = null;
28 protected $protected = null;
30 protected $private = null;
/PHP-8.0/Zend/tests/try/
H A Dtry_finally_019.phpt16 $a = null;
19 $a = null;
22 $a = null;
H A Dtry_finally_020.phpt16 $a = null;
19 $a = null;
22 $a = null;
/PHP-8.0/ext/opcache/tests/jit/
H A Dfetch_obj_005.phpt19 Warning: Attempt to read property "p" on null in %sfetch_obj_005.php on line 4
21 Warning: Attempt to read property "p" on null in %sfetch_obj_005.php on line 4
23 Warning: Attempt to read property "p" on null in %sfetch_obj_005.php on line 4
/PHP-8.0/ext/curl/
H A Dcurl.stub.php36 …n curl_file_create(string $filename, ?string $mime_type = null, ?string $posted_filename = null): …
38 function curl_getinfo(CurlHandle $handle, ?int $option = null): mixed {}
40 function curl_init(?string $url = null): CurlHandle|false {}
54 function curl_multi_info_read(CurlMultiHandle $multi_handle, &$queued_messages = null): array|false…
H A Dcurl_file.stub.php7 …nction __construct(string $filename, ?string $mime_type = null, ?string $posted_filename = null) {}
/PHP-8.0/ext/intl/calendar/
H A Dcalendar.stub.php14 public static function createInstance($timezone = null, ?string $locale = null) {}
50 public function clear(?int $field = null) {}
56 public static function fromDateTime(DateTime|string $datetime, ?string $locale = null) {}
218 public function isWeekend(?float $timestamp = null) {}
/PHP-8.0/ext/oci8/tests/
H A Dnull_byte_3.phpt15 echo "Test 1: Invalid use of a null byte\n";
20 echo "Test 2: Using a null byte in a bind variable value causing WHERE clause to fail\n";
31 Test 1: Invalid use of a null byte
34 Test 2: Using a null byte in a bind variable value causing WHERE clause to fail
H A Dnull_byte_2.phpt18 echo "Test 1: Valid use of a null byte\n";
25 echo "Test 3: Using a null byte in a bind variable name\n";
35 Test 1: Valid use of a null byte
43 Test 3: Using a null byte in a bind variable name
/PHP-8.0/ext/intl/tests/
H A Dformatter_fail.phpt26 return null;
34 return null;
42 return null;
49 array(null, null),
60 $fmt = null;
67 $fmt = null;
74 $fmt = null;
83 $fmt = null;
/PHP-8.0/ext/standard/tests/strings/
H A Dsprintf_variation15.phpt20 /* null heardoc string */
36 'null',
152 string(4) "null"
153 string(4) "null"
154 string(5) " null"
155 string(5) "null "
156 string(5) " null"
158 null"
159 string(4) "null"
160 string(30) " null"
/PHP-8.0/ext/pgsql/tests/
H A Dpg_meta_data_001.phpt39 ["not null"]=>
56 ["not null"]=>
75 ["not null"]=>
92 ["not null"]=>
111 ["not null"]=>
136 ["not null"]=>
/PHP-8.0/ext/date/tests/
H A Dbug75928.phpt2 Bug #75928: Argument 2 for `DateTimeZone::listIdentifiers()` should accept `null`
6 var_dump(is_array(DateTimeZone::listIdentifiers(\DateTimeZone::ALL, null)));
/PHP-8.0/ext/pcntl/
H A Dpcntl.stub.php29 function pcntl_sigprocmask(int $mode, array $signals, &$old_signals = null): bool {}
68 function pcntl_getpriority(?int $process_id = null, int $mode = PRIO_PROCESS): int|false {}
72 function pcntl_setpriority(int $priority, ?int $process_id = null, int $mode = PRIO_PROCESS): bool{}
77 function pcntl_async_signals(?bool $enable = null): bool {}

Completed in 27 milliseconds

12345678910>>...73