DEV Community

Discussion on: PHP Functions for Golang - phpfuncs

yoursunny profile image
Junxiao Shi

My favorites are missing:

  • phpinfo
  • file_get_contents

Also, PHP's fopen can handle HTTP URLs. The second parameter should be a string, not numeric constants.

serkanalgur profile image
Serkan Algur Author

Thank you for your comment 😊. These two functions have on my list already. I can improve FOpen function.