summaryrefslogtreecommitdiff
path: root/ext/standard
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-02-282-13/+46
|\
| * Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-02-282-13/+46
| |\
| | * Fixed bug #77669Nikita Popov2019-02-282-13/+46
| | |
* | | Fix tests bareword fallback with error suppressionNikita Popov2019-02-254-4/+4
| | | | | | | | | | | | | | | | | | Re-merge commit a369326003995c137046c908e79b6ab482d34cec into PHP-7.4 (cherry picked from commit aad39879f2d2e89de105c4f87d334ee129b4321c) (cherry picked from commit 76f8a908bb18aee92b8f3d523b74b06c9d12cb6b)
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-02-251-0/+19
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Xinchen Hui2019-02-251-0/+19
| |\ \ | | |/ | | | | | | | | | * PHP-7.2: Fixed bug #77664 (Segmentation fault when using undefined constant in custom wrapper)
| | * Fixed bug #77664 (Segmentation fault when using undefined constant in custom ↵Xinchen Hui2019-02-251-0/+19
| | | | | | | | | | | | wrapper)
* | | Fix some directory collisions in dir testsNikita Popov2019-02-253-12/+18
| | |
* | | Remove unused PHP_AC_BROKEN_SPRINTF and AC_ZEND_BROKEN_SPRINTFPeter Kokot2019-02-231-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sprintf function has been normalized to php_sprintf via 61364b5bb172fa512c871b795c2613b1b587e4cd. This patch removes the checks to make a custom sprintf function The ZEND_BROKEN_SPRINTF has been removed and the hardcoded #define zend_sprintf sprintf is used. The php_sprintf and zend_sprintf are now symbols to sprintf. This patch now removes the custom PHP definitions of the php_sprintf and zend_sprintf functions in favor of the C99 sprintf which is also standardized in C89 already. Once, on some systems sprintf didn't behave in same way.
* | | Stricter validation for popen mode argument on WindowsNikita Popov2019-02-223-120/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Context: The ext/standard/tests/file/popen_pclose_error-win32.phpt test often fails under parallel testing, because the "is not recognized as an internal or external command" message doesn't actually have a guaranteed position in the output. While looking into this, I noticed that this test on Windows tests something very different (invalid comand) than on Linux (invalid mode). Here I'm adjusting the Windows popen implementation so it immediately fails on a `rw` mode, just like it does on Linux.
* | | Properly clean up test caseChristoph M. Becker2019-02-221-0/+5
| | | | | | | | | | | | | | | If we had to create an initial $start directory, we should remove it at the end of the test.
* | | Remove use of file resources from string function testsNikita Popov2019-02-215-0/+0
| | | | | | | | | | | | | | | | | | These tests are pointless (they don't even have anything to do with resources, they just use get_resource_type() as a peculiar way to create a string), and cause unnecessary IO dependency.
* | | Make (v)fprintf tests more robustNikita Popov2019-02-2121-94/+34
| | | | | | | | | | | | | | | | | | By using a separate file for each test. Also drop some unnecessary SKIPIF checks for file creation. We assume that files can be created in the test directories all over the place, so don't check for it here.
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-02-212-1/+37
|\ \ \ | |/ /
| * | Fix issue mentioned in #77302Nikita Popov2019-02-212-1/+37
| | | | | | | | | | | | | | | | | | | | | Apparently Serializable::serialize() can return NULL, which is encoded as N;. As we do not allow back-references to non-object values in PHP 7.3 we need to make sure that any references are also compiled to N;.
* | | Add special "all" conflictNikita Popov2019-02-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | If a test conflicts with "all", then no other tests may be run in parallel. This is needed for windows_mb_path tests, which rely on the console codepage, which is shared across all parallel workers. Also add support for comments in the CONFLICTS section/file.
* | | Implement fine-grained conflict handlingNikita Popov2019-02-208-0/+8
| | | | | | | | | | | | | | | | | | Tests can specify conflict keys, either in --CONFLICTS-- or a per-directory CONFLICTS file. Non-conflicting tests may be run in parallel.
* | | Make proc_open_bug69900.phpt more robust against parallelizationNikita Popov2019-02-201-3/+9
| | | | | | | | | | | | | | | With multiple workers running this might take more than 1ms. Bump this up to the same threshold that was already used for CI.
* | | Avoid port conflicts in stream socket testsNikita Popov2019-02-193-19/+4
| | | | | | | | | | | | Also drop some useless --CLEAN-- sections.
* | | Remove spurious + before --CREDITS--Nikita Popov2019-02-191-1/+1
| | |
* | | Avoid file conflicts in mail testsNikita Popov2019-02-195-13/+13
| | |
* | | Fix typos in code comments [skip ci]Tyson Andre2019-02-184-5/+5
| | |
* | | run-tests.php: experimental parallel testing supportAndrea Faulds2019-02-183-0/+0
| | |
* | | Test the warning for giving full path to dl()Tom Van Herreweghe2019-02-171-0/+22
| | |
* | | Added basic stream_filter_register testRobrecht Plaisier2019-02-141-0/+25
| | |
* | | use local resources instead remoterjhdby2019-02-142-6/+18
| | |
* | | Make ABI of SIMD optimized functions independent of compiler flagsNikita Popov2019-02-144-25/+32
| | | | | | | | | | | | | | | Always export these as normal functions and only use function pointers internally if necessary.
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-02-141-51/+35
|\ \ \ | |/ /
| * | Fixed bug #77612Nikita Popov2019-02-141-51/+35
| | | | | | | | | | | | | | | Port php_setcookie() to use the smart_str API to ensure that there can be no string truncation issues.
* | | http_build_query add type casesManuel Kea Baldassarri2019-02-131-4/+4
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-02-121-7/+4
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-02-121-7/+4
| |\ \ | | |/
| | * Fixed bug #75546DanielCiochiu2019-02-121-7/+4
| | | | | | | | | | | | | | | By respecting the SILENT flag when checking the visibility of a class constant.
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-02-122-9/+11
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-02-122-9/+11
| |\ \ | | |/
| | * Fixed bug #77608Nikita Popov2019-02-122-9/+11
| | | | | | | | | | | | Remove special handling of doubles and escape them as usual instead.
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-02-111-0/+32
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-02-111-0/+32
| |\ \ | | |/
| | * Fix #77552: Uninitialized buffer in stat functionsjohnstevenson2019-02-111-0/+32
| | |
| * | Fix tests bareword fallback with error suppressionGuilliam Xavier2019-02-1117-222/+202
| | | | | | | | | | | | | | | (cherry picked from commit aad39879f2d2e89de105c4f87d334ee129b4321c) (cherry picked from commit 76f8a908bb18aee92b8f3d523b74b06c9d12cb6b)
* | | Added test for non existent file for iptcembedMark Niebergall2019-02-101-0/+12
| | |
* | | Tests the 'Dynamically loaded extensions are not enabled' warning for dl()Tom Van Herreweghe2019-02-101-0/+22
| | | | | | | | | | | | Signed-off-by: Tom Van Herreweghe <tom.van.herreweghe@dx-solutions.be>
* | | Test function quotemeta() - using an empty string is given as str.Rodrigo Prado2019-02-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | fnmatch error when pattern or filename too longPete Albrecht2019-02-101-0/+18
| | | | | | | | | | | | i3logix PHP Testfest 2017
* | | Implement FR #77377 handle CTRL+C in WindowsAnatol Belski2019-02-083-0/+25
| | |
* | | Add test for null return on version_compare with bad operatorDavid Stockton2019-02-091-0/+12
| | |
* | | Update and fix remaining year ranges (2019)Peter Kokot2019-02-082-3/+3
| | | | | | | | | | | | | | | | | | This patch follows previous license year ranges updates. With new approach source code files now have simplified headers with license information without year ranges.
* | | Fix invalid freeNikita Popov2019-02-081-1/+2
| | |
* | | Some more test removalsNikita Popov2019-02-055-751/+0
| | | | | | | | | | | | Noticed these while implementing error handler changes.
* | | Remove zpp variation testsNikita Popov2019-02-05238-50256/+0
| | |