What language are inbuilt PHP functions written in?
PHP was written in C. Any language above machine code for the specific processor architecture is written in a lower-level language. These abstractions into higher-level languages are an effort to make programming simpler and more productive.
PHP has been written in what I call the mother of languages ^C^