Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <body> <?php $count = 0; function example() { global $count; $count++; echo "$count instructions executed<br>"; } register_tick_function('exemple'); declare(ticks=1) { $cars = ["Ford", "Volvo", "BMW"]; foreach($cars as $car) { echo "$car <br>"; } } ?> </body> </html>
1 instructions executed
Ford
2 instructions executed
Volvo
3 instructions executed
BMW
4 instructions executed
5 instructions exécutées