summaryrefslogtreecommitdiff
path: root/tests/classes
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.
* Fixed Bug #70967 (Weird error handling for __toString when Error is thrown)Xinchen Hui2015-11-281-1/+1
|
* Switch code on thrown TypeError and ParseError to 0, update related testsAaron Piotrowski2015-07-071-6/+6
|
* Restored old behaviorDmitry Stogov2015-06-291-1/+1
|
* Fixed last previously broken testsBob Weinand2015-06-291-1/+1
|
* 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-144-4/+4
|\ | | | | | | | | | | | | # Conflicts: # Zend/zend_language_scanner.c # Zend/zend_language_scanner.l # ext/simplexml/tests/SimpleXMLElement_xpath.phpt
| * Show argument causing TypeException in traceNikita Popov2015-05-204-4/+4
| | | | | | | | Not sure why that check was there, did I miss something?
* | Update exception names in tests after formatting changes.Aaron Piotrowski2015-05-1746-47/+47
| |
* | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-05-1746-50/+67
|\ \ | |/
| * Display TypeExceptions like normal exceptionsNikita Popov2015-05-175-8/+25
| | | | | | | | | | | | | | 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-1741-42/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-1644-65/+65
|/
* Display EngineExceptions like ordinary exceptionsNikita Popov2015-05-1541-41/+180
| | | | | | | | | 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.
* Reclassify E_STRICT noticesNikita Popov2015-04-0111-16/+21
| | | | | | | 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-317-7/+19
|
* Deprecate PHP 4 constructorsAndrea Faulds2015-03-314-8/+8
|
* Errors converted to exceptions are not "recoverable" anymore.Dmitry Stogov2015-03-106-11/+11
|
* Implement engine exceptionsDmitry Stogov2015-03-091-32/+104
| | | | | | | RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7 Pending changes regarding naming of BaseException and whether it should be an interface.
* Remove assignment of new by referenceNikita Popov2015-01-261-48/+0
|
* Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-2133-33/+33
|
* typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-191-1/+1
|
* Replaces php5 with php7, without whitespace changes.Florian MARGAINE2014-09-201-6/+6
|
* Merge remote-tracking branch 'php-src/phpng' into astNikita Popov2014-08-161-2/+2
|\ | | | | | | | | | | | | | | | | Conflicts: Zend/zend_ast.c Zend/zend_compile.c Zend/zend_language_parser.y Incomplete merge!
| * Merge branch 'master' into phpngDmitry Stogov2014-08-041-2/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (46 commits) PHP_INT_MIN and _MAX tests NEWS and UPGRADING Added PHP_INT_MIN Fix wrong lenght size Bug #51096 - Remove unnecessary ? for first/last day of Moved streams related functions to xp_ssl.c Remove duplicate NEWS Update NEWS Update NEWS Update NEWS BFN BFN Fixed bug #67715 (php-milter does not build and crashes randomly). We need to turn off any strict mode here for this warning to show up Disable restrictions regarding arrays in constants at run-time. For the discussion around it, see the thread on the mailing list: http://www.mail-archive.com/internals@lists.php.net/msg68245.html Revert "Fix bug #67064 in a BC safe way" Updated NEWS for #67693 Updated NEWS for #67693 Fixed bug #67693 - incorrect push to the empty array add missing entry to NEWS ... Conflicts: Zend/tests/errmsg_040.phpt Zend/tests/ns_059.phpt Zend/zend_language_parser.y Zend/zend_vm_def.h ext/openssl/openssl.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_directory.c ext/spl/spl_iterators.c ext/sqlite3/sqlite3.c ext/standard/array.c
* | | Fix test to conform with UVS changesNikita Popov2014-08-151-23/+13
| | |
* | | Fix code in testNikita Popov2014-07-261-1/+1
| | |
* | | Update error messageNikita Popov2014-07-261-2/+1
|/ /
* | Merge branch 'master' into phpngDmitry Stogov2014-06-181-5/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (41 commits) Update copyright year to 2014 Update copyright year to 2014 Update copyright year to 2014 Update copyright year to 2014 Update copyright year to 2014 Update copyright year to 2014 Update copyright year to 2014 NEWS Fix Request #67453 Allow to unserialize empty data. Update copyright year to 2014 Update copyright year for re2c generated files Update copyright year to 2014 Update copyright year for re2c files as well Fix patch for bug #67436 fix failed test Fix test on modern distro where old unsecure algo are disabled in openssl config. Testing recent algo should be enough to check this function. Added tests for bug 67436 Fixed wrong XFAIL test - already fixed Fix typo in Bug #67406 NEWS entry Fix typo in Bug #67406 NEWS entry ... Conflicts: Zend/zend_compile.c ext/session/session.c ext/standard/array.c ext/standard/http_fopen_wrapper.c tests/classes/bug63462.phpt
| * Merge branch 'PHP-5.5' into PHP-5.6Bob Weinand2014-06-151-7/+5
| |\
| | * Merge branch 'PHP-5.4' into PHP-5.5Bob Weinand2014-06-151-7/+5
| | |\
| | | * Fixed wrong XFAIL test - already fixedBob Weinand2014-06-151-7/+5
| | | |
| * | | Fixed tests for recent constant array changesBob Weinand2014-04-111-6/+6
| |/ /
* | | Fixed testDmitry Stogov2014-03-131-6/+8
| | |
* | | Fixed testDmitry Stogov2014-03-071-2/+2
|/ /
* | Fixed bug #65768: DateTimeImmutable::diff does not worknikita22062013-11-291-0/+36
| | | | | | | | | | | | This commit also prevents user classes from directly implementing DateTimeInterface, because ext/date relies on classes implementing it to support certain internal structures.
* | Merge branch 'PHP-5.4' into PHP-5.5Dmitry Stogov2013-11-291-0/+13
|\ \ | |/ | | | | | | * PHP-5.4: Added validation of class names in the autoload process
| * Added validation of class names in the autoload processDmitry Stogov2013-11-291-0/+13
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-041-2/+2
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
| * non living code related typo fixesVeres Lajos2013-08-041-2/+2
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-06-232-0/+41
|\ \ | |/ | | | | | | | | * PHP-5.4: Adding test to verify that __sleep can handle parent classes' private members Adding test to stabelize keys used when converting objects to arrays
| * Adding test to verify that __sleep can handle parent classes' private membersMarco Pivetta2013-06-231-0/+23
| |
| * Adding test to stabelize keys used when converting objects to arraysMarco Pivetta2013-06-231-0/+18
| |
| * fix testsStanislav Malyshev2013-01-231-3/+3
| |
* | Fixed typo - inconsistent notice for undefined property (introduced by fix ↵Michael Moravec2013-04-101-7/+7
| | | | | | | | for #49348)
* | fix testsStanislav Malyshev2013-02-181-1/+13
| |
* | fix testsStanislav Malyshev2013-01-221-3/+3
|/
* Adding test for bug #63462Lars Strojny2013-01-061-0/+71
|
* Adding tests for private and protected propertiesMarco Pivetta2012-12-022-73/+154
|