Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
61d16a6
[skip ci] Don't render zend_vm_handlers.h in PRs
iluuu1994 Jul 25, 2023
127ad70
Fix open_basedir leak
iluuu1994 Jul 24, 2023
4182813
Call cast_object handler from get_properties_for
iluuu1994 Jun 30, 2023
b669cb4
CS
derickr Jul 19, 2023
82ff4c5
Make the new DatePeriod::createFromISO8601String method emit DateTime…
derickr Jul 19, 2023
7273349
Merge remote-tracking branch 'derickr/create-from-iso-string-immutable'
derickr Jul 25, 2023
549c657
Fix GH-11761: Bcmath numbers with trailing zeros (#11798)
jorgsowa Jul 26, 2023
bf4e7bd
Fix GH-11791: Wrong default value of DOMDocument::xmlStandalone
nielsdos Jul 25, 2023
86580c6
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Jul 26, 2023
8ac0dcc
Merge branch 'PHP-8.2'
nielsdos Jul 26, 2023
4bee574
Fix GH-11792: LIBXML_NOXMLDECL is not implemented or broken
nielsdos Jul 25, 2023
bed0e54
Fix DOM test
nielsdos Jul 26, 2023
9a358b2
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Jul 26, 2023
3b68e84
Merge branch 'PHP-8.2'
nielsdos Jul 26, 2023
4077dad
[skip ci] Hide generated files from diff via .gitattributes (#11802)
iluuu1994 Jul 26, 2023
6b6a5cd
Replace xfail with skipif in calendar_clear_variation1.phpt
iluuu1994 Jul 26, 2023
5d90c50
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Jul 27, 2023
585bdf2
Merge branch 'PHP-8.2'
iluuu1994 Jul 27, 2023
566cf37
Use new class synopsis generating markup (#11809)
kocsismate Jul 28, 2023
0893b4b
add ZipArchive::LENGTH_TO_END and ZipArchive::LENGTH_UNCHECKED constants
remicollet Jul 28, 2023
ae3646d
use typed constants in 8.3
remicollet Jul 28, 2023
092726f
Fix GH-11785: '++nothing+crc' is not a recognized feature for M1 / M2…
youkidearitai Jul 29, 2023
17a80eb
ext/mysqli: Remove custom sys_get_temp_dir() function
Girgias Jul 28, 2023
0c21715
ext/mysqli: Remove conditional function declaration
Girgias Jul 28, 2023
8582d97
ext/mysqli: Stop using global variable in connection test helper
Girgias Jul 28, 2023
b389846
ext/mysqli: Remove catchable fatal error handler
Girgias Jul 28, 2023
ae66a0d
Corrections to return type of loading DOM documents
nielsdos Jul 26, 2023
655f116
XLEAK XML_SAVE_NO_DECL test for old libxml2 versions
nielsdos Jul 29, 2023
7364b7b
Fix uaf of MBSTRG(all_encodings_list)
iluuu1994 Jul 29, 2023
b5f8a72
Fixed incorrect QM_ASSIGN elimination
dstogov Jul 31, 2023
91dc3e1
Merge branch 'PHP-8.1' into PHP-8.2
dstogov Jul 31, 2023
79a8cf1
Merge branch 'PHP-8.2'
dstogov Jul 31, 2023
2053af6
Fix uouv in array_column
iluuu1994 Jul 19, 2023
a145b40
Fix uouv in password_needs_rehash() and password_hash()
iluuu1994 Jul 20, 2023
322da7b
Fix various uouv in intl
iluuu1994 Jul 31, 2023
82aa425
Fix some uouv in ext/pgsql
iluuu1994 Jul 31, 2023
605c60c
Skip oci8 tests when no database is available (#11820)
orlitzky Jul 31, 2023
37d35f5
Move --enable/--disable-fiber-asm help output (#11827)
petk Jul 31, 2023
c7cbe37
[ci skip] PHP 8.3 Upgrading: add missing POSIX constants
jrfnl Jul 31, 2023
a8fa0b5
[ci skip] PHP 8.3 Upgrading: fix pg_set_error_context_visibility typo
jrfnl Jul 31, 2023
78bfe68
[ci skip] PHP 8.3 Upgrading:
jrfnl Jul 31, 2023
68e6de5
GH Actions: auto-skip CI on PRs containing only docs changes (#11839)
jrfnl Jul 31, 2023
3e9792f
Check if restart is pending before trying to lock SHM
Jul 27, 2023
f232830
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Jul 31, 2023
e8edd35
Merge branch 'PHP-8.2'
iluuu1994 Jul 31, 2023
8031612
Fix buffer mismanagement in phar_dir_read()
nielsdos Jul 10, 2023
c283c3a
Sanitize libxml2 globals before parsing
nielsdos Jul 15, 2023
0870ebb
Merge branch 'PHP-8.0' into PHP-8.1
derickr Jul 31, 2023
deddf46
Merge branch 'PHP-8.1' into PHP-8.2
derickr Jul 31, 2023
86afbe1
Merge branch 'PHP-8.2'
derickr Jul 31, 2023
93b43ac
Fix broken merge
derickr Jul 31, 2023
47a347e
Merge branch 'PHP-8.1' into PHP-8.2
derickr Jul 31, 2023
797bd9f
Merge branch 'PHP-8.2'
derickr Jul 31, 2023
dcc4295
Fixed artifacts from merging
derickr Jul 31, 2023
01746d0
Merge branch 'PHP-8.2'
derickr Jul 31, 2023
855dd27
Fixed another broken merge (sorry)
derickr Jul 31, 2023
193f879
Merge branch 'PHP-8.2'
derickr Jul 31, 2023
a53e561
Remove unnecessary parentheses around language constructs in oci8
kamil-tekiela Jul 31, 2023
c1a0852
Convert CRLF to LF
kamil-tekiela Jul 31, 2023
a21edc5
Remove unnecessary parentheses around language constructs in mysqli
kamil-tekiela Jul 31, 2023
73d6869
Remove unnecessary parentheses around language constructs in mysqli
kamil-tekiela Jul 31, 2023
548fc6a
As of 8.2 this SKIP is no longer possible
kamil-tekiela Jul 31, 2023
62228a2
Disable global state test on Windows
nielsdos Jul 31, 2023
d8f2584
NEWS
nielsdos Jul 31, 2023
ebbccb3
Merge branch 'PHP-8.0' into PHP-8.1
ramsey Aug 1, 2023
7ecb284
Merge branch 'PHP-8.1' into PHP-8.2
ramsey Aug 1, 2023
3d5f239
Merge branch 'PHP-8.2'
ramsey Aug 1, 2023
e61dbe5
Fix zend/test arginfo stub hash
iluuu1994 Aug 1, 2023
e14421c
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 1, 2023
dc368d3
Merge branch 'PHP-8.2'
iluuu1994 Aug 1, 2023
98768cf
Update NEWS for PHP 8.3.0beta2
bukka Aug 1, 2023
4553258
Fixed incorrect tracked malloc deallocation
dstogov Aug 1, 2023
5abf4f2
Merge branch 'PHP-8.1' into PHP-8.2
dstogov Aug 1, 2023
a95316f
Merge branch 'PHP-8.2'
dstogov Aug 1, 2023
e0bee2c
[ci skip] PHP 8.3 Upgrading: move two entries to the right section (#…
jrfnl Aug 1, 2023
04c820f
[ci skip] PHP 8.3 Upgrading: fix assert_options() typo + minor gramma…
jrfnl Aug 1, 2023
6e468bb
Fix json_encode result on DOMDocument
nielsdos Jul 31, 2023
82eda28
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 1, 2023
8874384
Merge branch 'PHP-8.2'
nielsdos Aug 1, 2023
6ae9cf4
Fix OSS-fuzz #60709 unseting op via globals
Girgias Jul 21, 2023
2fbec09
Fix OSS Fuzz #60734: use-after-free visible in ASAN build
Girgias Jul 24, 2023
af4eabd
Remove unnecessary requires in mysqli tests
kamil-tekiela Aug 1, 2023
1451b9e
Improve test for mysqli_result constructor
kamil-tekiela Aug 1, 2023
aab36a7
Tidy up new my_mysqli in tests
kamil-tekiela Aug 1, 2023
0c288c4
Revert changes to mysqli_get_connection_stats.phpt
kamil-tekiela Aug 1, 2023
ab46d20
Remove unused CLEAN section
kamil-tekiela Aug 1, 2023
66b359e
Add DROP TABLE to clean up after the test
kamil-tekiela Aug 1, 2023
4140394
ext/dba/tests/dba_tcadb.phpt: support pthreadless tokyocabinet (#11648)
orlitzky Aug 2, 2023
b2dbf0a
Remove opcache.consistency_checks
iluuu1994 Jul 31, 2023
3586264
Unpoison opcache mem buf for file cache checksum calc
iluuu1994 Aug 2, 2023
fc3df28
Zend: Fix memory leak in ++/-- when overloading fetch access
Girgias Aug 2, 2023
65a02f4
ext/zend_test: Move object handler test objects to their own file (#1…
Girgias Aug 2, 2023
fa397e0
Respect strict error setting for adoptNode
nielsdos Aug 2, 2023
04df776
Deduplicate loading code
nielsdos Aug 2, 2023
94127c5
Fix GH-11440: authentication to a sha256_password account fails over SSL
nielsdos Jun 12, 2023
139a692
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 2, 2023
6fc8ab2
Merge branch 'PHP-8.2'
nielsdos Aug 2, 2023
6f6fedc
Handle strict error properly in adoptNode failure, and add a test
nielsdos Aug 2, 2023
ed27d70
Fix use-of-uninitialized-value in start_fake_frame
iluuu1994 Jul 17, 2023
4db025b
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 3, 2023
ae431bb
Merge branch 'PHP-8.2'
iluuu1994 Aug 3, 2023
958a25e
Add "revalidate" time to opcache scripts list
Jul 28, 2023
3148da8
Add block size support for tracked_malloc (#11856)
iluuu1994 Aug 3, 2023
b80bebc
Synchronize zend_jit_stop_counter_handlers()
iluuu1994 Jul 27, 2023
851890b
Import timelib 2022.09
derickr Aug 3, 2023
a8f4171
Fixed bug GH-11854 (DateTime:createFromFormat stopped parsing datetim…
derickr Aug 3, 2023
8af6d3a
Merge branch 'issue11854-datetime-regression' into PHP-8.2
derickr Aug 3, 2023
a33dfd2
Merge branch 'PHP-8.2'
derickr Aug 3, 2023
120ae17
Add typed specialization for ZEND_COUNT (#11825)
iluuu1994 Aug 3, 2023
dddcf92
[ci skip] Update NEWS
saundefined Aug 3, 2023
1246da3
Merge branch 'PHP-8.2'
saundefined Aug 3, 2023
73c5f36
Assert ptr_ptr value of TMP|CONST isn't used (#11865)
iluuu1994 Aug 3, 2023
269a9e1
PHP-8.0 is now for 8.0.31-dev
ramsey Aug 3, 2023
4e65241
Merge branch 'PHP-8.0' into PHP-8.1
ramsey Aug 3, 2023
07d719d
Merge branch 'PHP-8.1' into PHP-8.2
ramsey Aug 3, 2023
47e490a
Merge branch 'PHP-8.2'
ramsey Aug 3, 2023
509906b
Fix GH-11438: mysqlnd fails to authenticate with sha256_password acco…
nielsdos Jun 12, 2023
997a367
Fix GH-10964: Improve `man` page about the built-in server
alexandre-daubois Aug 2, 2023
75441d7
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 3, 2023
50bb380
Merge branch 'PHP-8.2'
nielsdos Aug 3, 2023
162bd2a
Fix missing link variable in test
nielsdos Aug 3, 2023
77417f8
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 3, 2023
babe247
Merge branch 'PHP-8.2'
nielsdos Aug 3, 2023
f7be15d
Revert the fix for GH-11498
nielsdos Aug 2, 2023
c59bfc8
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 3, 2023
633e745
Merge branch 'PHP-8.2'
nielsdos Aug 3, 2023
e5b2590
Improve database naming in `ext/pdo_pgsql` for better para-tests (#11…
alexandre-daubois Aug 4, 2023
8ef0e4c
Allow easter_date to process years after 2037 on 64bit systems (#11862)
Arne1303 Aug 4, 2023
aecedd2
[skip ci] Reorder extension sections in UPGRADING
Girgias Aug 4, 2023
dc586b1
Mark buildFromIterator test as conflicting
nielsdos Aug 3, 2023
00ab6bb
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 4, 2023
1b092c6
Merge branch 'PHP-8.2'
nielsdos Aug 4, 2023
ca5d482
Fix MySQL Statement has a empty query result when the response field …
Yurunsoft Jun 28, 2023
4db701c
Merge branch 'PHP-8.1' into PHP-8.2
kamil-tekiela Aug 4, 2023
0311e60
Add php_version and php_version_id PHPAPI funcs (#11875)
morrisonlevi Aug 4, 2023
8293474
Merge branch 'PHP-8.2'
kamil-tekiela Aug 4, 2023
4f84b15
ext/pdo_pgsql: Improve tests cleanup (#11855)
alexandre-daubois Aug 5, 2023
3ff7d18
[ci skip] NEWS for fa397e02 and 6f6fedcb
nielsdos Aug 5, 2023
872bf56
Remove useless check
nielsdos Aug 6, 2023
5cd0208
Don't test macOS & i386 without opcache on push
iluuu1994 Aug 3, 2023
16c6d60
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 7, 2023
7397607
Merge branch 'PHP-8.2'
iluuu1994 Aug 7, 2023
efc73f2
Revert "Call cast_object handler from get_properties_for"
iluuu1994 Aug 7, 2023
e701b2f
Make DOMChildNode::remove() run in O(1) performance
nielsdos Aug 5, 2023
08c4db7
Fix manually calling __construct() on DOM classes
nielsdos Aug 6, 2023
dddd309
Fix GH-11830: ParentNode methods should perform their checks upfront
nielsdos Aug 5, 2023
b80ded8
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 7, 2023
3ad5029
Merge branch 'PHP-8.2'
nielsdos Aug 7, 2023
5018dfe
Remove useless hashmap check
nielsdos Aug 6, 2023
96885bc
fix: handle the GNU specific version of strerror_r
dunglas Aug 5, 2023
e9e5b4c
Merge branch 'PHP-8.1' into PHP-8.2
devnexen Aug 7, 2023
3e315df
Merge branch 'PHP-8.2'
devnexen Aug 7, 2023
815b5ad
Fix viable next sibling search for replaceWith
nielsdos Aug 5, 2023
87148f6
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 7, 2023
5d5e6b0
Merge branch 'PHP-8.2'
nielsdos Aug 7, 2023
df6e8bd
Fix viable next sibling search for replaceWith
nielsdos Aug 5, 2023
4c5bf0c
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 7, 2023
505fab1
Merge branch 'PHP-8.2'
nielsdos Aug 7, 2023
ba35ff0
Remove unused HAVE_GCC_GLOBAL_REGS shell variable (#11877)
petk Aug 7, 2023
77252af
Fix return type of odbc_data_source()
kocsismate Aug 8, 2023
43e62aa
Merge branch 'PHP-8.1' into PHP-8.2
kocsismate Aug 8, 2023
b275e13
Merge branch 'PHP-8.2'
kocsismate Aug 8, 2023
cbfd737
Fix off-by-one bug when truncating tempnam prefix
athos-ribeiro Aug 4, 2023
417f3fd
Improve `ext/pdo_sqlite` tests cleanup (#11900)
alexandre-daubois Aug 8, 2023
1ff59b9
Merge branch 'PHP-8.1' into PHP-8.2
Girgias Aug 8, 2023
c9c846d
Merge branch 'PHP-8.2'
Girgias Aug 8, 2023
4cbc66d
Fix skipif condition on new test
Girgias Aug 8, 2023
52bd07c
Merge branch 'PHP-8.1' into PHP-8.2
Girgias Aug 8, 2023
ad18fbc
Merge branch 'PHP-8.2'
Girgias Aug 8, 2023
038b2ae
Make the $enable parameter of odbc_autocommit() nullable (#11909)
kocsismate Aug 8, 2023
d19e4da
Fix segfault when DOMParentNode::prepend() is called when the child d…
nielsdos Aug 7, 2023
8f1cbc8
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 8, 2023
cb927e0
Merge branch 'PHP-8.2'
nielsdos Aug 8, 2023
db4dba6
Move opnum_start for goto for clarification (#11911)
iluuu1994 Aug 9, 2023
fc9266a
Move ASAN built to GitHub actions
iluuu1994 Aug 7, 2023
4833b84
Fix GH-11416: Crash with DatePeriod when uninitialised objects are pa…
derickr Aug 9, 2023
7f6e98c
Merge branch 'PHP-8.1' into PHP-8.2
derickr Aug 9, 2023
f8b42da
Merge branch 'PHP-8.2'
derickr Aug 9, 2023
b71d2e1
Fix GH-11416: Crash with DatePeriod when uninitialised objects are pa…
derickr Aug 9, 2023
e157da1
Update initialisation check for new PHP-8.3 API
derickr Aug 9, 2023
23ba4cd
Align DOMChildNode parent checks with spec
nielsdos Aug 7, 2023
620b622
Optimize checks for DOMParentNode and DOMChildNode
nielsdos Aug 8, 2023
788540e
Remove remnant of COM_FIELD_LIST
kamil-tekiela Aug 9, 2023
57417bb
Merge remote-tracking branch 'derickr/issue11416-php82-unserialize' i…
derickr Aug 10, 2023
1bddd4e
Merge branch 'PHP-8.2'
derickr Aug 10, 2023
3af76b2
Fix curl_basic_009.phpt for newer curl versions
iluuu1994 Aug 10, 2023
0e843c5
Fix EXPECT for bug52820.phpt on newer curl versions
iluuu1994 Aug 10, 2023
1aae59c
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 10, 2023
2b2d2b0
Merge branch 'PHP-8.2'
iluuu1994 Aug 10, 2023
90f514c
Add Windows build to nightly
iluuu1994 Aug 9, 2023
b234235
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 10, 2023
fa8b4e1
Merge branch 'PHP-8.2'
iluuu1994 Aug 10, 2023
248e6b0
Remove i386 Linux from push
iluuu1994 Aug 9, 2023
241510c
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 10, 2023
fad4ea1
Merge branch 'PHP-8.2'
iluuu1994 Aug 10, 2023
0d922aa
Fix error checking in mysqlnd
kamil-tekiela Aug 9, 2023
7a4b213
Merge branch 'PHP-8.1' into PHP-8.2
kamil-tekiela Aug 10, 2023
4a77a1e
Merge branch 'PHP-8.2'
kamil-tekiela Aug 10, 2023
f907a00
Align highlight_string|file with HTML standard and modern browsers
kamil-tekiela Aug 11, 2023
bb092ab
Fix #80927: Removing documentElement after creating attribute node: p…
nielsdos Aug 6, 2023
e56ed6e
BCmath extension code reformatting (#11896)
jorgsowa Aug 13, 2023
2196e22
Use zend_ast_size consistenly (#11955)
crrodriguez Aug 13, 2023
ee000ea
Fix uouv on oom on object allocation
iluuu1994 Aug 8, 2023
902d39d
Use per-branch matrix for windows nightly
iluuu1994 Aug 14, 2023
e11b55d
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 14, 2023
7fcfaae
Merge branch 'PHP-8.2'
iluuu1994 Aug 14, 2023
67ab2b7
Align the return type of snmp_set_oid_numeric_print() to its aliased …
kocsismate Aug 14, 2023
17b3af2
GH-11964: In ext/date/php_date.stub.php, DateRangeError extends itself
nielsdos Aug 14, 2023
2012fd3
ci update freebsd image to the 13.2 image (#11110)
devnexen Apr 21, 2023
231a1f8
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 14, 2023
09e63e4
Merge branch 'PHP-8.2'
iluuu1994 Aug 14, 2023
27fb8d1
Fix DateTime exception hierarchy for DateInvalidTimeZoneException (#1…
Ayesh Aug 14, 2023
0b88704
mysqli_field_seek return type changed to true (#11948)
kamil-tekiela Aug 14, 2023
b71c6b2
Fix #81992: SplFixedArray::setSize() causes use-after-free
nielsdos Aug 13, 2023
0b516ae
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Aug 14, 2023
63a7f22
Merge branch 'PHP-8.2'
nielsdos Aug 14, 2023
02a80c5
Fix various bugs related to DNF types
Girgias Aug 14, 2023
82972f4
Merge branch 'PHP-8.2'
Girgias Aug 15, 2023
d46dc56
Fix various namespace prefix conflict resolution bugs and namespace s…
nielsdos Jul 23, 2023
6e3f93f
PHP-8.1 is now for PHP 8.1.24-dev
patrickallaert Aug 15, 2023
6e8f5e0
Merge branch 'PHP-8.1' into PHP-8.2
patrickallaert Aug 15, 2023
5713bc3
Merge branch 'PHP-8.2'
patrickallaert Aug 15, 2023
32fa673
Update NEWS for PHP 8.3.0beta3
ericmann Aug 15, 2023
4467f33
PHP-8.2 is now for PHP 8.2.11-dev
adoy Aug 15, 2023
baaa37f
Merge branch 'PHP-8.2'
adoy Aug 15, 2023
543eedf
[skip-ci] minor typo fixes in UPGRADING and CONTRIBUTING.md (#11976)
Ayesh Aug 16, 2023
2b61f71
Add test for SimpleXMLElement::asXML() with a fragment and a filename
nielsdos Aug 15, 2023
c1103a9
Fix implicit/explicit port in mysqlnd
kamil-tekiela Mar 24, 2023
06bda99
Merge branch 'PHP-8.1' into PHP-8.2
kamil-tekiela Aug 16, 2023
7e4ca2e
Merge branch 'PHP-8.2'
kamil-tekiela Aug 16, 2023
f78d1d0
Fix segfault in format_default_value due to unexpected enum/object
iluuu1994 Aug 12, 2023
9437aa9
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 17, 2023
48ede64
Merge branch 'PHP-8.2'
iluuu1994 Aug 17, 2023
dd01c74
Remove redundant condition
iluuu1994 Aug 17, 2023
d016c49
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Aug 17, 2023
1b9ff16
Merge branch 'PHP-8.2'
iluuu1994 Aug 17, 2023
ffd398b
Fix failing test on nightly
kamil-tekiela Aug 17, 2023
6d039d2
Merge branch 'PHP-8.1' into PHP-8.2
kamil-tekiela Aug 17, 2023
ee82c94
Merge branch 'PHP-8.2'
kamil-tekiela Aug 17, 2023
4ff93f7
Remove unnecessary invalidation from processing instructions
nielsdos Aug 18, 2023
7f1c3bf
Adds support for DNF types in internal functions and properties (#11…
ju1ius Aug 18, 2023
4c43ba9
Introduce two new modes to round function
jorgsowa Jul 13, 2023
c960b0d
Slight improvement for HALF_UP rounding
jorgsowa Jul 13, 2023
027e3e6
Refactor
jorgsowa Jul 13, 2023
2a91eb5
Refactor
jorgsowa Jul 13, 2023
3cf6a32
optimize calculation for half-even and half-odd
jorgsowa Jul 18, 2023
71dbbc3
Update UPGRADING doc with changes to rounding modes for round function
jorgsowa Jul 18, 2023
f6c908d
Generated stub for basic_functions_arginfo.h
jorgsowa Jul 18, 2023
f3ff32c
Added modes PHP_ROUND_TOWARD_ZERO and PHP_ROUND_AWAY_FROM_ZERO to rou…
jorgsowa Jul 21, 2023
49f1e27
Merge branch 'add_modes_up_and_down_to_round_function' of github.com:…
jorgsowa Aug 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
Skip oci8 tests when no database is available (#11820)
Most oci8 tests fail out-of-the-box because a typical host won't have
an Oracle database instance available. Other database drivers like
mysqli and pgsql address this problem with an include file, inserted
into SKIPIF, that skips the test if no connection at all can be made.

This commits adds such a file (skipifconnectfailure.inc) for oci8, and
adds the corresponding SKIPIF to any tests that connect to a database.

Closes GH-11804

* ext/oci8/tests/lob_aliases.phpt: drop unnecessary SKIPIF.
  • Loading branch information
orlitzky authored Jul 31, 2023
commit 605c60cd5f20e360f2633b74bd422df858b35ffc
4 changes: 4 additions & 0 deletions ext/oci8/tests/array_bind_001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
oci_bind_array_by_name() and invalid values 1
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/array_bind_002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
oci_bind_array_by_name() and invalid values 2
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and invalid values 3
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and invalid values 4
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_005.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and invalid values 5
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_006.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name(), SQLT_CHR and default max_length
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/array_bind_007.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
oci_bind_array_by_name() and invalid values 7
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_008.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and invalid values 8
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/array_bind_009.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
oci_bind_array_by_name() and invalid values 9
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/array_bind_010.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
oci_bind_array_by_name() and invalid values 8
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/array_bind_011.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/array_bind_012.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/array_bind_013.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_014.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and NUMBERs
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_bdouble.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Unsupported type: oci_bind_array_by_name() and SQLT_BDOUBLE
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
if (!defined('SQLT_BDOUBLE')) die('skip SQLT_BDOUBLE type not available on older Oracle clients');
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_bfloat.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Unsupported type: oci_bind_array_by_name() and SQLT_BFLOAT
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
if (!defined('SQLT_BFLOAT')) die('skip SQLT_BFLOAT type not available on older Oracle clients');
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_date.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_ODT
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_date1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_ODT
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_float.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_FLT
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_float1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_FLT
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_int.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_INT
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_int1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_INT
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_str.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_CHR
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_str1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_CHR
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/array_bind_uin.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Unsupported type: oci_bind_array_by_name() and SQLT_UIN
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/b47243_1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Bug #47243 (Crash on exit with ZTS mode)
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/b47243_2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Bug #47243 (Crash on exit with ZTS mode)
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/b47243_3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Bug #47243 (Crash on exit with ZTS mode)
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_boolean_1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Basic PL/SQL "BOOLEAN" (SQLT_BOL) bind test
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
require(__DIR__.'/connect.inc');
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
if (!(isset($matches[0]) && $matches[1] >= 12)) {
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_char_1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ SELECT oci_bind_by_name with SQLT_AFC aka CHAR
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
require(__DIR__."/connect.inc");
// The bind buffer size edge cases seem to change each DB version.
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_char_2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ SELECT oci_bind_by_name with SQLT_AFC aka CHAR and dates
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
require(__DIR__."/connect.inc");
// The bind buffer size edge cases seem to change each DB version.
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_char_3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ PL/SQL oci_bind_by_name with SQLT_AFC aka CHAR to CHAR parameter
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
require(__DIR__."/connect.inc");
// The bind buffer size edge cases seem to change each DB version.
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_char_4.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ PL/SQL oci_bind_by_name with SQLT_AFC aka CHAR to VARCHAR2 parameter
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
require(__DIR__."/connect.inc");
// The bind buffer size edge cases seem to change each DB version.
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/bind_empty.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
binding empty values
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_long.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ bind LONG field
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_long_raw.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ bind LONG RAW field
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_misccoltypes.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Bind miscellaneous column types using default types
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/bind_misccoltypes_errs.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Bind miscellaneous column types and generating errors
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/bind_number.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Bind with NUMBER column variants
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--INI--
precision = 14
--FILE--
Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/bind_query.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Bind with various WHERE conditions
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_raw.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ bind RAW field
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
1 change: 1 addition & 0 deletions ext/oci8/tests/bind_raw_2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ bind RAW field with OCI_B_BIN
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/bind_rowid.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Test ROWID bind
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
4 changes: 4 additions & 0 deletions ext/oci8/tests/bind_sqltafc.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Bind tests with SQLT_AFC
--EXTENSIONS--
oci8
--SKIPIF--
<?php
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php

Expand Down
Loading