Re: eval() or call_user_func() ???
- From: "Benjamin" <musiccomposition@xxxxxxxxx>
- Date: 10 Oct 2006 18:41:51 -0700
call_user_func only works if you have the function declared in the
script (not a string). eval is really your only option
Bit Byte wrote:
Anyone know of the pros and cons of these two?
I am writing a simplified 'clone' of crontab, to help me run scheduled
tasks - the tasks (scipts) vbeing stored in a database table - I'm not
sure which of these to use, any ideas ? Is one better than the other ?
.
- Follow-Ups:
- Re: eval() or call_user_func() ???
- From: Bit Byte
- Re: eval() or call_user_func() ???
- References:
- eval() or call_user_func() ???
- From: Bit Byte
- eval() or call_user_func() ???
- Prev by Date: Re: Script to be able to upload pics?
- Next by Date: Re: Pass by reference via 'return' a variable...
- Previous by thread: eval() or call_user_func() ???
- Next by thread: Re: eval() or call_user_func() ???
- Index(es):
Relevant Pages
|