Skip to content

Commit dfc04c0

Browse files
committed
Revert strtr
strtr has two different signatures for each arity and as such cannot use arity completion.
1 parent 130618b commit dfc04c0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2472,7 +2472,7 @@ function ucwords(string $string, string $separators = " \t\r\n\f\v"): string {}
24722472

24732473
/**
24742474
* @compile-time-eval
2475-
* frameless-function {"arity": 2}
2475+
* @frameless-function {"arity": 2}
24762476
* @frameless-function {"arity": 3}
24772477
*/
24782478
function strtr(string $string, string|array $from, ?string $to = null): string {}

ext/standard/basic_functions_arginfo.h

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

0 commit comments

Comments
 (0)