In article <001901c21190$c2ffc4e0$0100007f@localhost>,
[EMAIL PROTECTED] says...
> Many will tell you that the goto command is extinct. It isn't, it's just
> evolved into the function command. What you do now is create a function:
> function some_name($variable,$other_variable,...)
> some code here;
> then, call it using :
> It's just like goto, it goes to a specified code block and then returns to
> the line below the call, but takes more typing.
> Hope this helps.
What you have described is more like a gosub.
Goto jumps execution to the specified point in the code and continues from
there. It does not automatically return to the line after the goto call.
Quod subigo farinam
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php