Jump to content

parameters outside the function


The Little Guy

Recommended Posts

I am making a function it returns one thing, but I would the like to put something into a variable to use outside the function.

 

for example, the third parameter in preg_match() sets a variable that you can then use later in your code, how can I create a parameter like that?

Link to comment
https://forums.phpfreaks.com/topic/247481-parameters-outside-the-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.