Home
last modified time | relevance | path

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

12345678910>>...84

/PHP-7.3/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 Dbug68446.phpt6 const BAR = null;
16 b(null);
21 a(null);
35 Fatal error: Uncaught TypeError: Argument 1 passed to a() must be of the type array, null given, ca…
/PHP-7.3/ext/standard/tests/array/
H A Deach_variation3.phpt49 // null data
50 /*4*/ 'null uppercase' => array(
51 NULL => 'null 1',
54 /*5*/ 'null lowercase' => array(
55 null => 'null 2',
147 -- Iteration 4: null uppercase data --
150 string(6) "null 1"
152 string(6) "null 1"
159 -- Iteration 5: null lowercase data --
162 string(6) "null 2"
[all …]
H A Darray_filter_variation7.phpt16 $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null);
26 // anonymous callback function with null argument
27 echo "Anonymous callback funciton with null argument\n";
30 // anonymous callback function with argument and null statement
31 echo "Anonymous callback function with regular argument and null statement\n";
58 Anonymous callback funciton with null argument
77 Anonymous callback function with regular argument and null statement
H A Darray_map_variation14.phpt2 Test array_map() function : usage variations - null value for 'callback' argument
11 * Test array_map() by passing null values for $callback argument and testing whether shortest
15 echo "*** Testing array_map() : null value for 'callback' argument ***\n";
26 /* calling array_map() with null callback */
28 echo "-- with null --\n";
29 var_dump( array_map(null, $arr1, $arr2, $arr3) );
47 *** Testing array_map() : null value for 'callback' argument ***
48 -- with null --
H A Darray_diff_uassoc_variation12.phpt2 Test array_diff_uassoc() function : usage variation - Passing null,unset and undefined variable ind…
21 'null indexed' => array(NULL => NULL, null => null),
37 --null indexed--
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'));
H A Dkey_variation2.phpt48 // null data
49 /*4*/ 'null uppercase' => array(
50 NULL => 'null 1',
53 /*5*/ 'null lowercase' => array(
54 null => 'null 2',
125 -- Iteration 4 : null uppercase data --
128 -- Iteration 5 : null lowercase data --
/PHP-7.3/ext/xmlwriter/tests/
H A Dbug41287.phpt14 xmlwriter_write_element_ns($xw, 'test', 'foo', null, '');
15 xmlwriter_write_element_ns($xw, null, 'bar', 'urn:x-test:', '');
16 xmlwriter_write_element_ns($xw, null, 'bar', '', '');
27 $xw->writeElementNS('test', 'foo', null, '');
28 $xw->writeElementNS(null, 'bar', 'urn:x-test:', '');
29 $xw->writeElementNS(null, 'bar', '', '');
H A Dbug41326.phpt14 $xml->writeElement('foo', null);
30 $xw->writeElementNS('test', 'foo', null, '');
31 $xw->writeElementNS(null, 'bar', 'urn:x-test:', '');
32 $xw->writeElementNS(null, 'bar', 'urn:x-test:', NULL);
33 $xw->writeElementNS(null, 'bar', 'urn:x-test:');
34 $xw->writeElementNS(null, 'bar', '', '');
/PHP-7.3/ext/openssl/tests/
H A DCertificateGenerator.inc13 /** @var resource|null */
16 /** @var resource|null */
30 * @param int|null $keyLength
33 private static function generateKey($keyLength = null)
35 if (null === $keyLength) {
66 null,
85 public function saveNewCertAsFileWithKey($commonNameForCert, $file, $keyLength = null)
H A Dopenssl_csr_sign_basic.phpt32 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args));
33 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg));
37 var_dump(openssl_csr_sign($csr, null, $wrong, 365));
38 var_dump(openssl_csr_sign($csr, null, $privkey, $wrong));
39 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $wrong));
40 var_dump(openssl_csr_sign($wrong, null, $privkey, 365));
41 var_dump(openssl_csr_sign(array(), null, $privkey, 365));
43 var_dump(openssl_csr_sign($csr, null, array(), 365));
44 var_dump(openssl_csr_sign($csr, null, $privkey, array()));
45 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg));
/PHP-7.3/sapi/fpm/tests/
H A Dtester.inc283 $fileName = null
305 * @return null|string
317 return null;
506 string $uri = null,
622 * @return null|string
627 $write = null;
628 $except = null;
632 return null;
676 * @param int|null $pid
889 private function getFile(string $extension, $dir = null, $name = null)
[all …]
/PHP-7.3/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-7.3/ext/standard/tests/strings/
H A Dstrncmp_variation7.phpt2 Test strncmp() function : usage variations - binary safe(null terminated strings)
10 /* Test strncmp() function with binary values passed to 'str1' & 'str2' and with the null terminate…
12 echo "*** Test strncmp() function: Checking with the null terminated strings ***\n";
14 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
22 *** Test strncmp() function: Checking with the null terminated strings ***
/PHP-7.3/ext/soap/tests/interop/Round2/Base/
H A Dr2_base_015s.phpt18 new SoapVar('arg', XSD_STRING, null, null, 'varString'),
19 new SoapVar('34', XSD_INT, null, null, 'varInt'),
20 new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat')
23 new SoapVar('arg', XSD_STRING, null, null, 'varString'),
24 new SoapVar('34', XSD_INT, null, null, 'varInt'),
25 new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat')
/PHP-7.3/ext/filter/tests/
H A Dbug67167.02.phpt2 Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null
8 null,
/PHP-7.3/ext/standard/tests/general_functions/
H A Dis_null.phpt9 echo "*** Testing is_null() with valid null values ***\n";
10 // different valid null values
17 // unset them to make it null.
20 $null_var2 = null;
24 null,
36 null values, expected output: bool(true) */
85 "null",
113 array(null),
135 var_dump( is_null(NULL, null) );
145 *** Testing is_null() with valid null values ***
[all …]
H A Dvar_export_basic4.phpt23 "'null'" => 'null',
100 -- Iteration: 'null' --
101 'null'
102 'null'
103 string(6) "'null'"
/PHP-7.3/ext/sockets/tests/
H A Dsocket_create_pair-wrongparams.phpt13 var_dump(socket_create_pair(AF_INET, null, null));
18 var_dump(socket_create_pair(AF_INET, null, null, $sockets));
20 var_dump(socket_create_pair(31337, null, null, $sockets));
/PHP-7.3/ext/intl/tests/
H A Dbug62082.phpt9 var_dump(locale_get_display_name(str_repeat("a", 300), null));
10 var_dump(locale_get_display_name(str_repeat("a", 512), null));
11 var_dump(locale_get_display_name(str_repeat("a", 600), null));
/PHP-7.3/ext/reflection/tests/
H A Dbug77772.phpt2 Bug #77772: ReflectionClass::getMethods(null) doesn't work
12 foreach ($rc->getMethods(null) as $method) {
15 foreach ($rc->getProperties(null) as $prop) {
/PHP-7.3/Zend/tests/return_types/
H A D002.phpt2 Returned null, expected array
6 return null;
11 Fatal error: Uncaught TypeError: Return value of test1() must be of the type array, null returned i…
/PHP-7.3/Zend/tests/traits/
H A Dbug60717.phpt11 function attributes(array $attributes = null);
12 function textArea(array $attributes = null, $value);
22 function textArea(array $attributes = null, $value) {}
23 abstract function attributes(array $attributes = null);
29 function attributes(array $attributes = null) { }
/PHP-7.3/ext/pdo/tests/
H A Ddebug_emulated_prepares.phpt28 $stmt = $db->prepare('SELECT :bool, :int, :string, :null');
32 $stmt->bindValue(':null', null, PDO::PARAM_NULL);
43 SQL: [34] SELECT :bool, :int, :string, :null
61 Key: Name: [5] :null
63 name=[5] ":null"

Completed in 79 milliseconds

12345678910>>...84