Home
last modified time | relevance | path

Searched refs:data (Results 301 – 325 of 1807) sorted by relevance

1...<<11121314151617181920>>...73

/PHP-8.1/ext/standard/tests/file/
H A Dfflush_basic.phpt7 $data = <<<EOD
22 $data = str_replace("\r",'', $data);
25 // writing data to the file
26 var_dump( fwrite($file_handle, $data) );
H A Dfilesize_variation4.phpt10 /* Testing filesize() with data written using different file modes and by creating holes in file */
15 echo "\n*** Testing filesize() with data written using different file modes and by creating holes i…
18 $string = "Test 2 test the filesize() fn, with data containing all the types like !@@##$%^&*():<>?|…
36 echo "-- opening the file in 'a' mode, adding data and checking the file --\n";
43 echo "-- opening the file in 'at' mode, adding data and checking the file --\n";
57 echo "-- writing data after hole and checking the size --\n";
59 fwrite($file_handle, "Hello\0"); //writing 6 bytes of data
85 *** Testing filesize() with data written using different file modes and by creating holes in file *…
92 -- opening the file in 'a' mode, adding data and checking the file --
94 -- opening the file in 'at' mode, adding data and checking the file --
[all …]
H A Dfopencookie.phpt21 public $data = "If you can read this, it worked";
30 $ret = substr($this->data, $this->position, $count);
42 return $this->position >= strlen($this->data);
49 if ($offset < strlen($this->data) && $offset >= 0) {
65 if (strlen($this->data) + $offset >= 0) {
66 $this->position = strlen($this->data) + $offset;
77 return array('size' => strlen($this->data));
/PHP-8.1/ext/simplexml/tests/
H A Dsxe_002.phpt18 Here we have some text data.
38 foreach(new RecursiveIteratorIterator($sxe, 1) as $name => $data) {
40 var_dump(get_class($data));
41 var_dump(trim($data));
56 string(28) "Here we have some text data."
/PHP-8.1/ext/standard/
H A Dvar_unserializer.re483 zval key, *data;
499 ZVAL_NULL(data);
509 ZVAL_NULL(data);
591 zval key, *data;
604 if (data != NULL) {
608 data = Z_INDIRECT_P(data);
626 ZVAL_NULL(data);
635 ZVAL_NULL(data);
654 ZVAL_NULL(data);
680 ZVAL_UNDEF(data);
[all …]
/PHP-8.1/ext/standard/tests/array/
H A Dbug50006_1.phpt6 $data = array(
11 usort($data, 'magic_sort_cmp');
12 print_r($data);
H A Dbug50006_2.phpt6 $data = array(
11 uasort($data, 'magic_sort_cmp');
12 print_r($data);
/PHP-8.1/Zend/tests/
H A Dbug69996.phpt8 var_dump($prepared->data);
9 $prepared->data = "bad";
14 $cache->data = "good";
H A Dbug72543.phpt15 $data = [
21 create_references($data);
23 $copy = $data['a'];
/PHP-8.1/ext/spl/
H A Dspl_dllist.c131 zval_ptr_dtor(&current->data); in spl_ptr_llist_destroy()
171 ZVAL_COPY(&elem->data, data); in spl_ptr_llist_unshift()
191 ZVAL_COPY(&elem->data, data); in spl_ptr_llist_push()
223 ZVAL_UNDEF(&tail->data); in spl_ptr_llist_pop()
238 return &tail->data; in spl_ptr_llist_last()
250 return &head->data; in spl_ptr_llist_first()
273 ZVAL_UNDEF(&head->data); in spl_ptr_llist_shift()
461 Z_ADDREF(current->data); in spl_dllist_object_get_debug_info()
805 ZVAL_UNDEF(&element->data); in PHP_METHOD()
903 return &element->data; in spl_dllist_it_get_current_data()
[all …]
/PHP-8.1/ext/soap/tests/
H A Dbug73037.phpt34 $data = $begin;
35 $data .= $piece;
36 while (strlen($data) + strlen($end) < $max) {
54 $data .= $tmp;
56 $data .= $end;
58 return $data;
81 $data = get_data($i);
83 $data = gzencode($data);
85 $len = strlen($data);
106 if(fwrite($fp, "$hdrs\n\n$data")) {
/PHP-8.1/ext/oci8/tests/
H A Dxmltype_01.phpt47 $data = $row[0]->load();
48 var_dump($data);
49 return($data);
54 $data = do_query($c);
56 // Manipulate the data using SimpleXML
57 $sx = simplexml_load_string($data);
73 $data = do_query($c);
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_sign_basic.phpt7 $data = "Testing openssl_sign()";
11 var_dump(openssl_sign($data, $sign, $privkey, OPENSSL_ALGO_SHA256)); // no output
12 var_dump(openssl_sign($data, $sign, $wrong));
/PHP-8.1/ext/pdo_oci/tests/
H A Dpdo_oci_attr_autocommit_1.phpt41 echo "Insert data\n";
43 $dbh->exec("insert into pdo_ac_tab (col1) values ('some data')");
47 echo "Second connection should be able to see committed data\n";
63 Insert data
64 Second connection should be able to see committed data
65 Data is: some data
/PHP-8.1/ext/sockets/tests/
H A Dsocket_cmsg_credentials.phpt45 $data = [
50 if (!socket_recvmsg($s, $data, 0)) die("recvmsg");
51 print_r($data);
54 var_dump($data['control'][0]['data']['pid'] === $pid);
78 [data] => Array
/PHP-8.1/tests/basic/
H A Drfc1867_max_file_size.phpt8 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
10 Content-Disposition: form-data; name="MAX_FILE_SIZE"
14 Content-Disposition: form-data; name="file1"; filename="file1.txt"
19 Content-Disposition: form-data; name="file2"; filename="file2.txt"
24 Content-Disposition: form-data; name="file3"; filename="C:\foo\bar/file3.txt"
H A Drfc1867_empty_upload.phpt8 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
10 Content-Disposition: form-data; name="foo"
14 Content-Disposition: form-data; name="file1"; filename="file1.txt"
19 Content-Disposition: form-data; name="file2"; filename=""
24 Content-Disposition: form-data; name="file3"; filename="file3.txt"
/PHP-8.1/ext/session/tests/
H A Drfc1867_sid_only_cookie_2.phpt23 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
25 Content-Disposition: form-data; name="PHPSESSID"
29 Content-Disposition: form-data; name="PHP_SESSION_UPLOAD_PROGRESS"
33 Content-Disposition: form-data; name="file1"; filename="file1.txt"
37 Content-Disposition: form-data; name="file2"; filename="file2.txt"
/PHP-8.1/ext/standard/tests/math/
H A Ddecbin_variation1.phpt2 Test decbin() function : usage variations - different data types as $num arg
14 // int data
22 // float data
25 // boolean data
31 // empty data
H A Ddecbin_variation1_64bit.phpt2 Test decbin() function : usage variations - different data types as $number arg
14 // int data
22 // float data
25 // boolean data
31 // empty data
H A Ddechex_variation1.phpt2 Test dechex() function : usage variations - different data types as $num arg
14 // int data
22 // float data
25 // boolean data
31 // empty data
H A Ddechex_variation1_64bit.phpt2 Test dechex() function : usage variations - different data types as $number arg
14 // int data
22 // float data
25 // boolean data
31 // empty data
H A Ddecoct_variation1.phpt2 Test decoct() function : usage variations - different data types as $num arg
14 // int data
22 // float data
25 // boolean data
31 // empty data
H A Ddecoct_variation1_64bit.phpt2 Test decoct() function : usage variations - different data types as $number arg
14 // int data
22 // float data
25 // boolean data
31 // empty data
/PHP-8.1/ext/hash/
H A Dhash.stub.php6 function hash(string $algo, string $data, bool $binary = false, array $options = []): string {} argument
12 function hash_hmac(string $algo, string $data, string $key, bool $binary = false): string {} argument
20 function hash_update(HashContext $context, string $data): bool {} argument
77 function mhash(int $algo, string $data, ?string $key = null): string|false {} argument
86 public function __unserialize(array $data): void {} argument

Completed in 54 milliseconds

1...<<11121314151617181920>>...73