summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Make more tests run on LinuxGabriel Caruso2018-08-281-6/+0
|
* Fix some misspellingsGabriel Caruso2018-08-124-5/+5
|
* Make more tests run on 64bit plataformsGabriel Caruso2018-07-303-12/+0
|
* Remove unused Git attributes identPeter Kokot2018-07-251-1/+1
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Fixed bug #76509Nikita Popov2018-06-251-5/+5
| | | | | | | | | | | In PHP static properties are shared between inheriting classes, unless they are explicitly overwritten. However, because this functionality was implemented using reference, it was possible to break the implementation by reassigning the static property reference. This is fixed by switching the implementation from using references to using INDIRECTs, which cannot be affected by userland code.
* Improve HashTable iterators handling:Dmitry Stogov2018-03-222-26/+44
| | | | | | - Avoid iterators check/update on each HashTable update opration - Keep position equal (or above) nNumUsed instead of HT_INVALID_IDX - Fixed iterators handling in array_unshift()
* Remove duplicated testsGabriel Caruso2018-02-221-37/+0
|
* remove support for string|unicode in testsGabriel Caruso2018-02-226-46/+46
|
* Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-20118-118/+118
| | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* Remove empty sections in testsGabriel Caruso2018-02-141-2/+1
|
* Remove trailing whitespace in inc filesGabriel Caruso2018-02-1010-97/+97
|
* Use int instead of integer in type errorsGabriel Caruso2018-02-046-27/+27
| | | | | | | 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".
* Remove some references to E_STRICT in testsNikita Popov2018-02-036-10/+0
| | | | | | | run-tests.php enforces error_reporting=E_ALL (including E_STRICT), setting this explicitly in not necessary. Conversely, after the removal of some E_STRICT errors, explicitly excluding it is no longer necessary in some places.
* Remove superfluous SKIPIF sections in testsGabriel Caruso2018-02-036-16/+1
|
* Fix #75765 Exception on extend of undefined classtimurib2018-01-122-1/+26
| | | | | | As the parent class is fetched prior to binding, there are no safety concerns in this case and we can replace the fatal error with an Error exception.
* Fixed incorrect recursion detectionDmitry Stogov2017-10-061-0/+10
|
* Merge branch 'PHP-7.1' into PHP-7.2Andrea Faulds2017-09-211-0/+18
|\
| * Merge branch 'PHP-7.0' into PHP-7.1Andrea Faulds2017-09-211-0/+18
| |\
| | * Fix bug #75236Andrea Faulds2017-09-211-0/+18
| | |
| * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-08-193-0/+40
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fix issues with phpt and EXTENSION on windows (BUG 75042)
| | * Fix issues with phpt and EXTENSION on windows (BUG 75042)John Boehr2017-08-193-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Commands are not properly escaped for windows * Specifying "-n" to check loaded modules causes "Module already loaded" warning * Extensions to be loaded need the "php_" prefix on Windows Bug: https://bugs.php.net/bug.php?id=75042 Add back -n flag to fetch loaded extensions in run-tests.php Add test for phpt EXTENSIONS directive Add a second test for bug 75042 Add test to test loading of nonexistent shared module with the EXTENSIONS phpt block Pass ini settings when checking loaded extensions Fix skipifs
* | | Fix skipifsAnatol Belski2017-08-182-10/+4
| | |
* | | Fix issues with phpt and EXTENSION on windows (BUG 75042)John Boehr2017-08-183-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Commands are not properly escaped for windows * Specifying "-n" to check loaded modules causes "Module already loaded" warning * Extensions to be loaded need the "php_" prefix on Windows Bug: https://bugs.php.net/bug.php?id=75042 Add back -n flag to fetch loaded extensions in run-tests.php Add test for phpt EXTENSIONS directive Add a second test for bug 75042 Add test to test loading of nonexistent shared module with the EXTENSIONS phpt block Pass ini settings when checking loaded extensions
* | | Merge branch 'PHP-7.1' into PHP-7.2Andrea Faulds2017-08-121-0/+16
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.0' into PHP-7.1Andrea Faulds2017-08-121-0/+16
| |\ \ | | |/
| | * Fix bug #74725 (html_errors=1 breaks unhandled exceptions)Andrea Faulds2017-08-121-0/+16
| | |
* | | Req #74963 (Improved error message on fetching property of non-object)Xinchen Hui2017-07-311-9/+9
| | |
* | | Merge branch 'PHP-7.1' into PHP-7.2Sara Golemon2017-07-221-0/+29
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fix compile-time optimization of NAN comparisons
| * | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-07-221-0/+29
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fix compile-time optimization of NAN comparisons
| | * Fix compile-time optimization of NAN comparisonsSara Golemon2017-07-221-0/+29
| | |
* | | Bug #74815 crash with a combination of INI entries at startupAnatol Belski2017-06-271-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | TS related VCWD routines depend on CWD. Thus, a premature CWD deactivation renders the VCWD layer unusable. Same issue seems to persist in versions < 7.2, just that the code path is actually unused so the issue didn't show up. Still might make sense to backport this into lower branches.
* | | Remove superfluous semicolonsTom Van Looy2017-06-264-4/+4
| | |
* | | Implement object type annotationMichaƂ Brzuchalski2017-06-254-94/+94
| | | | | | | | | | | | RFC: https://wiki.php.net/rfc/object-typehint
* | | Change 'undefined constant' from E_NOTICE to E_WARNING and mention deprecationRowan Collins2017-03-232-2/+2
| | | | | | | | | | | | | | | Implements RFC "Deprecate and Remove Bareword (Unquoted) Strings" [https://wiki.php.net/rfc/deprecate-bareword-strings]
* | | Change PHP_OS_FAMILY slightlyKalle Sommer Nielsen2017-02-2223-25/+25
| | | | | | | | | | | | | | | * PHP_OS_FAMILY is now a macro, to allow extensions to take advantage of it, it is defined in php.h * Values are not upper-case-first, not always uppercase. Windows is no longer just "Win", if we want the short version for testing then PHP_OS is always WINNT anyway
* | | Implement Parameter Type Widening RFCNiklas Keller2017-02-041-14/+0
| | |
* | | Deprecate each()Nikita Popov2017-02-033-6/+9
| | |
* | | Deprecate assert() with string argumentNikita Popov2017-02-031-1/+2
| | |
* | | Deprecate track_errors / $php_errormsgNikita Popov2017-02-033-0/+9
| | |
* | | Deprecate __autoload()Nikita Popov2017-02-0321-208/+188
| | |
* | | Deprecate create_function()Nikita Popov2017-02-033-3/+7
| | |
* | | Merge branch 'PHP-7.1'Joe Watkins2017-02-031-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: increase wait time in timeout_variation_9.phpt by 1 second
| * | 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.1'Joe Watkins2017-02-031-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: increase wait time in timeout_variation_10.phpt by 1 second
| * | 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
| | |
* | | Remove zend_version() checks from testsNikita Popov2017-01-30118-230/+0
| | |
* | | add PHP_OS_FAMILY constant to determine on which os we areStricted2017-01-2524-24/+24
| | |
* | | Merge branch 'PHP-7.1'Joe Watkins2017-01-222-0/+32
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called