Home
last modified time | relevance | path

Searched refs:null (Results 51 – 75 of 1803) sorted by relevance

12345678910>>...73

/PHP-8.0/ext/json/tests/
H A Dbug72069.phpt6 $result = json_encode(['end' => json_decode(null, true)]);
13 return ['end' => json_decode(null, true)];
25 string(12) "{"end":null}"
26 string(12) "{"end":null}"
27 string(12) "{"end":null}"
/PHP-8.0/ext/pdo/
H A Dpdo_dbh.stub.php7 …ion __construct(string $dsn, ?string $username = null, ?string $password = null, ?array $options =…
34 public function lastInsertId(?string $name = null) {}
40 public function query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) {}
/PHP-8.0/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_complex_rpcenc.inc5 …return new SoapFault("Server", "Fault in response to 'echoSOAPStructFault'.", null, $input, "Compl…
9 …return new SoapFault("Server", "Fault in response to 'echoBaseStructFault'.", null, $input, "Compl…
13 …return new SoapFault("Server", "Fault in response to 'echoExtendedStructFault'.", null, $input, "C…
18 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $s2, "ComplexF…
20 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, array("soapStr…
26 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s2, "ComplexF…
28 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s3, "ComplexF…
30 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s1, "ComplexF…
H A Dround4_groupH_complex_doclit.inc5 …return new SoapFault("Server", "Fault in response to 'echoSOAPStructFault'.", null, array("soapStr…
9 …return new SoapFault("Server", "Fault in response to 'echoBaseStructFault'.", null, $input, "Compl…
13 …return new SoapFault("Server", "Fault in response to 'echoExtendedStructFault'.", null, $input, "C…
18 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $input->param2…
20 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, array("soapStr…
26 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param2…
28 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param3…
30 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param1…
/PHP-8.0/ext/opcache/tests/opt/
H A Dnullsafe_002.phpt36 ; return [null] RANGE[0..0]
43 0000 #1.CV0($test) [null, object (instanceof Test)] = RECV 1
45 0002 #2.T1 [null] = JMP_NULL #1.CV0($test) [null, object (instanceof Test)] BB2
53 …#3.CV0($test) [object (instanceof Test)] = Pi<BB0>(#1.CV0($test) [null, object (instanceof Test)] …
61 #5.X1 [null, long] = Phi(#2.X1 [null], #4.X1 [long])
62 0004 SEND_VAL #5.T1 [null, long] 1
64 0006 RETURN null
H A Dnullsafe_001.phpt13 $null = null;
14 var_dump($null?->foo);
15 var_dump(isset($null?->foo));
16 var_dump(empty($null?->foo));
39 0001 SEND_VAL null 1
47 0009 RETURN null
69 0016 RETURN null
/PHP-8.0/ext/intl/timezone/
H A Dtimezone.stub.php26 public static function createEnumeration($countryOrRawOffset = null) {}
38 … function createTimeZoneIDEnumeration(int $type, ?string $region = null, ?int $rawOffset = null) {}
51 public static function getCanonicalID(string $timezoneId, &$isSystemId = null) {}
57 …tDisplayName(bool $dst = false, int $style = IntlTimeZone::DISPLAY_LONG, ?string $locale = null) {}
138 public static function getIDForWindowsID(string $timezoneId, ?string $region = null) {}
/PHP-8.0/ext/gettext/tests/
H A Dbug53251.phpt2 Bug #53251 (bindtextdomain with null dir doesn't return old value)
9 var_dump(is_string(bindtextdomain('foo', null)));
11 var_dump(bindtextdomain('foo', null) === $dir);
13 var_dump(bind_textdomain_codeset('foo', null));
15 var_dump(bind_textdomain_codeset('foo', null));
/PHP-8.0/Zend/tests/
H A Dclosure_044.phpt24 echo "After binding, null scope, no instance", "\n";
25 $d = $nonstaticUnscoped->bindTo(null, null); $d(); echo "\n";
26 $d = $nonstaticScoped->bindTo(null, null); var_dump($d); echo "\n";
28 echo "After binding, null scope, with instance", "\n";
29 $d = $nonstaticUnscoped->bindTo(new A, null); $d(); echo "\n";
30 $d = $nonstaticScoped->bindTo(new A, null); $d(); echo "\n";
33 $d = $nonstaticUnscoped->bindTo(null, 'A'); $d(); echo "\n";
34 $d = $nonstaticScoped->bindTo(null, 'A'); var_dump($d); echo "\n";
50 After binding, null scope, no instance
58 After binding, null scope, with instance
H A Dassign_coalesce_003.phpt31 $ary = new AA(["foo" => new AA, "null" => null]);
39 echo "[null]\n";
40 $ary["null"] ??= "baz";
56 [null]
57 offsetExists(null)
58 offsetGet(null)
59 offsetSet(null,baz)
H A Dmethods-on-non-objects-usort.phpt2 usort() in combination with "Call to a member function method() on null"
9 $comparator= null;
24 string(43) "Call to a member function compare() on null"
26 string(43) "Call to a member function compare() on null"
28 string(43) "Call to a member function compare() on null"
30 string(43) "Call to a member function compare() on null"
H A Dobject-null.phpt12 var_dump($b != null);
13 var_dump($b == null);
14 var_dump($b !== null);
15 var_dump($b === null);
H A Dclosure_043.phpt24 echo "After binding, null scope, no instance", "\n";
25 $d = $staticUnscoped->bindTo(null, null); $d(); echo "\n";
26 $d = $staticScoped->bindTo(null, null); $d(); echo "\n";
28 echo "After binding, null scope, with instance", "\n";
29 $d = $staticUnscoped->bindTo(new A, null);
30 $d = $staticScoped->bindTo(new A, null);
33 $d = $staticUnscoped->bindTo(null, 'A'); $d(); echo "\n";
34 $d = $staticScoped->bindTo(null, 'A'); $d(); echo "\n";
50 After binding, null scope, no instance
57 After binding, null scope, with instance
/PHP-8.0/ext/pdo_dblib/
H A Dconfig.w3211 PHP_PDO_DBLIB, null, null, true))
13 …EXTENSION("pdo_dblib", "pdo_dblib.c dblib_driver.c dblib_stmt.c", null, "/DZEND_ENABLE_STATIC_TSRM…
28 PHP_PDO_MSSQL, null, null, true)) {
34 …EXTENSION("pdo_mssql", "pdo_dblib.c dblib_driver.c dblib_stmt.c", null, null, null, "ext\\pdo_mssq…
/PHP-8.0/Zend/tests/nullsafe_operator/
H A D027.phpt17 $null = null;
18 takes_ref(returns_ref($null?->null()));
H A D028.phpt12 $null = null;
13 return returns_ref($null?->null);
/PHP-8.0/ext/standard/tests/array/
H A Darray_column_variant.phpt11 echo "-- pass null as second parameter to get back all columns indexed by third parameter --\n";
12 var_dump(array_column($rows, null, 'id'));
14 echo "-- pass null as second parameter and bogus third param to get back zero-indexed array of all …
15 var_dump(array_column($rows, null, 'foo'));
17 echo "-- pass null as second parameter and no third param to get back array_values(input) --\n";
18 var_dump(array_column($rows, null));
23 -- pass null as second parameter to get back all columns indexed by third parameter --
44 -- pass null as second parameter and bogus third param to get back zero-indexed array of all column…
65 -- pass null as second parameter and no third param to get back array_values(input) --
H A Darray_diff_ukey_variation9.phpt2 Test array_diff_ukey() function : usage variation - Passing null,unset and undefined variable index…
15 'null indexed' => array(NULL => 'null 1', null => 'null 2'),
30 --null indexed--
H A Darray_diff_key_variation7.phpt2 Test array_diff_key() function : usage variation - Passing null,unset and undefined variable indexe…
15 'null indexed' => array(NULL => 'null 1', null => 'null 2'),
30 --null indexed--
/PHP-8.0/ext/exif/
H A Dexif.stub.php8 function exif_read_data($file, ?string $required_sections = null, bool $as_arrays = false, bool $re…
16 function exif_thumbnail($file, &$width = null, &$height = null, &$image_type = null): string|false …
/PHP-8.0/ext/opcache/tests/jit/
H A Dassign_obj_001.phpt2 JIT ASSIGN_OBJ: Assign property on null
18 test1(null);
24 test2(null);
31 Attempt to assign property "x" on null
32 Attempt to assign property "x" on null
/PHP-8.0/ext/simplexml/
H A Dsimplexml.stub.php20 public function asXML(?string $filename = null) {}
26 public function saveXML(?string $filename = null) {}
35 public function children(?string $namespaceOrPrefix = null, bool $isPrefix = false) {}
38 public function attributes(?string $namespaceOrPrefix = null, bool $isPrefix = false) {}
43 …ublic function addChild(string $qualifiedName, ?string $value = null, ?string $namespace = null) {}
46 public function addAttribute(string $qualifiedName, string $value, ?string $namespace = null) {}
/PHP-8.0/Zend/tests/throw/
H A D002.phpt49 $exception1 = new Exception('Coalesce non-null 1');
50 $exception2 = new Exception('Coalesce non-null 2');
57 $exception1 = null;
58 $exception2 = new Exception('Coalesce null 2');
71 $exception = null;
72 throw $exception ??= new Exception('Coalesce assignment null');
78 $exception = new Exception('Coalesce assignment non-null 1');
120 Coalesce non-null 1
121 Coalesce null 2
123 Coalesce assignment null
[all …]
/PHP-8.0/ext/opcache/tests/
H A Djmp_elim_004.phpt15 $null = null;
16 var_dump($null ?? 3);
17 var_dump($null ?? new stdClass);
/PHP-8.0/ext/standard/tests/file/
H A Dfnmatch_variation.phpt131 null,
190 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
192 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
272 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
273 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
274 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
275 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
276 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
277 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
286 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
[all …]

Completed in 38 milliseconds

12345678910>>...73