<html>
<body>
$count = 0;
function example() {
global $count;
$count++;
echo "$count instructions executed<br>";
}
register_tick_function('example');
declare(ticks=1):
$cars = ["Ford", "Volvo", "BMW"];
foreach($cars as $car) {
echo "$car <br>";
}
enddeclare;
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_keyword_enddeclare by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:22:56 GMT -->
</html>