Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/04/2013, 18:51
ferbad12
 
Fecha de Ingreso: septiembre-2012
Ubicación: Cordoba
Mensajes: 44
Antigüedad: 11 años, 7 meses
Puntos: 1
Sentencia declare

<?php

declare(ticks=1);

// Una función llamada en cada evento tick
function tick_handler()
{
echo "tick_handler() llamado\n";
}

register_tick_function('tick_handler');

$a = 1;

if ($a > 0) {
$a += 2;
print($a);
}

?>
ALGUIEN ME PUEDE EXPLICAR QUE HACE ESTE CODIGO