summaryrefslogtreecommitdiff
path: root/ext/standard/fsock.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace zend_bool uses with boolNikita Popov2021-01-151-1/+1
| | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
* Fix UNKNOWN default values in ext/standardMáté Kocsis2020-09-071-4/+9
| | | | Closes GH-6026
* Remove proto comments from C filesMax Semenik2020-07-061-4/+2
| | | | Closes GH-5758
* Make error messages more consistent by fixing capitalizationMáté Kocsis2020-01-171-1/+1
| | | | Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
* Remove most uses of ZEND_PARSE_PARAMETERS_END_EX()Nikita Popov2019-10-071-1/+1
| | | | | As ZPP now throws, it makes no sense to specify an explicit return value.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Use ZEND_TRA_ASSIGN_REF_... macros for by reference arguments of internal ↵Dmitry Stogov2019-04-241-4/+4
| | | | functions.
* Fix invalid freeNikita Popov2019-02-081-1/+2
|
* Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Implement typed propertiesNikita Popov2019-01-111-20/+16
| | | | | | | | | | RFC: https://wiki.php.net/rfc/typed_properties_v2 This is a squash of PR #3734, which is a squash of PR #3313. Co-authored-by: Bob Weinand <bobwei9@hotmail.com> Co-authored-by: Joe Watkins <krakjoe@php.net> Co-authored-by: Dmitry Stogov <dmitry@zend.com>
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-281-2/+2
| | | | where we sure about string persistence.
* year++Xinchen Hui2018-01-021-1/+1
|
* Avoid useless dereferences and separations during paramter passing.Dmitry Stogov2017-06-191-6/+6
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Use new param API in standardSara Golemon2016-12-301-3/+8
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-1/+1
| | | | | | | | semantick changes).
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-5/+5
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-2/+2
| |
* | fix datatype mismatchesAnatol Belski2014-10-231-4/+13
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | first show to make 's' work with size_tAnatol Belski2014-08-271-1/+1
| |
* | master renames phase 3Anatol Belski2014-08-251-3/+3
| |
* | master renames phase 1Anatol Belski2014-08-251-8/+8
| |
* | more fixes to ext/standardAnatol Belski2014-08-181-7/+7
| |
* | mostly fixes to spl, but also some otherAnatol Belski2014-08-171-2/+2
| |
* | fix macros in the 5 basic extensionsAnatol Belski2014-08-161-2/+2
| |
* | cleanup (use zend_string* instead of char*)Dmitry Stogov2014-08-131-7/+5
| |
* | Use reference counting instead of zval duplicationDmitry Stogov2014-06-051-3/+1
| |
* | Use strpprintfXinchen Hui2014-05-101-0/+1
| |
* | Cleanup (2-nd round)Dmitry Stogov2014-04-151-1/+1
| |
* | Fixed fsockopen's reference argument handlingXinchen Hui2014-03-031-2/+4
| |
* | Use better data structures (incomplete)Dmitry Stogov2014-02-131-2/+3
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* Removed safe_modeKalle Sommer Nielsen2010-04-261-1/+1
| | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSEAntony Dovgal2008-07-231-2/+0
|
* - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen())Felipe Pena2008-07-221-0/+2
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|