/php-src/ext/pdo_pgsql/tests/ |
H A D | bug69752.phpt | 23 id bigserial not null primary key, 24 field1 text not null, 25 field2 text not null, 26 field3 text not null, 27 field4 int4 not null 32 $first_time_usage = null; 45 if ($first_time_usage === null) $first_time_usage = $usage;
|
H A D | debug_emulated_prepares.phpt | 18 $stmt = $db->prepare('SELECT :bool, :int, :string, :null'); 22 $stmt->bindValue(':null', null, PDO::PARAM_NULL); 29 SQL: [34] SELECT :bool, :int, :string, :null 47 Key: Name: [5] :null 49 name=[5] ":null"
|
/php-src/ext/xml/tests/ |
H A D | xml_set_element_handler_errors.phpt | 14 xml_set_element_handler($obj, null, null); 24 xml_set_element_handler($parser, true, null); 30 xml_set_element_handler($parser, null, true); 37 xml_set_element_handler($parser, 10, null); 43 xml_set_element_handler($parser, null, 10); 50 xml_set_element_handler($parser, "nonexistent_method", null); 56 xml_set_element_handler($parser, null, "nonexistent_method"); 64 xml_set_element_handler($parser, "nonexistent_method", null); 71 xml_set_element_handler($parser, null, "nonexistent_method"); 83 …peError: xml_set_element_handler(): Argument #3 ($end_handler) must be of type callable|string|null [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | bug55283.phpt | 52 mysqli_ssl_set($link, null, null, null, null, "AES256-SHA"); 53 if (my_mysqli_real_connect($link, 'p:' . $host, $user, $passwd, $db, $port, null, $flags)) { 60 mysqli_ssl_set($link2, null, null, null, null, "AES256-SHA"); 61 if (my_mysqli_real_connect($link2, $host, $user, $passwd, $db, $port, null, $flags)) {
|
/php-src/Zend/tests/nullsafe_operator/ |
H A D | 003.phpt | 14 $null = null; 17 var_dump(null?->bar); 18 var_dump(null?->baz); 19 var_dump(null?->qux()); 20 var_dump(null?->quux());
|
H A D | 026.phpt | 9 $null = null; 12 Test::${$null?->foo}->bar; 18 Test::{$null?->foo}()->bar;
|
H A D | 033.phpt | 14 $null = null; 17 var_dump("{$null?->foo}"); 18 var_dump("{$null?->bar()}"); 19 var_dump("$null?->foo"); 20 var_dump("$null?->bar()");
|
/php-src/ext/standard/tests/mail/ |
H A D | mail_null_bytes.phpt | 2 mail() with null bytes in arguments 34 mail(): Argument #1 ($to) must not contain any null bytes 35 mail(): Argument #2 ($subject) must not contain any null bytes 36 mail(): Argument #3 ($message) must not contain any null bytes 37 mail(): Argument #4 ($additional_headers) must not contain any null bytes 38 mail(): Argument #5 ($additional_params) must not contain any null bytes
|
/php-src/ext/mbstring/tests/ |
H A D | mb_send_mail_null_bytes.phpt | 2 mb_send_mail() with null bytes in arguments 36 mb_send_mail(): Argument #1 ($to) must not contain any null bytes 37 mb_send_mail(): Argument #2 ($subject) must not contain any null bytes 38 mb_send_mail(): Argument #3 ($message) must not contain any null bytes 39 mb_send_mail(): Argument #4 ($additional_headers) must not contain any null bytes 40 mb_send_mail(): Argument #5 ($additional_params) must not contain any null bytes
|
/php-src/ext/standard/tests/strings/ |
H A D | strncmp_variation7.phpt | 2 Test strncmp() function : usage variations - binary safe(null terminated strings) 5 /* Test strncmp() function with binary values passed to 'str1' & 'str2' and with the null terminate… 7 echo "*** Test strncmp() function: Checking with the null terminated strings ***\n"; 9 /* A binary function should not expect a null terminated string, and it should treat input as a raw… 17 *** Test strncmp() function: Checking with the null terminated strings ***
|
/php-src/ext/xmlwriter/tests/ |
H A D | bug79344.phpt | 12 $writer->writeAttributeNS(null, 'test1', null, 'test1'); 13 $writer->startAttributeNS(null, 'test2', null);
|
/php-src/Zend/tests/ |
H A D | bug78598.phpt | 6 $my_var = null; 14 $my_var = null; 18 $my_var = null; 22 $my_var = null;
|
H A D | gh11488.phpt | 6 string|null $a = null, 10 Foo&Bar $c = null, 14 (Foo&Bar)|null $e = null,
|
/php-src/ext/soap/tests/interop/Round2/GroupB/ |
H A D | r2_groupB_004s.phpt | 10 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-src/Zend/tests/nullable_types/ |
H A D | union_nullable_property_fails.phpt | 7 public string|int $b = null; 15 …alue for property of type string|int may not be null. Use the nullable type string|int|null to all…
|
/php-src/ext/spl/tests/ |
H A D | bug77903.phpt | 8 var_dump($a->current()); // null 14 var_dump($a->current()); // null 20 var_dump($a->current()); // null 23 var_dump($a->current()); // null 29 var_dump($a->current()); // null 32 var_dump($a->current()); // null
|
/php-src/ext/reflection/tests/ |
H A D | bug60367.phpt | 22 $method->invoke(null); 23 $method->invokeArgs(null, array()); 25 $method->invoke(null); 26 $method->invokeArgs(null, array());
|
/php-src/ext/pcntl/tests/ |
H A D | pcntl_cpuaffinity.phpt | 13 var_dump(pcntl_setcpuaffinity(null, $mask)); 18 var_dump(pcntl_setcpuaffinity(null, ["0", "1"])); 21 pcntl_setcpuaffinity(null, []); 27 pcntl_setcpuaffinity(null, ["abc" => "def", 0 => "cpuid"]); 33 pcntl_setcpuaffinity(null, [PHP_INT_MAX]); 39 pcntl_setcpuaffinity(null, [-1024, 64, -2]); 51 pcntl_setcpuaffinity(null, [1, array(1)]);
|
/php-src/ext/intl/tests/ |
H A D | formatter_fail.phpt | 26 return null; 34 return null; 42 return null; 49 array(null, null), 60 $fmt = null; 67 $fmt = null; 74 $fmt = null; 83 $fmt = null; 116 Deprecated: NumberFormatter::create(): Passing null to parameter #2 ($style) of type int is depreca… 118 Deprecated: numfmt_create(): Passing null to parameter #1 ($locale) of type string is deprecated in… [all …]
|
/php-src/ext/opcache/tests/ |
H A D | bug75556.phpt | 11 function createFromFormat($format, $date, ?\DateTimeZone $tz = null): ?\DateTimeInterface 13 if ($tz !== null 20 return null; 23 var_dump(createFromFormat('m/d/Y', '12/07/2017', null));
|
/php-src/ext/opcache/tests/jit/ |
H A D | bug80447.phpt | 14 return [null, null]; 26 + ($treeNode[0][0] === null ? 1 : checkTree($treeNode[0])) 27 + ($treeNode[1][0] === null ? 1 : checkTree($treeNode[1]));
|
/php-src/ext/standard/tests/array/ |
H A D | array_diff_uassoc_variation12.phpt | 2 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 D | key_variation2.phpt | 31 // null data 32 /*4*/ 'null uppercase' => array( 33 NULL => 'null 1', 36 /*5*/ 'null lowercase' => array( 37 null => 'null 2', 98 -- Iteration 2 : null uppercase data -- 101 -- Iteration 3 : null lowercase data --
|
/php-src/Zend/tests/type_declarations/union_types/ |
H A D | type_checking_weak.phpt | 55 test('int|string|null', $values); 74 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float, null given 90 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|false, null giv… 106 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|float|bool, null given 122 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type int|bool, null given 127 Type int|string|null: 138 null => null 154 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type string|bool, null given 170 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|float, null given 186 null => {closure:%s:%d}(): Argument #1 ($arg) must be of type array|string, null given [all …]
|
/php-src/ext/reflection/tests/types/ |
H A D | union_types.phpt | 25 function test3(): null|false { } 28 function test6(): null|true { } 64 Type X|Y|int|float|false|null: 65 Allows null: true 81 Name: null 82 String: null 85 Allows null: false 107 Allows null: false 129 Allows null: false 140 Allows null: false [all …]
|