summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings
Commit message (Collapse)AuthorAgeFilesLines
* Use int instead of integer in type errorsGabriel Caruso2018-02-0437-293/+293
| | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
* strcoll isn't always availableGabriel Caruso2018-02-042-4/+7
|
* Cleanup some tests - remove unnecessary sectionsStanislav Malyshev2018-02-041-1/+1
| | | | Also unify credits - all are under --CREDITS-- now.
* Use %d when expecting line number in testsGabriel Caruso2018-02-021-11/+11
|
* Fix misspelling vlaues to valuesGabriel Caruso2018-01-2834-34/+34
|
* Add test for strnatcmp() align left casesSol Richardson2017-10-191-0/+29
|
* Fixed unzserialize(), to disable creation of unsupported data structures ↵Dmitry Stogov2017-10-131-38/+2
| | | | through manually crafted strings. (Dmitry)
* Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2017-08-241-8/+8
|\ | | | | | | | | * PHP-7.1: From documentation, only the sign of returned value is relevant
| * Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-08-241-8/+8
| |\ | | | | | | | | | | | | * PHP-7.0: From documentation, only the sign of returned value is relevant
| | * From documentation, only the sign of returned value is relevantRemi Collet2017-08-241-8/+8
| | | | | | | | | | | | With recent glibc, memcmp sometime return a negative value instead of -1
* | | Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2017-08-151-0/+10
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.1: Update NEWS Fixed bug #75075 (unpack with X* causes infinity loop)
| * | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-08-151-0/+10
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed bug #75075 (unpack with X* causes infinity loop)
| | * Fixed bug #75075 (unpack with X* causes infinity loop)Xinchen Hui2017-08-151-0/+10
| | |
* | | Merge branch 'PHP-7.1'Stanislav Malyshev2017-07-042-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.1: Improve fix for #74145 Fix wddx Fix tests Fixed bug #74111 Fix bug #74603 - use correct buffer size Fix bug #74651 - check EVP_SealInit as it can return -1 Update NEWS Fix bug #74087 Fixed parsing of strange formats with mixed month/day and time strings Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV Fixed bug #74111 Fix #74435: Buffer over-read into uninitialized memory Fix bug #74603 - use correct buffer size Fix bug #74651 - check EVP_SealInit as it can return -1 Update NEWS Fix bug #73807
| * | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2017-07-042-2/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Improve fix for #74145 Fix wddx Fix tests Fixed bug #74111 Fix bug #74603 - use correct buffer size Fix bug #74651 - check EVP_SealInit as it can return -1 Update NEWS Fix bug #74087 Fixed parsing of strange formats with mixed month/day and time strings Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV Fixed bug #74111 Fix #74435: Buffer over-read into uninitialized memory Fix bug #74603 - use correct buffer size Fix bug #74651 - check EVP_SealInit as it can return -1 Update NEWS Fix bug #73807
| | * Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2017-07-042-2/+2
| | |\ | | | | | | | | | | | | | | | | * PHP-5.6: Fix tests
| | | * Fix testsStanislav Malyshev2017-07-041-2/+2
| | | |
* | | | Change 'undefined constant' from E_NOTICE to E_WARNING and mention deprecationRowan Collins2017-03-232-0/+0
| | | | | | | | | | | | | | | | | | | | Implements RFC "Deprecate and Remove Bareword (Unquoted) Strings" [https://wiki.php.net/rfc/deprecate-bareword-strings]
* | | | Deprecate track_errors / $php_errormsgNikita Popov2017-02-031-9/+2
| | | |
* | | | Deprecate parse_str() without second argumentNikita Popov2017-02-035-15/+28
| | | |
* | | | Deprecate create_function()Nikita Popov2017-02-031-0/+1
| | | |
* | | | Merge branch 'PHP-7.1'Nikita Popov2017-02-031-0/+12
|\ \ \ \ | |/ / /
| * | | Fixed bug #74041Nikita Popov2017-02-031-0/+12
| | | |
* | | | Remove zend_version() checks from testsNikita Popov2017-01-301-4/+0
| | | |
* | | | Merge branch 'PHP-7.1'Nikita Popov2017-01-101-2/+0
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-01-101-2/+0
| |\ \ \ | | |/ /
| | * | Un-XFAIL serialization testNikita Popov2017-01-101-2/+0
| | | |
| | * | Merge branch 'pull-request/1905'Joe Watkins2017-01-032-2/+314
| | | | | | | | | | | | | | | | | | | | * pull-request/1905: pack()/unpack() for Big Endian float/double and Little Endian float/double
| * | | Merge branch 'pull-request/1905'Joe Watkins2017-01-032-2/+314
| | | | | | | | | | | | | | | | | | | | * pull-request/1905: pack()/unpack() for Big Endian float/double and Little Endian float/double
* | | | Merge branch 'master' into mastersskaje2017-01-0370-1290/+2095
|\ \ \ \
| * \ \ \ Merge branch 'PHP-7.1'Anatol Belski2016-12-011-0/+3
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-7.1: fix condition improve skipif
| | * | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-12-011-0/+3
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * PHP-7.0: improve skipif
| | | * | improve skipifAnatol Belski2016-12-011-0/+3
| | | | |
| * | | | Remove more PHP 6 leftovers from testsNikita Popov2016-11-243-102/+102
| | | | |
| * | | | Fix CRLF line-endings in testsNikita Popov2016-11-2015-1092/+1092
| | | | | | | | | | | | | | | | | | | | Also fix a single instance of CRLF in ibase_query.c.
| * | | | Remove the binary cast from unrelated testsPedro Magalhães2016-11-203-8/+8
| | | | |
| * | | | Remove the b prefix from literals on unrelated testsPedro Magalhães2016-11-2020-99/+99
| | | | |
| * | | | Cleanup tests version checksTom Van Looy2016-11-201-4/+0
| | | | |
| * | | | Move utf8_encode and utf8_decode to ext/standardAndrea Faulds2016-10-177-0/+453
| |/ / /
| * | | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-10-081-2/+32
| |\ \ \ | | |/ /
| | * | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2016-10-081-2/+32
| | |\ \ | | | |/
| | | * Revert "Fixed test"Nikita Popov2016-10-081-2/+32
| | | | | | | | | | | | | | | | This reverts commit a10d03ac166daba646b6023e0f12e9ee8040c909.
| | * | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2016-10-041-32/+2
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fixed test Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986 Apparently negative wordwrap is a thing and should work as length = 0.
| | | * Fixed testIlia Alshanetsky2016-10-041-32/+2
| | | |
| | | * fix test (32bits)Remi Collet2016-09-151-1/+1
| | | |
| * | | Ensure symtable exists before checking itNikita Popov2016-09-281-0/+19
| | | |
| * | | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2016-09-211-1/+7
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.0: Fixed skip
| | * | Fixed skipXinchen Hui2016-09-211-1/+7
| | | |
| * | | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2016-09-121-17/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: (22 commits) Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields I don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed Fix test Add check in fgetcsv in case sizeof(unit) != sizeof(size_t) Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile) Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction Fix bug #73029 - Missing type check when unserializing SplArray Fix bug #72860: wddx_deserialize use-after-free Fix bug #73007: add locale length check Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile sync NEWS Revert "Merge branch 'PHP-5.6' into PHP-7.0" Merge branch 'PHP-5.6' into PHP-7.0 Merge branch 'PHP-5.6' into PHP-7.0 Revert "Revert "Merge branch 'PHP-5.6' into PHP-7.0"" fix version sync NEWS Fix bug #72957 set versions ...
| | * | Merge branch 'PHP-7.0.11' into PHP-7.0Stanislav Malyshev2016-09-121-17/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0.11: (22 commits) Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields I don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed Fix test Add check in fgetcsv in case sizeof(unit) != sizeof(size_t) Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile) Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction Fix bug #73029 - Missing type check when unserializing SplArray Fix bug #72860: wddx_deserialize use-after-free Fix bug #73007: add locale length check Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile sync NEWS Revert "Merge branch 'PHP-5.6' into PHP-7.0" Merge branch 'PHP-5.6' into PHP-7.0 Merge branch 'PHP-5.6' into PHP-7.0 Revert "Revert "Merge branch 'PHP-5.6' into PHP-7.0"" fix version sync NEWS Fix bug #72957 set versions ...