This may sound like a stupid question but I’m a beginner not just to PHP but to programming in general, so in that context:
What language are inbuilt PHP functions written in?
For example the inbuilt function “date(“l”)” when echoed will dislay the current day on the browser. But obviously this isn’t done by magic, some one had to write this function, I am merely calling it.
A function as I understand it, is a way to contain a lot of PHP commands inside one call, and all those containing commands are written in PHP as well. But when it comes to the inbuilt function libraries, are these written in PHP or some other language?
And secondly, I have been told that the core of PHP 5 is written in C++ is this true?
PHP has been written in what I call the mother of languages ^C^