1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Richard Fussenegger 5fa1cd224b Fixed php_socket_t to int conversion
This warning was about a possible loss of data due to the downcast of `php_socket_t` to `int`. The former maps to a platform specific type, hence, it might downcast from a 64 bit integer to a 32 bit intger.

Fixed possibly overflowing vars

Due to the change from `int` to `php_socket_t` some variables might overflow now. Changed all variables that might be affected.

Revert "Fixed possibly overflowing vars"

This reverts commit bf64fd5984.

Use aliased PHP socket type

Using the alias protects us from changes to the underlying type.

Removed ignored nfds argument

The `nfds` argument to the Win32 `select` function is always ignored, regardless of its actual value. Hence, we should not pass it in the first place. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).aspx for reference.

Target value is not a pointer

Avoid overflow in loop
2017-06-15 23:48:03 +02:00
2017-06-08 17:18:15 +02:00
2017-06-15 23:48:03 +02:00
2017-06-15 23:48:03 +02:00
2017-06-08 17:18:15 +02:00
2016-09-05 14:22:13 +02:00
2017-01-18 21:19:48 +01:00
2015-01-17 18:26:45 +01:00
2017-06-07 23:40:27 +02:00
2017-06-03 12:39:50 +02:00
2016-05-18 17:45:12 +02:00
2016-11-12 11:20:01 +01:00
2017-04-02 13:45:08 +02:00
2017-01-21 18:55:13 +01:00
2017-01-04 11:23:42 -06:00
2016-04-05 12:13:38 +02:00
2017-01-04 11:23:42 -06:00
2009-11-23 21:53:30 +00:00
2017-02-22 06:47:23 +00:00
2017-06-13 17:16:13 +03:00
2017-06-02 23:36:44 +02:00
2017-06-02 23:36:44 +02:00
2016-08-18 12:31:09 +02:00
MFH
2008-01-17 14:38:16 +00:00
2016-12-16 11:53:41 +01:00
2017-03-27 18:33:47 +02:00
2015-02-07 10:35:52 -06:00
2017-02-03 21:02:52 +01:00
2017-06-09 17:45:24 +02:00
2016-08-11 08:08:26 +09:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at http://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 http://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 965 MiB
Languages
C 66%
PHP 31.3%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%