summaryrefslogtreecommitdiff
path: root/tests/basic
Commit message (Collapse)AuthorAgeFilesLines
* Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Convert CRLF line endings to LFPeter Kokot2018-10-133-134/+134
| | | | | | | | | | | | | | | | | | | | | | | | This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because also Git can do output conversion is core.autocrlf=true is set on Windows and use CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
* Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-02-031-1/+1
|\ | | | | | | | | * PHP-7.0: increase wait time in timeout_variation_9.phpt by 1 second
| * increase wait time in timeout_variation_9.phpt by 1 secondRodrigo Prado2017-02-031-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-02-031-1/+1
|\ \ | |/ | | | | | | * PHP-7.0: increase wait time in timeout_variation_10.phpt by 1 second
| * increase wait time in timeout_variation_10.phpt by 1 secondRodrigo Prado2017-02-031-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-222-0/+32
|\ \ | |/ | | | | | | * PHP-7.0: Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called
| * Fixed #73969 - Fixed segmentation fault when debug_print_backtrace calledandrewnester2017-01-222-0/+32
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-041-0/+23
|\ \ | |/ | | | | | | | | * PHP-7.0: get_defined_functions additional parameter to exclude disabled functions news entry for PR #1312
| * Merge branch 'pull-request/1312' into PHP-7.0Joe Watkins2017-01-041-0/+23
| |\ | | | | | | | | | | | | | | | * pull-request/1312: get_defined_functions extra parameter to exclude disabled functions news entry for PR #1312
| | * Added "exclude_disabled" argument to "get_defined_functions".Willian Gustavo Veiga2015-06-021-1/+12
| | |
| | * Fix bug #31875 - get_defined_functions() should not list disabled functions.Willian Gustavo Veiga2015-05-301-0/+12
| | |
* | | Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUGNikita Popov2016-08-1916-134/+1
| | | | | | | | | | | | | | | Enabling ZEND_DEBUG should not result in intrusive program behavior changes.
* | | Add decimal point in double serializationJakub Zelenka2016-06-261-1/+1
| | |
* | | Add better value to testYasuo Ohgaki2016-06-261-15/+22
| | |
* | | Remove unneeded output from testYasuo Ohgaki2016-06-261-14/+0
| | |
* | | Fix mode when precision=0. Add testYasuo Ohgaki2016-06-261-0/+171
|/ /
* | Fixed bug #71273 A wrong ext directory setup in php.ini leads to crashAnatol Belski2016-01-051-0/+21
| |
* | Fixed bug memleak in header_register_callbackXinchen Hui2015-12-111-0/+8
| |
* | Ensure timeout tests wait for the entire specified durationSteven Hilder2015-09-291-2/+2
| |
* | Fix Typos: exteption -> exceptionNiklas Keller2015-08-262-2/+2
|/
* Merge context sensitive lexer RFCBob Weinand2015-05-252-32/+0
|\
| * add tests for semi reserved words and remove obsolete onesMárcio Almada2015-04-302-32/+0
| |
* | Tweak uncaught exception message displayNikita Popov2015-05-171-1/+1
|/ | | | | | | | | | | | | This implements a reduced variant of #1226 with just the following change: -Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d +Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d The '' wrapper around messages is very weird if the exception message itself contains ''. Futhermore having the message wrapped in '' doesn't work for the "and defined" suffix of TypeExceptions.
* use default test timeoutAnatol Belski2015-03-1611-11/+0
|
* test fixes + added skipif for slow testsAnatol Belski2015-03-1612-26/+63
|
* use busy sleep instead of sleep() for timeout testsAnatol Belski2015-03-1612-12/+44
|
* test timeout with shutdown function, variationAnatol Belski2015-03-161-0/+21
|
* test timeout with shutdown functionAnatol Belski2015-03-161-0/+21
|
* test timeout with foreach loopAnatol Belski2015-03-161-0/+18
|
* test timeout with for loopAnatol Belski2015-03-161-0/+18
|
* test timeout with exception variationAnatol Belski2015-03-161-0/+24
|
* test timeout with exceptionAnatol Belski2015-03-161-0/+20
|
* fix timeout with cal_user_funcAnatol Belski2015-03-161-0/+21
|
* test timeout within eval()Anatol Belski2015-03-161-0/+20
|
* test timeout with array_walkAnatol Belski2015-03-161-0/+22
|
* test timeout within functionAnatol Belski2015-03-161-0/+21
|
* test timeout within while loopAnatol Belski2015-03-161-0/+18
|
* Merge branch 'PHP-5.6'Yasuo Ohgaki2015-02-032-7/+34
|\ | | | | | | | | | | | | | | | | * PHP-5.6: Fixed Bug #67988 htmlspecialchars() does not respect default_charset specified by ini_set. Conflicts: main/main.c tests/basic/encoding.phpt
| * Fixed Bug #67988 htmlspecialchars() does not respect default_charset ↵Yasuo Ohgaki2015-02-032-7/+34
| | | | | | | | specified by ini_set.
| * The test output is dependent on expose_php iniRasmus Lerdorf2014-07-141-0/+1
| |
| * XFAIL-- for bug #67198Michael Wallner2014-05-061-2/+0
| |
* | Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-211-1/+1
| |
* | The test output is dependent on expose_php iniRasmus Lerdorf2014-07-111-0/+1
| |
* | XFAIL-- for bug #67198Michael Wallner2014-05-061-2/+0
| |
* | Merge branch 'PHP-5.6'Ferenc Kovacs2014-05-051-0/+44
|\ \ | |/ | | | | | | * PHP-5.6: test for bug #67198
| * test for bug #67198Ferenc Kovacs2014-05-051-0/+44
| |
* | Merge branch 'PHP-5.6'Yasuo Ohgaki2014-02-131-0/+39
|\ \ | |/ | | | | | | * PHP-5.6: Implement RFC https://wiki.php.net/rfc/default_encoding
| * Implement RFC https://wiki.php.net/rfc/default_encodingYasuo Ohgaki2014-02-131-0/+39
| |
| * Add E_DEPRECATED when populating $HTTP_RAW_POST_DATAMichael Wallner2013-12-302-0/+6
| |