/PHP-8.1/ext/standard/tests/file/ |
H A D | fflush_basic.phpt | 7 $data = <<<EOD 22 $data = str_replace("\r",'', $data); 25 // writing data to the file 26 var_dump( fwrite($file_handle, $data) );
|
H A D | filesize_variation4.phpt | 10 /* 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 D | fopencookie.phpt | 21 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 D | sxe_002.phpt | 18 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 D | var_unserializer.re | 483 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 D | bug50006_1.phpt | 6 $data = array( 11 usort($data, 'magic_sort_cmp'); 12 print_r($data);
|
H A D | bug50006_2.phpt | 6 $data = array( 11 uasort($data, 'magic_sort_cmp'); 12 print_r($data);
|
/PHP-8.1/Zend/tests/ |
H A D | bug69996.phpt | 8 var_dump($prepared->data); 9 $prepared->data = "bad"; 14 $cache->data = "good";
|
H A D | bug72543.phpt | 15 $data = [ 21 create_references($data); 23 $copy = $data['a'];
|
/PHP-8.1/ext/spl/ |
H A D | spl_dllist.c | 131 zval_ptr_dtor(¤t->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 D | bug73037.phpt | 34 $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 D | xmltype_01.phpt | 47 $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 D | openssl_sign_basic.phpt | 7 $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 D | pdo_oci_attr_autocommit_1.phpt | 41 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 D | socket_cmsg_credentials.phpt | 45 $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 D | rfc1867_max_file_size.phpt | 8 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 D | rfc1867_empty_upload.phpt | 8 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 D | rfc1867_sid_only_cookie_2.phpt | 23 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 D | decbin_variation1.phpt | 2 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 D | decbin_variation1_64bit.phpt | 2 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 D | dechex_variation1.phpt | 2 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 D | dechex_variation1_64bit.phpt | 2 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 D | decoct_variation1.phpt | 2 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 D | decoct_variation1_64bit.phpt | 2 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 D | hash.stub.php | 6 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
|