4.2.37. Rename FunctionCalls

Rename a function call to another function.

4.2.37.1. Before

<?php
    foo(1, 2);
?>

4.2.37.2. After

<?php
    bar(1, 2);
?>

4.2.37.3. Parameters

Name

Default

Type

Description

origin

strtolower

string

The function name to rename. It will be use lower-cased, and as a fully qualified name.

destination

mb_strtolower

string

The function name to rename. It will be use as is. FQN is possible.

4.2.37.4. Suggested Analysis

  • No anchor for Utils/Selector

4.2.37.6. Reverse Cobbler

  • This cobbler is its own reverse.

4.2.37.7. Specs

Short Name

Structures/RenameFunctionCall

Exakat version

2.3.0

Available in

Entreprise Edition, Exakat Cloud