@@ -357,7 +357,7 @@ function unregister_tick_function(callable $callback): void {}
357
357
358
358
function is_uploaded_file (string $ filename ): bool {}
359
359
360
- function move_uploaded_file (string $ filename , string $ new_filename ): bool {}
360
+ function move_uploaded_file (string $ from , string $ to ): bool {}
361
361
362
362
function parse_ini_file (string $ filename , bool $ process_sections = false , int $ scanner_mode = INI_SCANNER_NORMAL ): array |false {}
363
363
@@ -835,10 +835,10 @@ function fputs($stream, string $string, ?int $max_length = null): int|false {}
835
835
function mkdir (string $ directory , int $ mode = 0777 , bool $ recursive = false , $ context = null ): bool {}
836
836
837
837
/** @param resource|null $context */
838
- function rename (string $ old_name , string $ new_name , $ context = null ): bool {}
838
+ function rename (string $ from , string $ to , $ context = null ): bool {}
839
839
840
840
/** @param resource|null $context */
841
- function copy (string $ source , string $ dest , $ context = null ): bool {}
841
+ function copy (string $ from , string $ to , $ context = null ): bool {}
842
842
843
843
function tempnam (string $ directory , string $ prefix ): string |false {}
844
844
@@ -1290,10 +1290,10 @@ function stream_socket_pair(int $domain, int $type, int $protocol): array|false
1290
1290
#endif
1291
1291
1292
1292
/**
1293
- * @param resource $source
1294
- * @param resource $dest
1293
+ * @param resource $from
1294
+ * @param resource $to
1295
1295
*/
1296
- function stream_copy_to_stream ($ source , $ dest , ?int $ max_length = null , int $ offset = 0 ): int |false {}
1296
+ function stream_copy_to_stream ($ from , $ to , ?int $ max_length = null , int $ offset = 0 ): int |false {}
1297
1297
1298
1298
/** @param resource $stream */
1299
1299
function stream_get_contents ($ stream , ?int $ max_length = null , int $ offset = -1 ): string |false {}
0 commit comments