Nikita Popov
e219ec144e
Implement typed properties
...
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>
2019-01-11 15:49:06 +01:00
Peter Kokot
8d3f8ca12a
Remove unused Git attributes ident
...
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.
2018-07-25 00:53:25 +02:00
Dmitry Stogov
265c3ed6cf
Fixed incorrrecr zval_dtor() usage to replace value of argument passed by reference, that may lead to memory leaks.
2018-07-05 10:57:49 +03:00
Christoph M. Becker
d5f84fb9c5
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix some arginfos
2018-02-23 11:32:18 +01:00
Christoph M. Becker
c6cf3d4ada
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix some arginfos
2018-02-23 11:29:21 +01:00
Gabriel Caruso
0b8cfa6c78
Fix some arginfos
...
* all arguments for ftp_pasv are required
* $varname for getenv function isn't required anymore
* fsockopen and pfsockopen only require $hostname
* strtok can work with only one parameter
* strpbrk needs two parameters to work
* required parameters and add some parameters in openssl_* functions
2018-02-23 11:27:14 +01:00
Nikita Popov
fc23452cbf
Adjust manual zpp-like error message implementations
...
This should also use int/bool.
2018-02-04 23:27:51 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Dmitry Stogov
9e709e2fa0
Move constants into read-only data segment
2017-12-14 18:43:44 +03:00
Nikita Popov
60dc329949
Adjust ftp arginfos for optional mode
...
This was changed in 00cd671233
, but
the arginfos were not adjusted.
2017-08-02 20:57:49 +02:00
Andreas Treichel
27c225a5ad
Default ftp_append() mode to FTPTYPE_IMAGE
...
To be consistent with other ftp_*() functions in master.
2017-08-02 20:54:32 +02:00
Nikita Popov
902188e5e3
Merge branch 'PHP-7.2'
2017-08-02 20:53:32 +02:00
Andreas Treichel
29e4d4eee6
Add ftp_append to create a new file or append data to an existing file (RFC959)
2017-08-02 20:52:28 +02:00
Andreas Treichel
00cd671233
Make transfer mode optional, set default to binary
2017-07-25 09:09:12 +01:00
Andreas Treichel
5b1300b6c9
ftp_mlsd(): Parse the MLSD response
2017-02-17 21:31:18 +01:00
Andreas Treichel
0103d1e3bc
FTP: implement MLSD for structured listing of directories, decribed at https://tools.ietf.org/html/rfc3659
2017-01-29 07:28:22 +00:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Kalle Sommer Nielsen
3ed0af3252
Kill some more strlen() calls and fix a possible missing NULL pointer check
...
Thanks to Anatol for review
2016-11-20 23:36:19 +01:00
Kalle Sommer Nielsen
d489569725
Fix typo
2016-11-20 19:36:48 +01:00
Kalle Sommer Nielsen
06767ffcbe
Shave off a strlen() call in ftp_mkdir()
2016-11-20 19:36:36 +01:00
Kalle Sommer Nielsen
2104bea5d7
Remove Netware support
...
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
2016-11-12 11:20:01 +01:00
Dmitry Stogov
1616038698
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
...
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.
2016-06-21 16:00:37 +03:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Avi Brender
90a26a4844
Implement FR #55651 (Option to ignore the returned FTP PASV address)
2015-12-15 11:07:40 +02:00
Avi Brender
71e468e141
Implement FR #55651 (Option to ignore the returned FTP PASV address)
2015-12-15 11:51:32 +02:00
Anatol Belski
ec89c85054
cleaning up the version macros
2015-03-23 20:13:59 +01:00
Anatol Belski
d2ee0840d2
don't depend on ext/openssl for ftp ssl support
...
instead just link against the openssl and init manually, that's
more flexible
2015-03-11 23:58:59 +01:00
Anatol Belski
167979fe76
enable ftps for shared ext/ftp
2015-03-11 21:46:38 +01:00
Xinchen Hui
38efb690c0
Ported ftp
2015-02-02 13:53:03 +08:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Nikita Popov
dd38c9e101
Fix ftp_login()
2014-09-03 16:52:56 +02:00
Anatol Belski
734e11cca7
fixed remaining 's' args for ftp
2014-08-27 23:56:19 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
70de6180d5
fixes to %pd format usage
2014-08-24 02:35:34 +02:00
Anatol Belski
6719106257
ported ext/ftp
2014-08-19 21:49:34 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Dmitry Stogov
c1965f58d4
Use reference counting instead of zval duplication
2014-06-05 16:04:11 +04:00
Dmitry Stogov
7b1cb4922f
Fixed safe resource close.
...
It must not de deleted (just closed), because it still may be referenced from zval(s).
This fixes few ext/ftp test memory failures detected with valgrind.
2014-05-13 12:47:34 +04:00
Dmitry Stogov
485a60414d
Fixed incorrect boolean IS_FALSE/IS_TRUE handling
2014-05-06 15:59:49 +04:00
Dmitry Stogov
ebe024fd78
Fixed memory leaks
2014-05-06 15:18:17 +04:00
krakjoe
360962ea29
fix ftp for ng
2014-05-06 07:54:54 +01:00