What is the difference between function and directive?

0

How do I know what a PHP function is, what is a policy, what is a module, and what is a library?

I'm starting in PHP, I have some questions that maybe for many are basic, but for many others it's the beginning.

    
asked by anonymous 10.04.2017 / 15:25

1 answer

2

I recommend reading the documentation . Yes, all of it. I know that almost nobody will do it, but it is still the ideal.

What you have in php.ini has nothing to do with language. That's PHP's environment setup. There are parameters for how PHP should work. What should be loaded, whether or not to do something, the limits of some features, where to find certain things that PHP needs, things of this type. Then you would have to see specific questions or study the documentation of php.ini .

You can change settings while running .

Functions are snippets of code that execute an algorithm and generally produce a result. Already replied .

Library already answered .

Module too . And specifically for PHP .

    
10.04.2017 / 15:41