1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 05:21:02 +02:00
Christoph M. Becker b9738f5802 Fix #79242: COM error constants don't match com_exception codes
Because a `HRESULT` is a `LONG`[1], no special treatment is required on
x86 platforms to get appropriate values.  On x64 platforms we prefer
positive values, what we could accomplish by casting the `HRESULT`
value to `ULONG` and then to `zend_long`, but since the current
behavior is correct and the performance improvement is negligible, we
defer that to master.

[1] <https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types#hresult>
2020-02-07 18:04:14 +01:00
2018-10-20 09:54:00 +02:00
2020-02-04 11:38:29 +01:00
2019-07-02 16:11:54 +02:00
2019-04-18 12:57:54 +02:00
2020-01-03 18:10:29 +01:00
2020-02-04 11:38:29 +01:00
2018-10-19 00:10:22 +02:00
2019-04-18 12:57:54 +02:00
2018-10-20 09:54:00 +02:00
2020-02-04 11:38:29 +01:00
2018-06-25 08:31:32 +02:00
2019-01-17 20:04:44 +00:00
2018-07-25 00:53:25 +02:00
2018-06-25 08:31:32 +02:00
2018-10-20 09:54:00 +02:00
2020-01-25 13:29:36 +01:00
2020-01-25 13:29:36 +01:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at https://git.php.net.

Build Status Build status

Pull Requests

PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailing list internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning

We do not merge pull requests directly on github. All PRs will be pulled and pushed through https://git.php.net.

Guidelines for contributors

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Readme BSD-3-Clause 893 MiB
Languages
C 66.1%
PHP 31.2%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%