Home
last modified time | relevance | path

Searched refs:empty (Results 51 – 75 of 919) sorted by relevance

12345678910>>...37

/PHP-8.2/Zend/tests/
H A Dindirect_call_string_002.phpt2 Indirect call with empty class and/or method name.
21 // Test array syntax with empty class name
29 // Test Class::method syntax with empty class name
37 // Test array syntax with empty class and method name
45 // Test Class::method syntax with empty class and method name
H A Dlist_012.phpt2 Disallow empty elements in normal arrays
10 Fatal error: Cannot use empty array elements in arrays in %s on line %d
H A Dlist_013.phpt2 Disallow tail empty elements in normal arrays
10 Fatal error: Cannot use empty array elements in arrays in %s on line %d
H A Dbug75426.phpt2 Bug #75426: "Cannot use empty array elements" reports wrong position
15 Fatal error: Cannot use empty array elements in arrays in %s on line 5
H A Dforeach_list_004.phpt2 foreach with empty list
13 Fatal error: Cannot use empty list in %sforeach_list_004.php on line %d
H A D019.phpt2 Test unset(), empty() and isset() functions
49 var_dump( empty($scalar_var) );
60 // empty to check if empty, expecting bool(true)
61 var_dump( empty($scalar_var) );
100 …var_dump( empty($array_var) ); // expecting bool(false), except: array(), which is considered empty
138 // empty() to see if the array is empty
279 // check using isset and empty
281 var_dump( empty($static_var) );
286 // check using isset and empty
288 var_dump( empty($static_var) );
[all …]
/PHP-8.2/ext/spl/tests/
H A Darray_010.phpt11 var_dump(empty($obj[0]));
12 var_dump(empty($obj[1]));
13 var_dump(empty($obj[2]));
14 var_dump(empty($obj['4th']));
15 var_dump(empty($obj['5th']));
16 var_dump(empty($obj[6]));
H A Dfixedarray_016.phpt7 var_dump(empty($a[0]), empty($a[1]), $a);
H A DSplDoublyLinkedList_bottom_empty.phpt2 SplDoublyLinkedList::bottom empty
14 Can't peek at an empty datastructure
H A DSplDoublyLinkedList_top_empty.phpt2 SplDoublyLinkedList::top empty
14 Can't peek at an empty datastructure
/PHP-8.2/ext/standard/tests/general_functions/
H A Dintval_variation1.phpt52 'empty array' => array(),
67 // empty data
68 'empty string DQ' => "",
69 'empty string SQ' => '',
126 --empty array--
156 --empty string DQ--
159 --empty string SQ--
/PHP-8.2/ext/simplexml/tests/
H A Dbug67572.phpt9 var_dump(empty($foo));
16 var_dump(empty($value));
22 var_dump(empty($value));
/PHP-8.2/ext/exif/tests/
H A Dfilename_empty.phpt2 Passing empty filename to exif_read_data() and exif_thumnail()
34 exif_read_data(): Argument #1 ($file) cannot be empty
35 exif_thumbnail(): Argument #1 ($file) cannot be empty
/PHP-8.2/ext/standard/tests/network/
H A Dbug69523.phpt2 setcookie() allows empty cookie name
12 setcookie(): Argument #1 ($name) cannot be empty
/PHP-8.2/ext/standard/tests/dir/
H A Dbug41693.phpt2 Bug #41693 (scandir() allows empty directory names)
14 scandir(): Argument #1 ($directory) cannot be empty
/PHP-8.2/ext/opcache/tests/jit/
H A Dgh12748.phpt17 echo "empty():\n";
18 var_dump(empty($container[new stdClass()]));
32 empty():
/PHP-8.2/ext/dom/tests/
H A DDOMDocument_loadHTMLfile_error2.phpt2 Test DOMDocument::loadHTMLFile when an empty string is passed
4 Verifies that an error message is showed if an empty string is passed as argument
28 DOMDocument::loadHTMLFile(): Argument #1 ($filename) must not be empty
/PHP-8.2/ext/standard/tests/strings/
H A Dstrtr_variation4.phpt2 Test strtr() function : usage variations - empty string & null for 'str' argument
6 * empty string & null for 'str' argument and
10 echo "*** Testing strtr() : empty string & null for 'str' arg ***\n";
49 *** Testing strtr() : empty string & null for 'str' arg ***
/PHP-8.2/ext/standard/tests/array/
H A Dcurrent_variation2.phpt65 // empty data
66 /*5*/ 'empty string' => array(
71 /*6*/ 'empty array' => array(
127 -- Iteration 5 : empty string data --
130 -- Iteration 6 : empty array data --
H A Dkey_variation2.phpt51 // empty data
52 /*8*/ 'empty double quotes' => array(
56 /*9*/ 'empty single quotes' => array(
112 -- Iteration 6 : empty double quotes data --
115 -- Iteration 7 : empty single quotes data --
/PHP-8.2/ext/openssl/tests/
H A Dopenssl_pkcs7_decrypt_basic.phpt21 $empty = "";
31 var_dump(openssl_pkcs7_decrypt($empty, $outfile, $single_cert, $privkey));
32 var_dump(openssl_pkcs7_decrypt($encrypted, $empty, $single_cert, $privkey));
33 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $empty, $privkey));
34 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $single_cert, $empty));
H A Dopenssl_cms_decrypt_basic.phpt17 $empty = "";
30 var_dump(openssl_cms_decrypt($empty, $outfile, $single_cert, $privkey));
31 var_dump(openssl_cms_decrypt($encrypted, $empty, $single_cert, $privkey));
32 var_dump(openssl_cms_decrypt($encrypted, $outfile, $empty, $privkey));
33 var_dump(openssl_cms_decrypt($encrypted, $outfile, $single_cert, $empty));
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_get_connection_stats.phpt19 if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
22 if (!is_array($info2 = mysqli_get_client_stats()) || empty($info2))
42 if (!is_array($info = $link->get_connection_stats()) || empty($info))
60 if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
63 if (!is_array($info2 = mysqli_get_client_stats()) || empty($info2))
H A Dmysqli_driver.phpt61 printf("[008] getMessage() has returned an empty string.\n");
64 printf("[009] getCode() has returned an empty string.\n");
67 printf("[010] getFile() has returned an empty string.\n");
70 printf("[011] getLine() has returned an empty string.\n");
73 printf("[012] getTrace() has returned an empty array.\n");
76 printf("[013] getTraceAsString() has returned an empty string.\n");
79 printf("[014] __toString() has returned an empty string.\n");
/PHP-8.2/tests/lang/
H A Dbug24436.phpt2 Bug #24436 (isset() and empty() produce errors with non-existent variables in objects)
7 if (empty($this->test[0][0])) { print "test1";}

Completed in 80 milliseconds

12345678910>>...37