/PHP-7.4/ext/standard/tests/strings/ |
H A D | unpack_bug68225.phpt | 6 $data = pack('VV', 1, 2); 8 $result = unpack('Va/X' ,$data); 11 $result = unpack('Va/X4' ,$data); 14 $result = unpack('V1a/X4/V1b/V1c/X4/V1d', $data);
|
H A D | vsprintf_variation2.phpt | 39 // int data 45 // float data 52 // null data 56 // boolean data 62 // empty data 66 // string data 70 // object data 73 // undefined data 76 // unset data 79 // resource data
|
H A D | vprintf_variation1.phpt | 39 // int data 45 // float data 52 // array data 59 // null data 63 // boolean data 69 // empty data 73 // object data 76 // undefined data 79 // unset data 82 // resource data
|
H A D | vprintf_variation2.phpt | 39 // int data 45 // float data 52 // null data 56 // boolean data 62 // empty data 66 // string data 70 // object data 73 // undefined data 76 // unset data 79 // resource data
|
H A D | vsprintf_variation1.phpt | 39 // int data 45 // float data 52 // array data 59 // null data 63 // boolean data 69 // empty data 73 // object data 76 // undefined data 79 // unset data 82 // resource data
|
/PHP-7.4/ext/standard/tests/math/ |
H A D | pow_variation1.phpt | 2 Test pow() function : usage variations - different data types as $base argument 37 // int data 44 // float data 51 // null data 55 // boolean data 61 // empty data 66 // string data 71 // object data 74 // undefined data 77 // unset data
|
H A D | pow_variation1_64bit.phpt | 2 Test pow() function : usage variations - different data types as $base argument 37 // int data 44 // float data 51 // null data 55 // boolean data 61 // empty data 66 // string data 71 // object data 74 // undefined data 77 // unset data
|
H A D | pow_variation2.phpt | 2 Test pow() function : usage variations - different data types as $exp argument 33 // int data 40 // float data 47 // null data 51 // boolean data 57 // empty data 62 // string data 67 // object data 70 // undefined data 73 // unset data
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | 001.phpt | 59 $data = serialize($t); 60 echo "$data\n"; 61 $t = unserialize($data); 65 $data = serialize($t); 66 echo "$data\n"; 67 $t = unserialize($data); 73 $data = serialize($a); 74 echo "$data\n"; 75 $a = unserialize($data);
|
/PHP-7.4/tests/basic/ |
H A D | rfc1867_file_upload_disabled.phpt | 6 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737 8 Content-Disposition: form-data; name="foo" 12 Content-Disposition: form-data; name="file1"; filename="file1.txt" 17 Content-Disposition: form-data; name="bar"
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cp51932.c | 121 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 130 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 171 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 173 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 178 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 186 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 188 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 193 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 289 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_cp51932() 291 CK((*filter->output_function)(0x8e, filter->data)); in mbfl_filt_conv_wchar_cp51932() [all …]
|
H A D | mbfilter_sjis_mac.c | 142 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 164 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 259 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 261 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 266 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 361 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac() 480 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac() 485 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac() 486 CK((*filter->output_function)(s2, filter->data)); in mbfl_filt_conv_wchar_sjis_mac() 551 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac() [all …]
|
/PHP-7.4/sapi/apache2handler/ |
H A D | apache_config.c | 150 zval *data; in merge_php_config() local 156 ZEND_HASH_FOREACH_STR_KEY_VAL(&d->config, str, data) { in merge_php_config() 163 new_entry = zend_hash_add(&n->config, key, data); in merge_php_config() 192 php_dir_entry *data; in apply_config() local 194 ZEND_HASH_FOREACH_STR_KEY_PTR(&d->config, str, data) { in apply_config() 195 phpapdebug((stderr, "APPLYING (%s)(%s)\n", ZSTR_VAL(str), data->value)); in apply_config() 196 …if (zend_alter_ini_entry_chars(str, data->value, data->value_len, data->status, data->htaccess?PHP… in apply_config() 212 static apr_status_t destroy_php_config(void *data) in destroy_php_config() argument 214 php_conf_rec *d = data; in destroy_php_config() 216 phpapdebug((stderr, "Destroying config %p\n", data)); in destroy_php_config()
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_list.c | 135 phpdbg_file_source *data; in phpdbg_list_file() local 149 if (lastline > data->lines) { in phpdbg_list_file() 150 lastline = data->lines; in phpdbg_list_file() 236 phpdbg_file_source data, *dataptr; in phpdbg_compile_file() local 254 data.buf = estrndup(bufptr, len); in phpdbg_compile_file() 255 data.len = len; in phpdbg_compile_file() 259 efree(data.buf); in phpdbg_compile_file() 263 data.buf[data.len] = '\0'; in phpdbg_compile_file() 264 data.line[0] = 0; in phpdbg_compile_file() 265 *(dataptr = emalloc(sizeof(phpdbg_file_source) + sizeof(uint32_t) * data.len)) = data; in phpdbg_compile_file() [all …]
|
/PHP-7.4/ext/session/tests/ |
H A D | session_cache_limiter_error.phpt | 38 // Integer data 44 // Float data 51 // Null data 55 // Boolean data 65 // Invalid string data 70 // Object data 73 // Undefined data 76 // Unset data
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | file_put_contents_variation8.phpt | 14 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) 15 * Description: Write/Create a file with contents data and return the number of bytes written 46 $res = file_put_contents($names_arr[$i], "Some data"); 52 echo "Failed to write data to: $names_arr[$i]\n"; 68 Failed to write data to: 72 Failed to write data to: 76 Failed to write data to: 82 Failed to write data to: 88 Failed to write data to: Array 92 Failed to write data to: %sdir [all …]
|
H A D | fwrite.phpt | 14 var_dump(fwrite($fp, "data")); 17 var_dump(fwrite($fp, "data", -1)); 18 var_dump(fwrite($fp, "data", 100000)); 21 var_dump(fwrite($fp, "data", -1)); 23 var_dump(fwrite(array(), "data", -1)); 24 var_dump(fwrite(array(), "data")); 53 string(4) "data"
|
H A D | fputcsv_002.phpt | 2 fputcsv(): Checking data after calling the function 8 $data = array(1, 2, 'foo', 'haha', array(4, 5, 6), 1.3, null); 12 fputcsv($fp, $data); 14 var_dump($data);
|
/PHP-7.4/ext/zlib/tests/ |
H A D | bug71417.phpt | 14 // 1. Set a random byte in the middle of the compressed data. 19 // gzip: test-zlib-inflate.gz: invalid compressed data--crc error 22 // 2. Truncate the compressed data. 34 // gzip: test-zlib-inflate.gz: invalid compressed data--crc error 41 // gzip: test-zlib-inflate.gz: invalid compressed data--length error 45 // The gzdecode() function applied to the corrupted compressed data always 47 // --> gzdecode(): PHP Fatal error: Uncaught ErrorException: gzdecode(): data error in ... 70 Warning: gzdecode(): data error in %s on line %d 74 Warning: gzdecode(): data error in %s on line %d 78 Warning: gzdecode(): data error in %s on line %d [all …]
|
/PHP-7.4/ext/xmlrpc/libxmlrpc/ |
H A D | queue.h | 30 void *data ; member 64 int Q_Put(queue *q, void *data); 66 int Q_Find(queue *q, void *data, 68 void *Q_Seek(queue *q, void *data, 70 int Q_Insert(queue *q, void *data, 79 int Q_Iter_Put(q_iter qi, void* data); /* not read only! here for completeness. */ 87 #define Q_Iter_Get_F(qi) (qi ? ((node*)qi)->data : NULL)
|
/PHP-7.4/ext/openssl/tests/ |
H A D | openssl_decrypt_basic.phpt | 7 $data = "openssl_encrypt() and openssl_decrypt() tests"; 16 $encrypted = openssl_encrypt($data, $method, $password, 0, $iv); 19 $encrypted = openssl_encrypt($data, $method, $password, OPENSSL_RAW_DATA, $iv); 23 $padded_data = $data . str_repeat(' ', 16 - (strlen($data) % 16)); 28 $encrypted = openssl_encrypt($data, "bf-ecb", $password, OPENSSL_DONT_ZERO_PAD_KEY); 34 openssl_encrypt($data, $method, $password, 0, $iv, $tag);
|
/PHP-7.4/ext/filter/tests/ |
H A D | 033_run.inc | 4 function test($data) { 5 return strtoupper($data); 8 $data = array( 24 …foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>array("re… 26 foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>"test"));
|
/PHP-7.4/ext/pgsql/tests/ |
H A D | bug37100_9.phpt | 2 Bug #37100 (data is returned truncated with BINARY CURSOR) (9.0+) 21 $data = pg_query("SELECT binfield FROM test_bug"); 22 $res = pg_fetch_result($data,0); 28 $data = pg_query($sql); 29 $res = pg_fetch_result($data,0);
|
/PHP-7.4/Zend/tests/ |
H A D | bug38779.phpt | 8 private $data; 10 $this->data = '<' . "?php \n\"\";ll l\n ?" . '>'; 15 $ret = substr($this->data, $this->position, $count); 20 return $this->position >= strlen($this->data); 23 return array('size' => strlen($this->data));
|
/PHP-7.4/ext/spl/tests/ |
H A D | SplFileObject_fputcsv_002.phpt | 2 SplFileObject::fputcsv(): Checking data after calling the function 7 $data = array(1, 2, 'foo', 'haha', array(4, 5, 6), 1.3, null); 9 $fo->fputcsv($data); 11 var_dump($data);
|