Since php/php-src@caa710037e, all bundled
drivers (Firebird and ODBC being the omissions before) implement this
function. The third-party drivers, even the ones in massive states of
disrepair, support it too. It's still optional, so a new PDO driver
could take us by surprise, but the list is misleading, so just include
the warning.
Closes GH-1548.
It seems that line endings are handled in a style agnostic way by
`get_meta_tags()` for a long time now[1]. Thus, we drop the apparently
outdated info.
[1] <60fffd296a/ext/standard/file.c (L2442-L2445)>
This constructor takes a large number of options, most of which
were effectively undocumented, leading to a very high volume of
User Notes. Some examples and caveats from these notes have been
incorporated.
The descriptions here are largely based on reverse-engineering
the source code (which isn't particularly well commented) and
experimenting locally, so may not be 100% accurate, or capture
differences between versions.
* Use spaceship where appropriate.
* Add example of multi-axes sorting with spaceship.
* Don't acknowledge the existence of PHP < 7
Co-authored-by: George Peter Banyard <girgias@php.net>
* Minor updates
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Co-authored-by: George Peter Banyard <girgias@php.net>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
* Note that shutdown functions may still register shutdown functions.
* Add note about max execution time.
* Add cross reference to fastcgi_finish_request.
* Correct grammar.
Basically the only reason people should be looking at the manual
for create_function right now is to see how *not* to use it. So,
for every example that was already included, I've added the
corresponding version using real anonymous functions.
Also, I've reworded the purpose and description, because these
functions aren't anonymous, as evidenced by the return value being
their name.
Closes GH-1500.