Home
last modified time | relevance | path

Searched refs:null (Results 251 – 275 of 2061) sorted by relevance

1...<<11121314151617181920>>...83

/php-src/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-src/ext/pdo_odbc/tests/
H A Dbasic_connection.phpt28 $db = null;
35 …$db = new PDO("{$dsn};uid={$user};pwd={$password}", null, null, [PDO::ATTR_ERRMODE => PDO::ERRMODE…
37 $db = null;
46 $db = null;
55 $db = null;
64 $db = null;
/php-src/Zend/tests/
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
H A Ddynamic_class_const_fetch_cache_slot.phpt39 $c->bindTo(null, Foo::class)('BAR');
40 $c->bindTo(null, Bar::class)('BAZ');
41 $c->bindTo(null, Foo::class)('class');
42 $c->bindTo(null, Bar::class)('class');
H A Dnumber_or_str_zpp.phpt18 var_dump(zend_number_or_string(null));
37 var_dump(zend_number_or_string_or_null(null));
59 Deprecated: zend_number_or_string(): Passing null to parameter #1 ($param) of type string|int|float…
73 zend_number_or_string_or_null(): Argument #1 ($param) must be of type string|int|float|null, array …
74 zend_number_or_string_or_null(): Argument #1 ($param) must be of type string|int|float|null, Foo gi…
/php-src/ext/dom/tests/
H A Dproperty_write_errors.phpt24 $dom->xmlEncoding = null;
32 $entity->actualEncoding = null;
38 $entity->encoding = null;
44 $entity->version = null;
H A Dbug80332_1.phpt21 null => 'null',
33 test($span, null);
58 Attribute [null] name: attr1
59 Attribute [null] value: value1
60 Attribute [null] isset: yes
/php-src/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-src/Zend/tests/type_declarations/variance/internal_parent/
H A Dunresolvable_inheritance_check_return.phpt7 public static function createFromFormat($format, $datetime, $timezone = null): Wrong { }
12 …datetime, $timezone = null): Wrong and DateTime::createFromFormat(string $format, string $datetime…
H A Dunresolvable_inheritance_check_param.phpt7 …public static function createFromFormat($format, $datetime, ?Wrong $timezone = null): DateTime|fal…
12 …Wrong $timezone = null): DateTime|false and DateTime::createFromFormat(string $format, string $dat…
/php-src/Zend/tests/return_types/
H A D013.phpt2 Closure inside method returned null, expected array
9 return null;
18 Fatal error: Uncaught TypeError: foo::{closure:%s:%d}(): Return value must be of type array, null r…
/php-src/ext/opcache/tests/opt/
H A Dprop_types.phpt56 ; return [null] RANGE[0..0]
70 0009 RETURN null
76 ; return [null] RANGE[0..0]
88 0008 RETURN null
94 ; return [null] RANGE[0..0]
108 0009 RETURN null
114 ; return [null] RANGE[0..0]
126 0008 RETURN null
/php-src/ext/standard/tests/http/http_build_query/
H A Dhttp_build_query_with_null.phpt2 http_build_query() function with null in array
5 var_dump(http_build_query([null]));
/php-src/ext/intl/dateformat/
H A Ddatepatterngenerator.stub.php8 public function __construct(?string $locale = null) {}
10 public static function create(?string $locale = null): ?IntlDatePatternGenerator {}
/php-src/Zend/tests/type_declarations/
H A Dscalar_null.phpt20 var_dump($function(null));
30 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, null given, called in %s on lin…
32 *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, null given, called in %s on l…
34 *** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, null given, called in %s on …
36 *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, null given, called in %s on li…
H A Dtyped_properties_068.phpt5 function &ref($a = null) {
7 if ($a !== null) $f = function &() use (&$a) { return $a; };
30 $i = null;
35 Foo::$i = null;
69 Cannot assign null to reference held by property Foo::$i of type int
72 Cannot assign null to property Foo::$i of type int
/php-src/ext/intl/tests/
H A Duconverter_oop_callback_return.phpt8 public function toUCallback($reason, $source, $codeUnits, &$error): string|int|array|null {
17 return null;
23 public function fromUCallback($reason, $source, $codePoint, &$error): string|int|array|null {
32 return null;
/php-src/ext/reflection/tests/types/
H A Dpure_intersection_type_implicitly_nullable.phpt20 function foo(X&Y $foo = null) {
29 Type (X&Y)|null is ReflectionUnionType:
37 Name: null
38 String: null
/php-src/ext/gettext/
H A Dgettext.stub.php6 function textdomain(?string $domain = null): string {}
21 function bindtextdomain(string $domain, ?string $directory = null): string|false {}
40 function bind_textdomain_codeset(string $domain, ?string $codeset = null): string|false {}
/php-src/ext/gd/
H A Dgd.stub.php601 function imagexbm(GdImage $image, ?string $filename, ?int $foreground_color = null): bool {}
609 function imagegif(GdImage $image, $file = null): bool {}
618 function imagewebp(GdImage $image, $file = null, int $quality = -1): bool {}
623 function imagejpeg(GdImage $image, $file = null, int $quality = -1): bool {}
627 function imagewbmp(GdImage $image, $file = null, ?int $foreground_color = null): bool {}
629 function imagegd(GdImage $image, ?string $file = null): bool {}
635 function imagebmp(GdImage $image, $file = null, bool $compressed = true): bool {}
686 function imagecolortransparent(GdImage $image, ?int $color = null): int {}
688 function imageinterlace(GdImage $image, ?bool $enable = null): bool {}
773 function imageaffine(GdImage $image, array $affine, ?array $clip = null): GdImage|false {}
[all …]
/php-src/ext/opcache/tests/jit/
H A Dassign_obj_on_null.phpt2 ASSIGN_OBJ on null reference returned from __get()
35 Attempt to assign property "y" on null
36 Attempt to assign property "y" on null
/php-src/ext/standard/tests/general_functions/
H A Dproc_open_sockets2.phpt8 $r = ($read == true) ? [$pipe] : null;
9 $w = ($read == false) ? [$pipe] : null;
10 $e = null;
12 if (!stream_select($r, $w, $e, null)) {
/php-src/ext/dom/tests/modern/spec/
H A DElement_setAttributeNode.phpt16 var_dump($container->setAttributeNode($attribute1) === null);
22 var_dump($container->setAttributeNode($attribute3) === null);
29 var_dump($container->setAttributeNode($attribute4) === null);
32 var_dump($container->setAttributeNodeNS($attribute5) === null);
/php-src/ext/com_dotnet/
H A Dcom_extension.stub.php343 function com_get_active_object(string $prog_id, ?int $codepage = null): variant {}
347 …event_sink(variant $variant, object $sink_object, array|string|null $sink_interface = null): bool …
349 function com_print_typeinfo(variant|string $variant, ?string $dispatch_interface = null, bool $disp…
358 … public function __construct(mixed $value = null, int $type = VT_EMPTY, int $codepage = CP_ACP) {}
363 …public function __construct(string $module_name, array|string|null $server_name = null, int $codep…

Completed in 43 milliseconds

1...<<11121314151617181920>>...83