Nikita Popov
ea256a218b
Add %0 format to run-tests.php
...
This format matches against null bytes, and prevents the test
expectation from being interpreted as binary data.
bless_tests.php will automatically replace \0 with %0 as well.
2021-05-29 11:33:13 +02:00
Máté Kocsis
04d3a21029
Merge branch 'PHP-8.0'
...
* Fixed bug #81088 (error in regression test for oci_fetch_object() and oci_fetch_array()
2021-05-28 17:59:57 +02:00
Máté Kocsis
a0af84bebd
Fixed bug #81088 error in regression test for oci_fetch_object() and oci_fetch_array()
...
Closes GH-7072
2021-05-28 17:56:51 +02:00
Máté Kocsis
0b01d589f1
Declare tentative return types for ext/oci8 ( #7070 )
2021-05-28 15:39:53 +02:00
Máté Kocsis
29a76d94df
Merge branch 'PHP-8.0'
...
* Fix some types in ext/oci8
2021-05-16 16:33:29 +02:00
Máté Kocsis
f0736631d9
Fix some types in ext/oci8
...
Closes GH-6992
2021-05-16 16:26:54 +02:00
Michael Voříšek
3ccc0409ce
Remove no longer used "log_errors_max_len" ini directive ( #6838 )
...
This is a re-application of the original match against master.
The patch was originally applied to master, then reverted from
there, incorrectly applied to PHP-8.0, reverted from there due
to ABI break, and now lands on master again. We can only hope
that it does not get reverted again ;)
2021-05-10 19:26:33 +02:00
Nikita Popov
090627048c
Revert "Remove no longer used "log_errors_max_len" ini directive ( #6838 )"
...
This reverts commit d2d227e547 .
This is an ABI break.
2021-05-08 20:54:53 +02:00
Ben Ramsey
b5d5d06ff3
Revert "Remove no longer used "log_errors_max_len" ini directive ( #6838 )"
...
This reverts commit cc2c810dcf .
2021-05-08 13:23:58 -05:00
Michael Voříšek
d2d227e547
Remove no longer used "log_errors_max_len" ini directive ( #6838 )
2021-05-08 13:05:13 -05:00
Michael Voříšek
cc2c810dcf
Remove no longer used "log_errors_max_len" ini directive ( #6838 )
2021-05-07 19:07:35 -05:00
KsaR
01b3fc03c3
Update http->https in license ( #6945 )
...
1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |
2021-05-06 12:16:35 +02:00
Máté Kocsis
bf0f6aaf18
Improve class entry generation
...
Related to GH-6701
2021-02-16 13:09:56 +01:00
Christopher Jones
843198eb84
Fix failures due to new deprecations
2021-02-15 12:17:46 +11:00
Máté Kocsis
af56982a5e
Generate class entries from stubs for oci8, odbc, openssl, pcntl, pdo, pgsql
...
Closes GH-6691
2021-02-14 23:19:21 +01:00
Nikita Popov
d281cd8b4b
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Update year to 2021
2021-02-02 16:47:03 +01:00
Nikita Popov
f1cf553437
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Update year to 2021
2021-02-02 16:46:52 +01:00
Peter Kokot
8c04944b66
Update year to 2021
...
Closes GH-6636.
2021-02-02 16:46:16 +01:00
Nikita Popov
3e01f5afb1
Replace zend_bool uses with bool
...
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.
2021-01-15 12:33:06 +01:00
Nikita Popov
422d1665a2
Make convert_to_*_ex simple aliases of convert_to_*
...
Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
since PHP 7.
The only difference that was still left is that _ex checked whether
the type is the same first, but the usage of these macros did not
actually distinguish on whether such an inlined check is valuable
or not in a given context.
Also drop the unused convert_to_explicit_type macros.
2021-01-14 12:11:11 +01:00
Christopher Jones
d6731d69bd
Description typo
2020-12-21 15:46:26 +11:00
Christopher Jones
74959b47cd
Bundle PECL OCI8 3.0.1
2020-12-21 15:15:16 +11:00
Christoph M. Becker
2e974c8c81
Add Windows support for OCI 19
...
As requested by Christopher Jones.
2020-12-14 23:11:04 +01:00
Christopher Jones
a9c44d1b5a
Update PECL package release date
2020-11-27 10:17:37 +11:00
Christopher Jones
37f96d990c
Fix test diff
2020-11-25 16:42:12 +11:00
Christopher Jones
68d5878097
Sync README with package.xml
2020-11-24 10:45:48 +11:00
Máté Kocsis
d6264b0966
Verify parameter names of function aliases
...
Closes GH-6335
2020-10-16 10:56:33 +02:00
Máté Kocsis
4173f2b3ab
Improve parameter names in ext/oci8
...
Closes GH-6267
2020-10-08 23:30:33 +02:00
Nikita Popov
c5401854fc
Run tidy
...
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00
Máté Kocsis
36fd95b524
Generate arginfos
2020-09-16 21:28:27 +02:00
Máté Kocsis
de912821e0
Display string default values in stubs more uniformly
...
Settling on using quoted string
2020-09-16 21:27:01 +02:00
Máté Kocsis
c76910cd96
Display types in stubs more uniformly
...
In preparation for generating method signatures for the manual.
This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types.
2020-09-16 21:19:36 +02:00
George Peter Banyard and Christopher Jones
824a2bf149
Promote some warnings to ValueError in OCI8
...
Closes GH-6116
Co-authored-by: Christopher Jones <sixd@php.net >
2020-09-15 02:54:12 +02:00
Máté Kocsis
9975986b7e
Improve error messages mentioning parameters instead of arguments
...
Closes GH-5999
2020-09-09 10:47:43 +02:00
Christopher Jones
311fa34246
Fix 3b0fecd and resulting test fail lob_012.phpt
2020-09-09 11:28:00 +10:00
Máté Kocsis
3b0fecd508
Fix UNKNOWN default values in ext/oci8
...
Closes GH-6089
2020-09-08 15:38:23 +02:00
Christopher Jones
ec158c25c4
Catch type errors so test completes and doesn't diff
2020-09-08 16:49:54 +10:00
Christopher Jones
16d79d7acc
Accept updated error number generated by the latest Oracle version
2020-09-08 16:06:33 +10:00
Christopher Jones
55afe4e7da
Yes, and mask the dir path too.
2020-09-08 15:56:26 +10:00
Christopher Jones
6134bf9ab1
Fix parsing regression from PHP 7
2020-09-08 15:48:48 +10:00
Máté Kocsis
3e800e997b
Move custom type checks to ZPP
...
Closes GH-6034
2020-09-02 11:11:38 +02:00
Máté Kocsis
f7fbc6333f
Add more precise type info for stubs
...
Closes GH-6005
2020-09-01 16:35:56 +02:00
George Peter Banyard
1b2ec73c1d
Drop various unused macros/APIs
...
Also convert_libmagic_pattern() to return a zend_string*
Closes GH-6029
2020-08-26 12:59:43 +02:00
Christopher Jones
47c787ff5b
Squash a Linux compile warning
2020-08-22 11:37:23 +10:00
Christopher Jones
ff66e4945e
OCI8 classes were already renamed in 8; this now follows the new-new standard
2020-08-21 17:46:16 +10:00
Máté Kocsis
7aacc705d0
Add many missing closing PHP tags to tests
...
Closes GH-5958
2020-08-09 22:03:36 +02:00
Christopher Jones
99d2b24b15
Make test decimal to binary conversion expectation more tolerant
2020-07-23 16:31:33 +10:00
Christopher Jones
b2d1736de8
Fix cut/paste error in expected test output
2020-07-23 16:29:51 +10:00
George Peter Banyard
7a3375a08c
Use ZPP callable check for oci_register_taf_callback()
2020-07-22 17:29:30 +10:00
George Peter Banyard
0d146cb3eb
Some cleanup in OCI8 extension for PHP 8
2020-07-22 17:29:30 +10:00