Home
last modified time | relevance | path

Searched refs:null (Results 101 – 125 of 1803) sorted by relevance

12345678910>>...73

/PHP-8.0/ext/pdo_pgsql/
H A Dpgsql_driver.stub.php8 …leName, array $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {}
11 …e, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {}
14 …y(string $tableName, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {}
17 …e, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {}
/PHP-8.0/ext/soap/tests/interop/Round2/GroupB/
H A Dr2_groupB_004s.phpt10 new SoapVar("arg", XSD_STRING, null, null, "varString"),
11 new SoapVar(34, XSD_INT, null, null, "varInt"),
12 new SoapVar(123.45, XSD_FLOAT, null, null, "varFloat"),
14 new SoapVar("arg2", XSD_STRING, null, null, "varString"),
15 new SoapVar(342, XSD_INT, null, null, "varInt"),
16 new SoapVar(123.452, XSD_FLOAT, null, null, "varFloat")
/PHP-8.0/ext/standard/tests/array/
H A Darray_diff_uassoc_variation12.phpt2 Test array_diff_uassoc() function : usage variation - Passing null,unset and undefined variable ind…
15 'null indexed' => array(NULL => NULL, null => null),
30 --null indexed--
H A Darray_change_key_case_variation3.phpt44 // null data
45 /*3*/ 'null uppercase' => array(
46 NULL => 'null 1',
48 'null lowercase' => array(
49 null => 'null 2',
131 -- Iteration 4 : null uppercase data --
134 string(6) "null 1"
137 -- Iteration 5 : null lowercase data --
140 string(6) "null 2"
H A Darray_shift_variation3.phpt43 // null data
44 /*4*/ 'null uppercase' => array(
45 NULL => 'null 1',
48 /*5*/ 'null lowercase' => array(
49 null => 'null 2',
131 -- Iteration 4 : null uppercase data --
132 string(6) "null 1"
136 -- Iteration 5 : null lowercase data --
137 string(6) "null 2"
H A Darray_values_variation3.phpt44 // null data
45 /*4*/ 'null uppercase' => array(
46 NULL => 'null 1',
49 /*5*/ 'null lowercase' => array(
50 null => 'null 2',
133 -- Iteration 4: null uppercase data --
136 string(6) "null 1"
139 -- Iteration 5: null lowercase data --
142 string(6) "null 2"
H A Dbug68553.phpt2 Bug #68553 (array_column: null values in $index_key become incrementing keys in result)
19 ['a' => null, "test"],
20 ['a' => null],
23 var_dump(array_column($a, null, 'a'));
26 var_dump(array_column([['a' => new stdClass]], null, 'a'));
31 var_dump(array_column([['a' => []]], null, 'a'));
H A Darray_map_variation14.phpt2 Test array_map() function : usage variations - null value for 'callback' argument
6 * Test array_map() by passing null values for $callback argument and testing whether shortest
10 echo "*** Testing array_map() : null value for 'callback' argument ***\n";
21 /* calling array_map() with null callback */
23 echo "-- with null --\n";
24 var_dump( array_map(null, $arr1, $arr2, $arr3) );
50 *** Testing array_map() : null value for 'callback' argument ***
51 -- with null --
H A Dbug74345.phpt17 array_map($cb, null);
22 array_map($cb, null, null);
43 array_map(): Argument #2 ($array) must be of type array, null given
44 array_map(): Argument #2 ($array) must be of type array, null given
H A Dkey_variation2.phpt43 // null data
44 /*4*/ 'null uppercase' => array(
45 NULL => 'null 1',
48 /*5*/ 'null lowercase' => array(
49 null => 'null 2',
119 -- Iteration 4 : null uppercase data --
122 -- Iteration 5 : null lowercase data --
/PHP-8.0/ext/zend_test/
H A Dtest.stub.php43 function zend_test_deprecated(mixed $arg = null): void {}
55 function zend_string_or_object_or_null(object|string|null $param): object|string|null {}
61 function zend_string_or_stdclass_or_null($param): stdClass|string|null {}
63 function zend_iterable(iterable $arg1, ?iterable $arg2 = null): void {}
/PHP-8.0/ext/reflection/tests/
H A Dunion_types.phpt10 echo "Allows null: " . ($rt->allowsNull() ? "true" : "false") . "\n";
18 function test1(): X|Y|int|float|false|null { }
49 Type X|Y|int|float|false|null:
50 Allows null: true
66 Name: null
67 String: null
70 Allows null: false
81 Allows null: false
92 Allows null: false
103 Allows null: false
/PHP-8.0/ext/standard/tests/math/
H A Dnumber_format_with_null_args.phpt2 number_format should use default values when passed null
8 var_dump(number_format($number, 2, null, 'T'));
9 var_dump(number_format($number, 2, 'F', null));
/PHP-8.0/ext/openssl/tests/
H A DCertificateGenerator.inc13 /** @var resource|null */
16 /** @var resource|null */
30 * @param int|null $keyLength
33 private static function generateKey($keyLength = null)
35 if (null === $keyLength) {
66 null,
86 $commonNameForCert, $file, $keyLength = null, $subjectAltName = null
94 if ($commonNameForCert !== null) {
/PHP-8.0/ext/oci8/
H A Doci8.stub.php75 function oci_lob_write(OCILob $lob, string $data, ?int $length = null): int|false {}
81 function oci_lob_erase(OCILob $lob, ?int $offset = null, ?int $length = null): int|false {}
89 function oci_lob_copy(OCILob $to, OCILob $from, ?int $length = null): bool {}
93 function oci_lob_export(OCILob $lob, string $filename, ?int $offset = null, ?int $length = null): b…
99 function ociwritelobtofile(OCILob $lob, string $filename, ?int $offset = null, ?int $length = null)…
330 function oci_error($connection_or_statement = null): array|false {}
337 function ocierror($connection_or_statement = null): array|false {}
610 public function write(string $data, ?int $length = null) {}
628 public function erase(?int $offset = null, ?int $length = null) {}
652 public function writeToFile(string $filename, ?int $offset = null, ?int $length = null) {}
[all …]
/PHP-8.0/Zend/
H A Dzend_exceptions.stub.php27 public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) {}
52 …= 0, int $severity = E_ERROR, ?string $filename = null, ?int $line = null, ?Throwable $previous =
63 public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) {}
/PHP-8.0/Zend/tests/
H A Dbug32322.phpt9 private static $instance = null;
20 if ( self::$instance == null )
31 static $instance2 = null;
32 if ( $instance2 == null )
53 $getCopyofSingleton = null;
55 $getCopyofSingleton = null;
59 $getCopyofSingleton2 = null;
61 $getCopyofSingleton2 = null;
H A Dforeach_over_null.phpt2 foreach over null
7 foreach (null as $v) {
15 Warning: foreach() argument must be of type array|object, null given in %s on line %d
H A Dclosure_062.phpt12 $fn->bindTo(null);
17 $fn->bindTo(null);
22 $fn->bindTo(null);
30 $fn->bindTo(null);
35 $fn->bindTo(null);
40 $fn->bindTo(null);
/PHP-8.0/sapi/fpm/tests/
H A Dtester.inc123 * @var string|null
130 * @var Response|null
336 bool $debug = null
360 * @return null|string
373 return null;
578 string $uri = null,
687 * @param string|null $scriptFilename = null
688 * @param string|array|null $stdin = null
698 string $uri = null,
919 * @param int|null $pid
[all …]
/PHP-8.0/ext/xmlwriter/tests/
H A Dbug41287.phpt14 xmlwriter_write_element_ns($xw, 'test', 'foo', null, '');
15 xmlwriter_write_element_ns($xw, null, 'bar', 'urn:x-test:', '');
16 xmlwriter_write_element_ns($xw, null, 'bar', '', '');
27 $xw->writeElementNS('test', 'foo', null, '');
28 $xw->writeElementNS(null, 'bar', 'urn:x-test:', '');
29 $xw->writeElementNS(null, 'bar', '', '');
H A Dbug41326.phpt14 $xml->writeElement('foo', null);
29 $xw->writeElementNS('test', 'foo', null, '');
30 $xw->writeElementNS(null, 'bar', 'urn:x-test:', '');
31 $xw->writeElementNS(null, 'bar', 'urn:x-test:', NULL);
32 $xw->writeElementNS(null, 'bar', 'urn:x-test:');
33 $xw->writeElementNS(null, 'bar', '', '');
/PHP-8.0/ext/filter/tests/
H A Dbug67167.02.phpt2 Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null
8 null,
/PHP-8.0/ext/standard/tests/general_functions/
H A Dvar_export_basic4.phpt16 "'null'" => 'null',
92 -- Iteration: 'null' --
93 'null'
94 'null'
95 string(6) "'null'"
/PHP-8.0/ext/xmlreader/
H A Dphp_xmlreader.stub.php50 public function next(?string $name = null) {}
53 public static function open(string $uri, ?string $encoding = null, int $flags = 0) {}
77 public static function XML(string $source, ?string $encoding = null, int $flags = 0) {}
80 public function expand(?DOMNode $baseNode = null) {}

Completed in 46 milliseconds

12345678910>>...73