Re: [PHP4BETA] PHP ticks

From: Date: Sat, 22 Apr 2000 15:44:09 +0000
Subject: Re: [PHP4BETA] PHP ticks
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-13919@lists.php.net to get a copy of this message
At 10:15 AM 4/22/00 -0500, Andrei Zmievski wrote:
On Fri, 21 Apr 2000, Jade Nicoletti wrote: While browsing the php4/zend source, I saw that ticks can be used like this: declare (ticks = 1) {
      function foo() {
              echo "bar\n";
      }
} foo(); But what are the uses of PHP ticks? The ticks can be used to emulate background processing. They are not functional right now, but when they are you will be able to register functions that get called after each statement in the script is executed. That's if ticks=1. If it's ticks=5, for example, then your function will be called after every 5th statement.
They are functional but no one is using them. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.version4 (#13919) next »