I always use them ... but it's mainly 'cause if I ever need to expand the
code, I won't have to remember to add them ... it's for the same reason I
always use the braces '{ ... }' even though the short form would work just
as well in many cases ...
I tend to expand my code alot with time (as I ma
Thanks guys. Duhhh. I was taught to always put ;'s and any dev software that
writes it's own code does the same. I also remember adding them because I
was getting error's at some point, perhaps PHP3.
Is it considered better practice to use them? Otherwise I've been wasting
keystrokes. I only notic
Actually, there is a unix-like fork() function in an extension. exec() will
execute another process, but it isn't really a fork().
Look at the pcntl extension and check out pcntl_fork(). I've been working
with it for a few days and it works pretty well. It's still marked
EXPERIMENTAL, so don
http://php.net/exec
You'll need to use & in the command to be executed.
That command may or may not need to be wrapped up in a shell script to muck
with stdin/stderr/stdout so that PHP isn't waiting for those to be freed
up... Or something like that. I don't really understand it, I just know
t
4 matches
Mail list logo