php4-beta | 200004
Date: 04/22/00
- Next message: Andrei Zmievski: "Re: [PHP4BETA] PHP ticks"
- Previous message: Andi Gutmans: "[PHP4BETA] cvs: /php4/ext/standard rand.c"
- In reply to: Andrei Zmievski: "Re: [PHP4BETA] PHP ticks"
- Next in thread: Andrei Zmievski: "Re: [PHP4BETA] PHP ticks"
- Reply: Andrei Zmievski: "Re: [PHP4BETA] PHP ticks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>> http://www.zend.com/-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Andrei Zmievski: "Re: [PHP4BETA] PHP ticks"
- Previous message: Andi Gutmans: "[PHP4BETA] cvs: /php4/ext/standard rand.c"
- In reply to: Andrei Zmievski: "Re: [PHP4BETA] PHP ticks"
- Next in thread: Andrei Zmievski: "Re: [PHP4BETA] PHP ticks"
- Reply: Andrei Zmievski: "Re: [PHP4BETA] PHP ticks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

