Peter Kokot
c245898bfa
Update and fix remaining year ranges (2019)
...
This patch follows previous license year ranges updates. With new
approach source code files now have simplified headers with license
information without year ranges.
2019-02-08 23:14:29 +01:00
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
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
Dmitry Stogov
4a475a4976
Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
...
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
2018-07-04 19:22:24 +03:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Anatol Belski
c8038d0611
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix proto
2016-12-19 00:53:17 +01:00
Anatol Belski
88c1491c6d
fix proto
2016-12-19 00:50:29 +01:00
Anatol Belski
781632ba24
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Cursor is not opened on singleton selects.
fix arg spec and datatype, follow up on 73594
2016-12-18 21:56:56 +01:00
Anatol Belski
3e48baa49d
fix arg spec and datatype, follow up on 73594
2016-12-18 21:16:35 +01:00
Anatol Belski
b204b3abd1
further normalizations, uint vs uint32_t
...
fix merge mistake
yet one more replacement run
2016-11-26 17:29:01 +01:00
Anatol Belski
c52322707e
Fixed bug #72683 getmxrr broken
2016-07-27 20:48:45 +02:00
Xinchen Hui
df404e2e0e
Fixed Bug #72193 (dns_get_record returns array containing elements of type 'unknown')
2016-05-11 17:31:46 +08:00
Julien Pauli
736b91c650
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
Conflicts:
ext/json/php_json_encoder.h
sapi/continuity/capi.c
2016-01-04 18:13:38 +01:00
Lior Kaplan
53fb2f1e5c
Happy new year (Update copyright to 2016)
2016-01-03 01:44:37 +02:00
Kalle Sommer Nielsen
43457f960f
Drop old VC support (VC <= 9), for dns.c, this means that DNS_TYPE_NAPTR always is available
2015-03-29 06:57:11 +02:00
Anatol Belski
1b87f31ba8
remove unused variable
2015-02-04 18:13:26 +01: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
Tjerk Meesters
0109eb07cf
Changed based on comments and make its behaviour equal to the Windows version
2014-11-30 22:42:31 -08:00
Tjerk Meesters
904dca6392
Changed based on comments and make its behaviour equal to the Windows version
2014-11-30 22:42:13 -08:00
Anatol Belski
ddaae1a02c
fix datatype mismatch
2014-10-23 10:29:58 +02:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +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
cb25136f4e
fix macros in the 5 basic extensions
2014-08-16 11:37:14 +02:00
Pierre Joye
01513976e7
ptr needed here
2014-05-14 20:05:54 +02:00
Xinchen Hui
7080131e71
This should be removed too
2014-05-13 13:55:51 +08:00
Xinchen Hui
97c836e421
Remove zval **
2014-05-13 13:45:24 +08:00
Pierre Joye
11caa1d7b4
port dns_win32
2014-05-13 07:06:27 +02:00
Pierre Joye
670feb3a53
typo in var name
2014-05-07 11:17:03 +02:00
Dmitry Stogov
f9927a6c97
Merge mainstream 'master' branch into refactoring
...
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)
Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
2014-04-26 00:32:51 +04:00
Dmitry Stogov
6cf5e51f3e
Reduced memory realocations
2014-04-15 22:43:18 +04:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Veres Lajos
35101e9ef4
a few typofixes
2014-02-14 14:51:10 +02:00
Pierre Joye
7e5d92106b
- unify warning between win and unix and enable test
2011-09-04 21:48:22 +00:00
Pierre Joye
861dac9726
- unify warning between win and unix and enable test
2011-09-04 21:48:22 +00:00
Gustavo André dos Santos Lopes
17dc181117
- Removed redundant local variable in dns_get_record.
...
- (5.3) Fixed bug in the Windows implementation of
dns_get_record, where the two last parameters wouldn't be
filled unless the type were DNS_ANY (Gustavo).
2010-10-11 03:07:03 +00:00
Gustavo André dos Santos Lopes
91f64706c2
- [DOC] Added a 5th parameter to dns_get_record, a boolean that tells whether to activate
...
"raw mode". In this mide, $type (2nd parameter) is the numeric type of the record, and
the responses are not parsed -- the "type" element will be numeric and there will be
a "data" element with the raw data of the response buffer, which the programmer will
have to parse.
- Fixed bug in the Win32 implementation of dns_get_record, where the 3rd and 4th arguments
would only be filled if the 2nd ($type) was DNS_ANY.
- [DOC] The 3rd and 4th parameters can now be NULL (changed their arginfo).
2010-10-11 02:48:23 +00:00
Gustavo André dos Santos Lopes
b1d5cf7348
- Added numeric record type and raw data for unknown DNS
...
record types.
2010-10-08 23:02:37 +00:00
Pierre Joye
2110655d4d
- WS
2010-09-06 14:43:44 +00:00
Pierre Joye
abf4853145
- fix bug #52260 , catch all DNS not found error
2010-09-06 10:57:42 +00:00
Pierre Joye
bc226fafed
- Fix bug #52101 , dns_get_record()garbage in 'ipv6' field
2010-06-17 09:26:29 +00:00
Pierre Joye
46c4029341
- #51844 , checkdnsrr does not support types other than MX
2010-05-17 18:55:35 +00:00
Pierre Joye
80696a6f77
- fix and improve dns' AAAA support on windows
2009-08-10 08:05:11 +00:00
Pierre Joye
4668ca80b5
- [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build
2009-08-08 13:01:13 +00:00
Pierre Joye
35ad8e6c46
- Fixed #49183 , dns_get_record does not return NAPTR records
2009-08-07 13:31:09 +00:00
Scott MacVicar
af5df4c813
Change dns.h to php_dns.h, part of my dns cleanup
2009-08-05 23:20:17 +00:00
Pierre Joye
c7e0d95deb
- silent compiler warning
2009-04-20 08:41:39 +00:00
Pierre Joye
70c96f788d
- nuke unused variable
2009-04-20 08:40:39 +00:00