summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix test outputNikita Popov2016-07-141-4/+2
| | | | | The error is now detected earlier, so the message ends up being different.
* Fix non-/Zend tests tooBob Weinand2016-04-161-1/+2
|
* Fixed bug #71273 A wrong ext directory setup in php.ini leads to crashAnatol Belski2016-01-051-0/+21
|
* Remove mentions of "type hint" and "typehint"Levi Morrison2015-12-241-2/+2
|
* Fix bug #66179Andrea Faulds2015-12-181-2/+2
| | | | | This also fixes ext/standard/tests/general_functions/var_export-locale.phpt to actually run the floating-point section.
* Fixed bug memleak in header_register_callbackXinchen Hui2015-12-111-0/+8
|
* Fixed Bug #70967 (Weird error handling for __toString when Error is thrown)Xinchen Hui2015-11-281-1/+1
|
* Fixed testXinchen Hui2015-11-261-1/+1
|
* Fixed bug #70970 (Segfault when combining error handler with output buffering)Xinchen Hui2015-11-255-5/+33
| | | | | | | | | | of course we can try to refactor the current flow to make this error can be catched safly. but as 7.0.0 is releasing, I don't think a refactor is safe now. and actually I don't see any gain to make this catchable. so let's keep this be consistent with 5.6 and safe for now
* Ensure timeout tests wait for the entire specified durationSteven Hilder2015-09-291-2/+2
|
* Fix Typos: exteption -> exceptionNiklas Keller2015-08-262-2/+2
|
* fix testAnatol Belski2015-08-171-5/+2
| | | | | | This fail has nothing together with any changes in run-tests.php Using run-tests.php from the 5.5 branch brings the same result. So merely it is about how PHP7 handles and buffers errors.
* Fixed tests(I am not sure, these tests seems strange, anyway it passesXinchen Hui2015-08-133-6/+6
| | | | locally now)
* Switch code on thrown TypeError and ParseError to 0, update related testsAaron Piotrowski2015-07-071-6/+6
|
* Fixed test (shift operators throw Error)Dmitry Stogov2015-07-061-1/+1
|
* bring back the division by zero warningAnatol Belski2015-07-053-6/+8
|
* Catch the specifical exceptionXinchen Hui2015-07-036-9/+9
|
* Introduce ArithmeticErrorBob Weinand2015-07-024-399/+399
|
* Use DivisionByZeroError instead of exception for %/intdiv()Bob Weinand2015-07-022-410/+410
|
* Remove warning upon division by zeroBob Weinand2015-07-023-8/+6
|
* Restored old behaviorDmitry Stogov2015-06-291-1/+1
|
* Revert "Fixed last previously broken tests"Dmitry Stogov2015-06-296-1093/+1379
| | | | This reverts commit 79b1832dd5086cd9b4a2e778a62f1743b548726c.
* Fixed last previously broken testsBob Weinand2015-06-297-1380/+1094
|
* Show full signature upon inheritance mismatchBob Weinand2015-06-298-8/+8
|
* Drop duplicate object-to-type noticesNikita Popov2015-06-221-1/+0
| | | | | We already generate a recoverable fatal for these earlier, no need to throw an additional notice.
* Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-06-1410-40/+8
|\ | | | | | | | | | | | | # Conflicts: # Zend/zend_language_scanner.c # Zend/zend_language_scanner.l # ext/simplexml/tests/SimpleXMLElement_xpath.phpt
| * Fix typo in Unicode escape testAndrea Faulds2015-06-061-1/+1
| |
| * 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
| | |
| * | Show argument causing TypeException in traceNikita Popov2015-05-207-7/+7
| | | | | | | | | | | | Not sure why that check was there, did I miss something?
* | | Update exception names in tests after formatting changes.Aaron Piotrowski2015-05-1754-55/+55
| | |
* | | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-05-1756-60/+90
|\ \ \ | |/ /
| * | Display TypeExceptions like normal exceptionsNikita Popov2015-05-178-11/+41
| | | | | | | | | | | | | | | | | | | | | We currently don't show the argument at which the error actually occured in the trace - should probably either add it or don't display args on incomplete frames altogether, otherwise this'll probably be confusing.
| * | Tweak uncaught exception message displayNikita Popov2015-05-1748-49/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Updated tests to reflect exception class changes.Aaron Piotrowski2015-05-1650-71/+71
|/ /
* | Display EngineExceptions like ordinary exceptionsNikita Popov2015-05-1546-46/+200
|/ | | | | | | | | TypeException stays as-is for now because it uses messages that are incompatible with the way exception messages are displayed. closure_038.phpt and a few others now show that we're generating too many exceptions for compound operations on undefined properties -- this needs to be fixed in a followup.
* 0.0 / 0.0 = NaNDmitry Stogov2015-04-061-9/+9
|
* Fixed weird operators behavior. Division by zero now emits warning and ↵Dmitry Stogov2015-04-069-404/+444
| | | | returns +/-INF, modulo by zero and intdid() throws an exception, shifts by negative offset throw exceptions. Compile-time evaluation of division by zero is disabled.
* Throw ParseException from lexerNikita Popov2015-04-027-7/+7
| | | | | | | Primarily to avoid getting fatal errors from token_get_all(). Implemented using a magic E_ERROR token, which the lexer emits to force a parser failure.
* Reclassify E_STRICT noticesNikita Popov2015-04-0124-42/+45
| | | | | | | Per RFC https://wiki.php.net/rfc/reclassify_e_strict While reviewing this, found that there are still three E_STRICTs left in libraries - need to discuss those.
* Finish PHP 4 constructor deprecationNikita Popov2015-03-318-8/+20
|
* Deprecate PHP 4 constructorsAndrea Faulds2015-03-3113-19/+19
|
* Another CRLF test fixKalle Sommer Nielsen2015-03-261-2/+2
|
* Fixed error messagesDmitry Stogov2015-03-201-1/+1
|
* Fix executor issue with ignoring strict types, which cleans up a bunch of ↵Anthony Ferrara2015-03-181-1/+1
| | | | errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages
* 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
|