Hi Gerard, Thankyou for the feedback!
I looked at line 1302, and I ended up making a small change to the code. I committed it to SVN. I don't have the time right now to make a full package release, but you can see what the changes are. I also fixed the example code. Thanks! Tim On Tue, Apr 14, 2009 at 1:16 PM, Gerard Krijgsman <[email protected]> wrote: > > I just tried beanstalkd for the first time using your PHP client, but > I had some problems: > > I get a "PHP Warning: Call-time pass-by-reference has been > deprecated" message on line 1302. I figure it probably won't hurt if I > simply deleted the pass-by-reference (&) operators to suppress this > message. > > A bit more confusing however was the example file included with the > Beanstalk class. Your example has the following order (in pseudo code) > > open > use tube "foo" > put "Hello, World!" > job = reserve > echo job > delete job > > As far as I can tell from the protocol spec though, you need to > explicitly to do "watch foo" in order to reserve a job from the "foo" > tube. Otherwise it'll try to read from the default job, which in my > case was empty, resulting in the example script hanging :( > > Other than this, the client seems to be working fine. Saves me a lot > of time writing my own client. > > > -- I died in my dreams, what's that supposed to mean --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en -~----------~----~----~----~------~----~------~--~---
