/PHP-7.2/ext/standard/tests/file/ |
H A D | copy_variation3.phpt | 10 /* Prototype: bool copy ( string $source, string $dest ); 11 Description: Makes a copy of the file source to dest. 36 echo "Size of the source file before copy operation => "; 40 echo "\n-- Now applying copy() on source file to create copies --"; 57 echo "Size of source file => "; 78 Size of the source file before copy operation => int(1500) 80 -- Now applying copy() on source file to create copies -- 85 Size of source file => int(1500) 92 Size of source file => int(1500) 99 Size of source file => int(1500) [all …]
|
H A D | copy_variation5.phpt | 10 /* Prototype: bool copy ( string $source, string $dest ); 11 Description: Makes a copy of the file source to dest. 35 echo "Size of the source file before copy operation => "; 39 echo "\n-- Now applying copy() on source file to create copies --"; 56 echo "Size of source file => "; 81 Size of the source file before copy operation => int(1500) 83 -- Now applying copy() on source file to create copies -- 88 Size of source file => int(1500) 95 Size of source file => int(1500) 102 Size of source file => int(1500)
|
H A D | copy_variation11.phpt | 5 /* Prototype: bool copy ( string $source, string $dest ); 6 Description: Makes a copy of the file source to dest. 14 echo "*** Test copy() function: Trying to create a copy of source file as a dir ***\n"; 23 echo "Size of source before copy operation => "; 24 var_dump( filesize($file) ); //size of source before copy 42 var_dump( filesize($file) ); //size of source after copy 53 *** Test copy() function: Trying to create a copy of source file as a dir *** 54 Size of source before copy operation => int(300)
|
H A D | copy_variation5-win32.phpt | 10 /* Prototype: bool copy ( string $source, string $dest ); 11 Description: Makes a copy of the file source to dest. 35 echo "Size of the source file before copy operation => "; 39 echo "\n-- Now applying copy() on source file to create copies --"; 56 echo "Size of source file => "; 82 Size of the source file before copy operation => int(1500) 84 -- Now applying copy() on source file to create copies -- 89 Size of source file => int(1500) 96 Size of source file => int(1500) 103 Size of source file => int(1500)
|
H A D | copy_variation3-win32.phpt | 10 /* Prototype: bool copy ( string $source, string $dest ); 11 Description: Makes a copy of the file source to dest. 36 echo "Size of the source file before copy operation => "; 40 echo "\n-- Now applying copy() on source file to create copies --"; 58 echo "Size of source file => "; 79 Size of the source file before copy operation => int(1500) 81 -- Now applying copy() on source file to create copies -- 86 Size of source file => int(1500) 93 Size of source file => int(1500)
|
H A D | copy_variation17.phpt | 2 Test copy() function: usage variations - wildcard chars in source 5 /* Prototype: bool copy ( string $source, string $dest ); 6 Description: Makes a copy of the file source to dest. 10 /* Test copy(): Trying to copy the source file which is given with the combination of wild-card cha… 14 echo "*** Test copy() function: With source file names containing wild-card chars ***\n"; 54 *** Test copy() function: With source file names containing wild-card chars ***
|
H A D | copy_variation4.phpt | 13 /* Prototype: bool copy ( string $source, string $dest ); 14 Description: Makes a copy of the file source to dest. 42 echo "Size of the source file before copy operation => "; 65 echo "Size of source file => "; 97 Size of source file => int(1500) 109 Size of source file => int(1500) 125 Size of source file => int(1500) 139 Size of source file => int(1500) 151 Size of source file => int(1500) 161 Size of source file => int(1500) [all …]
|
/PHP-7.2/ext/zip/lib/ |
H A D | zip_file_add.c | 45 zip_file_add(zip_t *za, const char *name, zip_source_t *source, zip_flags_t flags) in zip_file_add() argument 47 if (name == NULL || source == NULL) { in zip_file_add() 52 return _zip_file_replace(za, ZIP_UINT64_MAX, name, source, flags); in zip_file_add()
|
H A D | zip_dir_add.c | 49 zip_source_t *source; in zip_dir_add() local 74 if ((source=zip_source_buffer(za, NULL, 0, 0)) == NULL) { in zip_dir_add() 79 idx = _zip_file_replace(za, ZIP_UINT64_MAX, s ? s : name, source, flags); in zip_dir_add() 84 zip_source_free(source); in zip_dir_add()
|
H A D | zip_unchange_data.c | 40 if (ze->source) { in _zip_unchange_data() 41 zip_source_free(ze->source); in _zip_unchange_data() 42 ze->source = NULL; in _zip_unchange_data()
|
H A D | zip_replace.c | 40 zip_replace(zip_t *za, zip_uint64_t idx, zip_source_t *source) in zip_replace() argument 42 return zip_file_replace(za, idx, source, 0); in zip_replace()
|
H A D | zip_add.c | 47 zip_add(zip_t *za, const char *name, zip_source_t *source) in zip_add() argument 49 return zip_file_add(za, name, source, 0); in zip_add()
|
/PHP-7.2/ext/tokenizer/tests/ |
H A D | token_get_all_variation14.phpt | 7 /* Prototype : array token_get_all(string $source) 8 * Description: splits the given source into an array of PHP languange tokens 13 * Testing token_get_all() with 'source' string containing invalid/unknown token value 21 $source = '<?php 27 var_dump( token_get_all($source)); 29 // with invalid open tag for testing entire source to be unknown token 31 $source = '<pli 33 var_dump( token_get_all($source)); 37 $source = '<PDP display $a; <'; 38 var_dump( token_get_all($source));
|
H A D | token_get_all_variation7.phpt | 7 /* Prototype : array token_get_all(string $source) 8 * Description: splits the given source into an array of PHP languange tokens 13 * Passing 'source' argument with different increment/decrement operators to test them for token 18 echo "*** Testing token_get_all() : 'source' string with different increment/decrement operators **… 21 $source = '<?php 27 var_dump( token_get_all($source)); 32 *** Testing token_get_all() : 'source' string with different increment/decrement operators ***
|
H A D | token_get_all_variation6.phpt | 7 /* Prototype : array token_get_all(string $source) 8 * Description: splits the given source into an array of PHP languange tokens 13 * Passing 'source' argument with different bitwise operators to test them for token 18 echo "*** Testing token_get_all() : 'source' string with different bitwise operators ***\n"; 21 $source = '<?php 28 var_dump( token_get_all($source)); 33 *** Testing token_get_all() : 'source' string with different bitwise operators ***
|
H A D | token_get_all_variation2.phpt | 7 /* Prototype : array token_get_all(string $source) 8 * Description: splits the given source into an array of PHP languange tokens 13 * Passing 'source' argument with different arithmetic operators to test them for token 18 echo "*** Testing token_get_all() : 'source' string with different arithmetic operators ***\n"; 21 $source = array ( 27 for($count = 0; $count < count($source); $count++) { 29 var_dump( token_get_all($source[$count])); 34 *** Testing token_get_all() : 'source' string with different arithmetic operators ***
|
H A D | token_get_all_error.phpt | 7 /* Prototype : array token_get_all(string $source) 8 * Description: splits the given source into an array of PHP languange tokens 20 $source = '<?php ?>'; 22 var_dump( token_get_all($source, true, $extra_arg));
|
/PHP-7.2/ext/xml/tests/ |
H A D | xml_parser_create_ns_variation1.phpt | 110 Warning: xml_parser_create_ns(): unsupported source encoding "0" in %s on line %d 115 Warning: xml_parser_create_ns(): unsupported source encoding "1" in %s on line %d 120 Warning: xml_parser_create_ns(): unsupported source encoding "12345" in %s on line %d 125 Warning: xml_parser_create_ns(): unsupported source encoding "-2345" in %s on line %d 130 Warning: xml_parser_create_ns(): unsupported source encoding "10.5" in %s on line %d 135 Warning: xml_parser_create_ns(): unsupported source encoding "-10.5" in %s on line %d 150 Warning: xml_parser_create_ns(): unsupported source encoding "0.5" in %s on line %d 186 Warning: xml_parser_create_ns(): unsupported source encoding "1" in %s on line %d 194 Warning: xml_parser_create_ns(): unsupported source encoding "1" in %s on line %d 208 Warning: xml_parser_create_ns(): unsupported source encoding "string" in %s on line %d [all …]
|
H A D | xml_parser_create_variation1.phpt | 110 Warning: xml_parser_create(): unsupported source encoding "0" in %s on line %d 115 Warning: xml_parser_create(): unsupported source encoding "1" in %s on line %d 120 Warning: xml_parser_create(): unsupported source encoding "12345" in %s on line %d 125 Warning: xml_parser_create(): unsupported source encoding "-2345" in %s on line %d 130 Warning: xml_parser_create(): unsupported source encoding "10.5" in %s on line %d 135 Warning: xml_parser_create(): unsupported source encoding "-10.5" in %s on line %d 150 Warning: xml_parser_create(): unsupported source encoding "0.5" in %s on line %d 186 Warning: xml_parser_create(): unsupported source encoding "1" in %s on line %d 194 Warning: xml_parser_create(): unsupported source encoding "1" in %s on line %d 208 Warning: xml_parser_create(): unsupported source encoding "string" in %s on line %d [all …]
|
/PHP-7.2/Zend/ |
H A D | zend_ts_hash.c | 247 begin_read(source); in zend_ts_hash_copy() 249 zend_hash_copy(TS_HASH(target), TS_HASH(source), pCopyConstructor); in zend_ts_hash_copy() 251 end_read(source); in zend_ts_hash_copy() 256 begin_read(source); in zend_ts_hash_copy_to_hash() 257 zend_hash_copy(target, TS_HASH(source), pCopyConstructor); in zend_ts_hash_copy_to_hash() 258 end_read(source); in zend_ts_hash_copy_to_hash() 263 begin_read(source); in zend_ts_hash_merge() 265 zend_hash_merge(TS_HASH(target), TS_HASH(source), pCopyConstructor, overwrite); in zend_ts_hash_merge() 267 end_read(source); in zend_ts_hash_merge() 272 begin_read(source); in zend_ts_hash_merge_ex() [all …]
|
/PHP-7.2/ext/sockets/tests/ |
H A D | mcast_ipv4_recv.phpt | 84 echo "blocking source\n"; 88 "source" => $sblock, 97 echo "unblocking source\n"; 101 "source" => $sblock, 120 echo "joining source group\n"; 124 "source" => $sblock, 135 "source" => $sblock, 175 blocking source 180 unblocking source 189 joining source group [all …]
|
/PHP-7.2/ext/intl/tests/ |
H A D | uconverter_oop_callback.phpt | 10 * Called during conversion from source encoding to internal UChar representation 12 public function toUCallback($reason, $source, $codeUnits, &$error) { 14 return parent::toUCallback($reason, $source, $codeUnits, $error); 20 public function fromUCallback($reason, $source, $codePoint, &$error) { 22 return parent::fromUCallback($reason, $source, $codePoint, $error);
|
H A D | uconverter_oop_callback2.phpt | 10 * Called during conversion from source encoding to internal UChar representation 12 public function toUCallback($reason, $source, $codeUnits, &$error) { 14 return parent::toUCallback($reason, $source, $codeUnits, $error); 20 public function fromUCallback($reason, $source, $codePoint, &$error) { 22 return parent::fromUCallback($reason, $source, $codePoint, $error);
|
/PHP-7.2/ext/tokenizer/ |
H A D | tokenizer.c | 49 ZEND_ARG_INFO(0, source) 127 static zend_bool tokenize(zval *return_value, zend_string *source) in tokenize() argument 136 ZVAL_STR_COPY(&source_zval, source); in tokenize() 214 static zend_bool tokenize_parse(zval *return_value, zend_string *source) in tokenize_parse() argument 221 ZVAL_STR_COPY(&source_zval, source); in tokenize_parse() 262 zend_string *source; in PHP_FUNCTION() local 267 Z_PARAM_STR(source) in PHP_FUNCTION() 273 success = tokenize_parse(return_value, source); in PHP_FUNCTION() 275 success = tokenize(return_value, source); in PHP_FUNCTION()
|
/PHP-7.2/ext/gd/tests/ |
H A D | bug73281.phpt | 16 echo "truecolor source\n"; 26 echo "\npalette source\n"; 34 truecolor source 40 palette source
|