Inspectopedia
 
2024.3

'pow()' call can be replaced with '**' operator

Info
New
Last modified: 03 December 2024

Reports the pow() calls that can be replaced with the ** operator, which adds no overhead of calling a function.

See Power operator (php.net) for details.