Skip to content

Commit 16cb160

Browse files
committed
sprintf functions are locale dependent
1 parent 6ef8fd1 commit 16cb160

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2966,20 +2966,14 @@ function realpath_cache_size(): int {}
29662966

29672967
/* formatted_print.c */
29682968

2969-
/**
2970-
* @compile-time-eval
2971-
* @refcount 1
2972-
*/
2969+
/** @refcount 1 */
29732970
function sprintf(string $format, mixed ...$values): string {}
29742971

29752972
function printf(string $format, mixed ...$values): int {}
29762973

29772974
function vprintf(string $format, array $values): int {}
29782975

2979-
/**
2980-
* @compile-time-eval
2981-
* @refcount 1
2982-
*/
2976+
/** @refcount 1 */
29832977
function vsprintf(string $format, array $values): string {}
29842978

29852979
/** @param resource $stream */

ext/standard/basic_functions_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)