Anatol Belski
2d7658959e
Unbundle oniguruma in config.w32
2019-02-11 14:53:19 +01:00
Nikita Popov
e91d8ac5f6
Add MB_ONIGURUMA_VERSION and use it in a version dependent test
2019-02-11 14:53:19 +01:00
Nikita Popov
d1c1481081
Unbundle oniguruma
...
And also switch detection over to pkg-config.
2019-02-11 14:53:19 +01:00
Nikita Popov
f5d2a30466
Validate subject encoding in mb_split and mb_ereg_match
...
We were already validating the subject encoding in most functions,
but not these two.
2019-02-11 12:31:59 +01:00
Nikita Popov
2e594265b8
Validate pattern against mbregex encoding
...
Oniguruma does not consistently perform this validation itself (at least
on older versions), so make sure we check pattern encoding validity on the
PHP side.
2019-02-11 12:10:40 +01:00
Nikita Popov
52c2d47c90
Merge branch 'PHP-7.3' into PHP-7.4
2019-02-11 11:33:18 +01:00
Nikita Popov
be64a06b1c
Merge branch 'PHP-7.2' into PHP-7.3
2019-02-11 11:33:04 +01:00
johnstevenson
fe4d7248cc
Fix #77552 : Uninitialized buffer in stat functions
2019-02-11 11:31:55 +01:00
Nikita Popov
e93d6d97aa
Disable PEAR by default
...
Installation of PEAR can be enabled using --with-pear, but will
through a deprecation warning during ./configure.
2019-02-11 11:10:13 +01:00
Nikita Popov
5ee11887df
Merge branch 'PHP-7.3' into PHP-7.4
2019-02-11 09:36:35 +01:00
Guilliam Xavier
b3935ed2af
Fix tests bareword fallback with error suppression
...
(cherry picked from commit aad39879f2
)
(cherry picked from commit 76f8a908bb
)
2019-02-11 09:36:03 +01:00
Xinchen Hui
515c51953f
regenerate with re2c 1.0.3
2019-02-11 15:42:55 +08:00
Xinchen Hui
4f044f680c
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections)
Conflicts:
Zend/zend_ini_scanner.c
2019-02-11 15:33:59 +08:00
Xinchen Hui
92055ca79b
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections)
...
Section name should not be typed(NULL, FALSE, TRUE etc)
2019-02-11 15:27:29 +08:00
Christopher Jones
98b73dbd94
Merge PDO_OCI tracing attribute PR
2019-02-11 17:05:36 +11:00
Christopher Jones
a1b8e6b1c1
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Merge PDO_OCI PR
PDO_OCI tracing attribute PR merge
pdo_oci: Add client identifier and module attrs
pdo_oci: Register new attr constants and add tests
pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO
2019-02-11 17:03:51 +11:00
Christopher Jones
bdce2954c3
Merge PDO_OCI PR
2019-02-11 16:38:23 +11:00
Christopher Jones
983ba59e3e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
PDO_OCI tracing attribute PR merge
pdo_oci: Add client identifier and module attrs
pdo_oci: Register new attr constants and add tests
pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO
2019-02-11 16:36:39 +11:00
Christopher Jones
1f86dcdd13
PDO_OCI tracing attribute PR merge
2019-02-11 16:19:13 +11:00
Cameron Porter
38363f4820
pdo_oci: Add client identifier and module attrs
...
Add tests for the new attributes, and check the setAttribute return
value.
2019-02-11 16:10:47 +11:00
Cameron Porter
fc940f0703
pdo_oci: Register new attr constants and add tests
2019-02-11 16:10:47 +11:00
Cameron Porter
a095472e62
pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO
...
Add the ability to set the action and client info on the database
session for PDO OCI using PDO attributes.
2019-02-11 16:10:47 +11:00
Mark Niebergall
f28bf785fd
Added test for non existent file for iptcembed
2019-02-10 22:43:12 +01:00
Peter Kokot
eaddc9f7d9
Fix failing tests for readline() without input
...
If PHP readline extension is using libedit or readline the output is
different with the readline library also the prompt is output.
2019-02-10 22:31:32 +01:00
Ward Cappelle
f9d66caddf
Expand FTP delete basic test with "unknown file" coverage
...
A port of the original https://github.com/phpcommunity/phptestfest-php-src/pull/148 pull
request, created earlier during #PHPTestFest (User Group: PHP-WVL & PHPGent).
Expands the existing FTP delete command test with coverage for deletion of
non-existing files (which returns a 550 status code).
2019-02-10 20:41:08 +01:00
Jonathan Stevens
e94d98e288
Tests for readline() without input
2019-02-10 20:31:23 +01:00
Enrico Zimuel
f57acf08aa
Added test for openssl_pkcs12_export_to_file_error
2019-02-10 20:18:17 +01:00
Tom Van Herreweghe
3f93f1591e
Tests the 'Dynamically loaded extensions are not enabled' warning for dl()
...
Signed-off-by: Tom Van Herreweghe <tom.van.herreweghe@dx-solutions.be>
2019-02-10 20:13:12 +01:00
Rodrigo Prado
27b366c9e4
Test function quotemeta() - using an empty string is given as str.
...
Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
User Group: PHPSP #PHPTestFestBrasil
Test function quotemeta() - using an empty string is given as str.
This test coverage line 2722 from file /ext/standard/string.c and is not a ZPP test.
http://gcov.php.net/PHP_HEAD/lcov_html/ext/standard/string.c.gcov.php#L2722
2019-02-10 20:06:35 +01:00
Er Galvão Abbott
eadfdb9617
Add test case for pcntl_setpriority basic behaviour
2019-02-10 20:03:08 +01:00
Mark Niebergall
e727facd47
Added test for xml_parser_set_option
...
- For skipping white space and triggering invalid encoding value error
2019-02-10 19:52:31 +01:00
Pete Albrecht
76703ae5a1
fnmatch error when pattern or filename too long
...
i3logix PHP Testfest 2017
2019-02-10 19:38:46 +01:00
Peter Kokot
5ca12f6c5f
[ci skip] Update changelog
2019-02-10 19:18:07 +01:00
Guilliam Xavier
3dd2abe3e6
Delete duplicate test file
...
`Zend/tests/cast_to_array_fixed.phpt` was created as exact duplicate of
`Zend/tests/cast_to_array.phpt`
2019-02-10 12:41:30 +01:00
Peter Kokot
650a217b0c
Fix failing tests
...
The run-tests script executes the cleaning section separately and interfers
with the running test itself less. This fixes two failing tests on Windows
platforms.
2019-02-10 01:27:38 +01:00
Peter Kokot
4ae5691a60
Fix failing readline() basic test
...
Test for readline() basic doesn't seem to capture the STDIN in the
output for some systems such as macOS and Windows.
2019-02-09 23:40:42 +01:00
MarkBaker
31b2dcb26c
Tests for __set_state magic method
...
Tests for __set_state magic method for DateTime, DateTimeImmutable,
DateTimeZone and DatePeriod.
2019-02-09 17:18:23 +01:00
Mark Niebergall
1253a68926
Add test for date_time_immutable invalid arguments
2019-02-09 17:05:22 +01:00
Florian Engelhardt
1227284fb5
Added basic test for ZipArchive::unchangeName()
2019-02-09 16:33:43 +01:00
Florian Engelhardt
ec814c3a62
Added basic test for ZipArchive::unchangeIndex()
2019-02-09 16:27:30 +01:00
Anatol Belski
2ca3becd17
Fix TS build, ref #77377
2019-02-08 18:42:48 -08:00
Anatol Belski
12bfd9a5f5
Implement FR #77377 handle CTRL+C in Windows
2019-02-08 18:10:31 -08:00
David Stockton
e1dd8cd678
Add test for null return on version_compare with bad operator
2019-02-09 02:52:17 +01:00
MarkBaker
c5f9855283
Test to verify that closures can't be instantiated
2019-02-09 02:46:09 +01:00
Er Galvão Abbott
d22dd5f93a
Add test for pcntl_getpriority() basic behaviour
2019-02-09 02:39:46 +01:00
Joel Clermont
0506c0224a
readline - add basic test
2019-02-09 01:21:52 +01:00
Rodrigo Prado
dc1937e386
updated typo in test
...
User Group: PHPSP #phptestfestbrasil
2019-02-09 00:07:20 +01:00
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
c0ce258b53
Fix incorrect outbuf freeing
2019-02-08 12:59:48 +01:00
Nikita Popov
0d4471fd28
Fix double free if post inc of typed property throws
...
We either need to add an extra ref because the copy is used as the
retval, which is freed by HANDLE_EXCEPTION, or we need to undef it
(done here).
2019-02-08 12:43:11 +01:00