Home
last modified time | relevance | path

Searched refs:null (Results 126 – 150 of 2061) sorted by relevance

12345678910>>...83

/php-src/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 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-src/ext/dom/tests/modern/spec/
H A DDocument_implementation_createDocument.phpt10 echo "--- (null, \"\") ---\n";
12 var_dump($dom->implementation->createDocument(null, ""));
14 echo "--- (null, \"qname\") ---\n";
16 echo $dom->implementation->createDocument(null, "qname")->saveXML(), "\n";
29 echo $dom->implementation->createDocument(null, "", $dtd)->saveXML(), "\n";
35 echo $dom->implementation->createDocument(null, "", $dtd)->saveXML(), "\n";
39 --- (null, "") ---
100 --- (null, "qname") ---
/php-src/ext/standard/tests/array/
H A Darray_merge_variation4.phpt35 // null data
36 /*4*/ 'null uppercase' => array(
37 NULL => 'null 1',
40 /*5*/ 'null lowercase' => array(
41 null => 'null 2',
126 -- Iteration 2: null uppercase data --
129 string(6) "null 1"
141 string(6) "null 1"
144 -- Iteration 3: null lowercase data --
147 string(6) "null 2"
[all …]
H A Darray_slice_variation7.phpt36 // null data
37 /*4*/ 'null uppercase' => array(
38 NULL => 'null 1',
41 /*5*/ 'null lowercase' => array(
42 null => 'null 2',
123 -- Iteration 2 : key type is null uppercase --
127 string(6) "null 1"
132 string(6) "null 1"
135 -- Iteration 3 : key type is null lowercase --
139 string(6) "null 2"
[all …]
H A Darray_key_exists_variation8.phpt33 // null data
34 /*3*/ 'null uppercase' => array(
35 NULL => 'null 1',
37 'null lowercase' => array(
38 null => 'null 2',
103 -- $key arguments are null uppercase data:
105 -- $key arguments are null lowercase data:
126 -- Iteration 2: null uppercase data --
132 -- $key arguments are null uppercase data:
134 -- $key arguments are null lowercase data:
[all …]
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 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
/php-src/Zend/tests/type_declarations/
H A Dstandalone_null.phpt6 function test(null $v): null {
10 var_dump(test(null));
/php-src/ext/xmlwriter/tests/
H A Dbug41287.phpt12 xmlwriter_write_element_ns($xw, 'test', 'foo', null, '');
13 xmlwriter_write_element_ns($xw, null, 'bar', 'urn:x-test:', '');
14 xmlwriter_write_element_ns($xw, null, 'bar', '', '');
25 $xw->writeElementNS('test', 'foo', null, '');
26 $xw->writeElementNS(null, 'bar', 'urn:x-test:', '');
27 $xw->writeElementNS(null, 'bar', '', '');
H A Dbug41326.phpt12 $xml->writeElement('foo', null);
27 $xw->writeElementNS('test', 'foo', null, '');
28 $xw->writeElementNS(null, 'bar', 'urn:x-test:', '');
29 $xw->writeElementNS(null, 'bar', 'urn:x-test:', NULL);
30 $xw->writeElementNS(null, 'bar', 'urn:x-test:');
31 $xw->writeElementNS(null, 'bar', '', '');
/php-src/Zend/tests/function_arguments/
H A Dsensitive_parameter_nested_calls.phpt7 #[SensitiveParameter] $sensitive1 = null,
8 $non_sensitive = null,
9 #[SensitiveParameter] $sensitive2 = null,
18 $non_sensitive = null,
19 #[SensitiveParameter] $sensitive1 = null,
20 #[SensitiveParameter] $sensitive2 = null,
/php-src/ext/dba/
H A Ddba.stub.php16 …g $path, string $mode, ?string $handler = null, int $permission = 0o644, int $map_size = 0, ?int $…
19 …g $path, string $mode, ?string $handler = null, int $permission = 0o644, int $map_size = 0, ?int $…
34 function dba_key_split(string|false|null $key): array|false {}
/php-src/ext/xsl/tests/
H A DsetParameter_null_bytes.phpt2 setParameter() with null bytes
40 XSLTProcessor::setParameter(): Argument #2 ($name) must not contain any null bytes
41 XSLTProcessor::setParameter(): Argument #3 ($value) must not contain any null bytes
42 XSLTProcessor::setParameter(): Argument #3 ($value) must not contain keys with any null bytes
43 XSLTProcessor::setParameter(): Argument #3 ($value) must not contain values with any null bytes
/php-src/Zend/tests/type_declarations/union_types/redundant_types/
H A Dnullable_null.phpt2 Combining nullability with null
6 function test(): ?null {
11 Fatal error: null cannot be marked as nullable in %s on line %d
/php-src/build/
H A Dshtool436 mkdir "$tmpdir" >/dev/null 2>&1
505 … term_bold=`awk 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' </dev/null 2>/dev/null`
506 term_norm=`awk 'BEGIN { printf("%c%c%c", 27, 91, 109); }' </dev/null 2>/dev/null`
509 … term_bold=`awk 'BEGIN { printf("%c%c%c%c%c%c", 27, 91, 49, 109, 0, 0); }' </dev/null 2>/dev/null`
510 … term_norm=`awk 'BEGIN { printf("%c%c%c%c%c", 27, 91, 109, 0, 0); }' </dev/null 2>/dev/null`
726 time_year=`date '+%Y' 2>/dev/null`
1235 ) 2>/dev/null`
1679 if [ -x /bin/sh ] 2>/dev/null; then
1723 rm -f $tmpfile >/dev/null 2>&1
1747 rm -f $tmpfile >/dev/null 2>&1
[all …]
/php-src/Zend/tests/nullsafe_operator/
H A D013.phpt16 $foo = null;
41 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in %s on …
49 Deprecated: defined(): Passing null to parameter #1 ($constant_name) of type string is deprecated i…
52 Deprecated: chr(): Passing null to parameter #1 ($codepoint) of type int is deprecated in %s on lin…
55 Deprecated: ord(): Passing null to parameter #1 ($character) of type string is deprecated in %s on …
58 string(77) "call_user_func_array(): Argument #2 ($args) must be of type array, null given"
59 string(69) "get_class(): Argument #1 ($object) must be of type object, null given"
64 string(69) "array_slice(): Argument #1 ($array) must be of type array, null given"
66 Deprecated: array_slice(): Passing null to parameter #2 ($offset) of type int is deprecated in %s o…
76 string(74) "array_key_exists(): Argument #2 ($array) must be of type array, null given"
/php-src/ext/intl/tests/
H A Dmsgfmt_fail2.phpt26 return null;
34 return null;
42 return null;
49 array(null, null),
61 $fmt = null;
68 $fmt = null;
75 $fmt = null;
82 $fmt = null;
89 $fmt = null;
96 $fmt = null;
[all …]
/php-src/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-src/ext/intl/tests/locale/
H A Dbug74993.phpt26 Parameter #1 [ <optional> ?string $displayLocale = null ]
34 Parameter #1 [ <optional> ?string $displayLocale = null ]
42 Parameter #1 [ <optional> ?string $displayLocale = null ]
50 Parameter #1 [ <optional> ?string $displayLocale = null ]
58 Parameter #1 [ <optional> ?string $displayLocale = null ]
77 Parameter #3 [ <optional> ?string $defaultLocale = null ]
/php-src/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-src/ext/intl/breakiterator/
H A Dbreakiterator.stub.php51 public static function createCharacterInstance(?string $locale = null): ?IntlBreakIterator {}
57 public static function createLineInstance(?string $locale = null): ?IntlBreakIterator {}
60 public static function createSentenceInstance(?string $locale = null): ?IntlBreakIterator {}
63 public static function createTitleInstance(?string $locale = null): ?IntlBreakIterator {}
66 public static function createWordInstance(?string $locale = null): ?IntlBreakIterator {}
101 public function next(?int $offset = null): int {}
/php-src/ext/intl/timezone/
H A Dtimezone.stub.php52 public static function createEnumeration($countryOrRawOffset = null): IntlIterator|false {}
64 …tion createTimeZoneIDEnumeration(int $type, ?string $region = null, ?int $rawOffset = null): IntlI…
77 public static function getCanonicalID(string $timezoneId, &$isSystemId = null): string|false {}
83 …ool $dst = false, int $style = IntlTimeZone::DISPLAY_LONG, ?string $locale = null): string|false {}
171 …public static function getIDForWindowsID(string $timezoneId, ?string $region = null): string|false…
/php-src/ext/xsl/
H A Dphp_xsl.stub.php92 public function transformToDoc(object $document, ?string $returnClass = null): object|false {}
104 public function transformToXml(object $document): string|null|false {}
107 …public function setParameter(string $namespace, array|string $name, ?string $value = null): bool {}
119 public function registerPHPFunctions(array|string|null $functions = null): void {}
/php-src/ext/filter/tests/
H A Dbug67167.02.phpt2 Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null
8 null,

Completed in 35 milliseconds

12345678910>>...83