Hacker News new | ask | show | jobs
by nolok 778 days ago
The core of PHP is very close to the libc function it offers, and so you will do that in a similar way that you do that in C : call error_get_last(), which gives you the details of the last error.