Nikita Popov
235983dfde
Merge branch 'PHP-7.4'
2019-09-30 17:52:39 +02:00
Fabien Villepinte
0aa3acc6c4
Fix borked SKIPIFs
2019-09-30 17:51:41 +02:00
Gabriel Caruso
5d6e923d46
Remove mention of PHP major version in Copyright headers
...
Closes GH-4732.
2019-09-25 14:51:43 +02:00
Nikita Popov
bbc958990c
Merge branch 'PHP-7.4'
2019-09-23 13:47:43 +02:00
Nikita Popov
366f97f070
Remove commented code
2019-09-23 13:34:42 +02:00
Nikita Popov
d37d418927
Merge branch 'PHP-7.4'
2019-07-23 11:28:10 +02:00
George Peter Banyard
6d6d954d0d
Cleanup of remaining E_STRICT in tests
2019-07-23 11:27:23 +02:00
Matteo Beccati
9590912854
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix FR #71885 (Allow escaping question mark placeholders)
2019-07-22 19:35:37 +02:00
Matteo Beccati
b19fdc18a9
Fix FR #71885 (Allow escaping question mark placeholders)
2019-07-22 19:35:03 +02:00
Peter Kokot
f91ffe5915
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove conditional calls of always available macros
2019-07-14 22:24:59 +02:00
Peter Kokot
94421e5724
Remove conditional calls of always available macros
...
These checks were once relevant for these extensions in PECL and PHP
versions without availability of the checked macros.
Closes GH-4405
2019-07-14 22:24:21 +02:00
Nikita Popov
cef59ad77b
Merge branch 'PHP-7.4'
2019-07-02 12:10:32 +02:00
Sjon Hortensius
a7881df281
PDO: support username & password specified in DSN
2019-07-02 12:09:38 +02:00
Nikita Popov
477d1e02ae
Merge branch 'PHP-7.4'
2019-06-12 11:54:21 +02:00
Nikita Popov
f601eb15e6
Fix -Wmissing-braces warnings
...
Unfortunate that = {} is a GNU extension.
2019-06-12 11:54:12 +02:00
Nikita Popov
7686b0b889
Merge branch 'PHP-7.4'
2019-06-05 14:53:50 +02:00
Nikita Popov
a31f46421d
Allow exceptions in __toString()
...
RFC: https://wiki.php.net/rfc/tostring_exceptions
And convert some object to string conversion related recoverable
fatal errors into Error exceptions.
Improve exception safety of internal code performing string
conversions.
2019-06-05 14:25:07 +02:00
Dmitry Stogov
b2cdde0826
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros
2019-05-28 20:19:15 +03:00
Dmitry Stogov
83804519df
Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros
2019-05-28 20:10:02 +03:00
Peter Kokot
2cf90bb2f0
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Normalize comments in *nix build system m4 files
2019-05-12 18:51:50 +02:00
Peter Kokot
75fb74860d
Normalize comments in *nix build system m4 files
...
Normalization include:
- Use dnl for everything that can be ommitted when configure is built in
favor of the shell comment character # which is visible in the output.
- Line length normalized to 80 columns
- Dots for most of the one line sentences
- Macro definitions include similar pattern header comments now
2019-05-12 18:43:03 +02:00
Peter Kokot
4e88112adb
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix undefined variable, and remove unused test-pdo
2019-05-03 18:14:53 +02:00
peter279k
ba0913a2e5
Fix undefined variable, and remove unused test-pdo
2019-05-03 18:14:32 +02:00
Nikita Popov
dc42e403a2
Merge branch 'PHP-7.4'
2019-04-15 11:42:55 +02:00
Nikita Popov
7f6c22cb3d
Fix last maybe uninit warnings on 7.4
...
Most of these only occur under GCC 5. Not fond of all the workarounds
(especially the PDO one), but it gets us a clean build...
2019-04-15 11:35:13 +02:00
Nikita Popov
3fab73e24e
Avoid misc uninitialized variable warnings
2019-04-12 15:12:45 +02:00
Nikita Popov
339b0af429
Avoid misc uninitialized variable warnings
2019-04-12 15:12:39 +02:00
Joe Watkins
7b58e43da3
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Follow up #77849 PDOStatement objects in undefined state after clone
2019-04-06 01:32:15 +02:00
Joe Watkins
1b85e72032
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Follow up #77849 PDOStatement objects in undefined state after clone
2019-04-06 01:31:32 +02:00
Joe Watkins
0c6a68fa36
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Follow up #77849 PDOStatement objects in undefined state after clone
2019-04-06 01:27:58 +02:00
Joe Watkins
a2b8a62abf
Follow up #77849 PDOStatement objects in undefined state after clone
2019-04-06 01:26:47 +02:00
Joe Watkins
0ab45c24fe
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
2019-04-06 00:56:52 +02:00
Joe Watkins
7f4a6b1478
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
2019-04-06 00:56:23 +02:00
Joe Watkins
0d5be6ce91
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
2019-04-06 00:55:46 +02:00
Cameron Porter
9ec1525eb5
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
2019-04-06 00:54:59 +02:00
Peter Kokot
61d9e53ed9
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove extension readmes
2019-03-19 20:26:07 +01:00
Peter Kokot
38b22448f8
Remove extension readmes
...
This patch removes several extension readmes in favor of the PHP manual
and where possible.
2019-03-19 20:25:32 +01:00
Peter Kokot
6426420f61
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 23:36:47 +01:00
Fabien Villepinte
26dfce7f36
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 22:55:30 +01:00
Dmitry Stogov
c56bd7e220
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Cleanup unused module globals
2019-03-12 13:44:25 +03:00
Dmitry Stogov
5aa1176238
Cleanup unused module globals
2019-03-12 13:44:05 +03:00
Nikita Popov
852485d8ec
Adjust tests for zpp TypeError change
2019-03-11 11:32:20 +01:00
Nikita Popov
513b76794b
Make zpp failures always throw, independent of strict_types
...
Previously zend_parse_parameters (and FastZPP) would handle invalid
arguments depending on strict_types: With strict_types=1, a TypeError
is thrown, with strict_types=0 a warning is thrown and (usually) NULL
is returned. Additionally, some functions (constructors always and
other methods sometimes) opt-it to throwing regardless of strict_types.
This commit changes zpp to always generate a TypeError exception in
PHP 8.
2019-03-11 11:32:20 +01:00
Peter Kokot
d0fd9fe977
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Add AS_HELP_STRING to *nix build configure options
2019-03-07 20:38:04 +01:00
Peter Kokot
9df6a1e4dd
Add AS_HELP_STRING to *nix build configure options
...
The Autoconf's default AS_HELP_STRING macro can properly format help
strings [1] so watching out if columns are aligned manually is not
anymore.
[1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
2019-03-07 20:36:59 +01:00
Peter Kokot
2968a1d7f2
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove legacy AC_CHECK_TYPE calls for uint and ulong
2019-03-06 22:50:46 +01:00
Peter Kokot
bebcdcc745
Remove legacy AC_CHECK_TYPE calls for uint and ulong
...
The AC_CHECK_TYPE was refactored in more recent versions of Autoconf
and the call with two arguments is obsolete and not recommended anymore.
This patch also refactors some leftovers of using ulong and uint which
are not standard nor common usages of types in C.
The ulong can be used as zend_ulong and uint usage is actually
`unsigned int`.
The usage of HAVE_ULONG removed since it is not used in current code
base.
Legacy edgecase for some legacy HPUX systems removed:
- sys/stream.h header is not checked and the HAVE_SYS_STREAM_H is
not defined with current build system.
- flags are unsigned int
- max_allowed_packet changed to unsigned int
2019-03-06 22:49:16 +01:00
Peter Kokot
0517d203b3
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove unused package2.xml file
Remove not needed PHP_PDO_PEAR_CHECK m4 macro
2019-02-28 01:09:30 +01:00
Peter Kokot
6ee82a2a48
Remove not needed PHP_PDO_PEAR_CHECK m4 macro
2019-02-28 01:08:48 +01:00
Gabriel Caruso
ad75511c8e
Missing param in arginfo_pdostatement_setfetchmode
...
PDO::setFetchMode receives up to 3 params
2019-02-14 05:13:38 -02:00