gt;
> Cc: "W. Enserink" <[EMAIL PROTECTED]>; "PHP List"
> <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 1:04 AM
> Subject: Re: [PHP] Threading objects
>
>
>> > All I'm really asking is how do you initiate threading with PHP? A
>>
At 23:23 12.03.2003, Kris said:
[snip]
>Is it possible to some how thread a php script threw apache. There has to be
>something you can do, it seems there is always something you can do :)
>What I want is the following.
>I administer a mailing list that has a
my web programming experience is
> rather limited.
>
> Thanks
>
> Kris
>
>
>
> - Original Message -
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Kris" <[EMAIL PROTECTED]>
> Cc: "W. Enserink" <[EMAIL P
y web programming experience is
rather limited.
Thanks
Kris
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Kris" <[EMAIL PROTECTED]>
Cc: "W. Enserink" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]>
> All I'm really asking is how do you initiate threading with PHP?
> A small example would be nice
You don't. This is a web scripting language, not Java.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kris wrote:
I want to be able to thread objects. I'm not really sure at all where to
start. but I want a script where multiple objects are being processed at the
same time.
I have an example php script
$a = new sleeper();
$b = new sleeper();
$c = new sleeper();
$a->sleepFor(10);
$b->sleepFor(5);
regular,ordinary variables. further on.
>
> hope it helped,
>
> Wilbert
>
> - Original Message -
> From: "Kris" <[EMAIL PROTECTED]>
> To: "PHP List" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 12:18 PM
> Subj
t;[EMAIL PROTECTED]>
To: "Kris" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 9:29 PM
Subject: Re: [PHP] Threading objects
> i'm not sure what you want. But you have created objects here in $a,$b and
> $c.
> If you w
l Message -
From: "Kris" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 12:18 PM
Subject: [PHP] Threading objects
> I want to be able to thread objects. I'm not really sure at all where to
> start. but I want a
I want to be able to thread objects. I'm not really sure at all where to
start. but I want a script where multiple objects are being processed at the
same time.
I have an example php script
sleepFor(10);
$b->sleepFor(5);
$c->sleepFor(1);
class sleeper {
function sleepFor($num) {
sleep($num);
10 matches
Mail list logo