/php-src/ext/standard/tests/strings/ |
H A D | sprintf_variation15.phpt | 20 /* 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 D | basic_connection.phpt | 28 $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 D | bug78531.phpt | 28 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 D | dynamic_class_const_fetch_cache_slot.phpt | 39 $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 D | number_or_str_zpp.phpt | 18 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 D | property_write_errors.phpt | 24 $dom->xmlEncoding = null; 32 $entity->actualEncoding = null; 38 $entity->encoding = null; 44 $entity->version = null;
|
H A D | bug80332_1.phpt | 21 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 D | try_finally_019.phpt | 16 $a = null; 19 $a = null; 22 $a = null;
|
H A D | try_finally_020.phpt | 16 $a = null; 19 $a = null; 22 $a = null;
|
/php-src/Zend/tests/type_declarations/variance/internal_parent/ |
H A D | unresolvable_inheritance_check_return.phpt | 7 public static function createFromFormat($format, $datetime, $timezone = null): Wrong { } 12 …datetime, $timezone = null): Wrong and DateTime::createFromFormat(string $format, string $datetime…
|
H A D | unresolvable_inheritance_check_param.phpt | 7 …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 D | 013.phpt | 2 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 D | prop_types.phpt | 56 ; 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 D | http_build_query_with_null.phpt | 2 http_build_query() function with null in array 5 var_dump(http_build_query([null]));
|
/php-src/ext/intl/dateformat/ |
H A D | datepatterngenerator.stub.php | 8 public function __construct(?string $locale = null) {} 10 public static function create(?string $locale = null): ?IntlDatePatternGenerator {}
|
/php-src/Zend/tests/type_declarations/ |
H A D | scalar_null.phpt | 20 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 D | typed_properties_068.phpt | 5 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 D | uconverter_oop_callback_return.phpt | 8 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 D | pure_intersection_type_implicitly_nullable.phpt | 20 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 D | gettext.stub.php | 6 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 D | gd.stub.php | 601 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 D | assign_obj_on_null.phpt | 2 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 D | proc_open_sockets2.phpt | 8 $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 D | Element_setAttributeNode.phpt | 16 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 D | com_extension.stub.php | 343 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…
|