Skip to main content
100%

Wie viel Zeit kosten Funktionsaufrufe in PHP?

✓ Published0🌍 Public
HHoffmannP
Last edited Feb 22, 2016
Created on Feb 22, 2016

This example measures the overhead of PHP function calls by generating two scripts: one with 10,000 nested function calls and one with equivalent code using only variables. The code uses PHP’s `microtime` API to time each variant and compares the results. The visualization renders the generated source files and shows the cost per call in seconds, highlighting the performance difference.

AI-generated description

Similar vizzes