summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUGNikita Popov2016-08-1916-134/+1
| | | | | Enabling ZEND_DEBUG should not result in intrusive program behavior changes.
* Show "or null" in TypeErrors for nullable arg_infosAndrea Faulds2016-08-111-3/+3
|
* Merge branch 'PHP-7.0'Nikita Popov2016-07-141-4/+2
|\
| * Fix test outputNikita Popov2016-07-141-4/+2
| | | | | | | | | | The error is now detected earlier, so the message ends up being different.
* | 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
| |
* | Implemented RFC: Replace "Missing argument" warning with "Too few arguments" ↵Dmitry Stogov2016-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception Squashed commit of the following: commit 8b45fa2acb8cd92542a39e1e4720fe1f4fabc26c Author: Dmitry Stogov <dmitry@zend.com> Date: Thu Jun 16 01:52:50 2016 +0300 Separate slow path of ZEND_RECV into a cold function. commit 9e18895ee59c64c93a96b1ba3061355c4663e962 Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jun 15 23:26:28 2016 +0300 Required argument can't be IS_UNDEF anymore. commit 662db66e3943d4455c65e4f987bb54abf724ecb2 Author: Dmitry Stogov <dmitry@zend.com> Date: Tue May 31 17:14:50 2016 +0300 Replace "Missing argument" warning by "Too few arguments" exception.
* | Implemented RFC: Fix inconsistent behavior of $this variableDmitry Stogov2016-06-162-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit bdd3b6895c3ce3eacfcf7d4bf4feb8dfa61801fd Author: Dmitry Stogov <dmitry@zend.com> Date: Thu Jun 16 00:19:42 2016 +0300 Fixed GOTO VM commit 2f1d7c8b89ce821086d357cf65f629f040a85c03 Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jun 15 21:01:57 2016 +0300 Removed unused variable commit cf749c42b0b1919f70b1e7d6dcbfff76899506af Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jun 15 19:06:16 2016 +0300 Protection from $this reassign through mb_parse_str() commit 59a9a6c83c66b666971e57f1173b33a422166efd Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jun 15 18:14:50 2016 +0300 Added type inference rule for FETCH_THIS opcode commit 73f8d14a856f14a461430b3c7534ab2ce870cbf6 Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jun 15 18:11:18 2016 +0300 Restored PHP-7 behavior of isset($this->foo). It throws exception if not in object context. Removed useless opcode handlers. commit fa0881381e8ae97e022ae5d1ec0851c952f33c82 Author: Dmitry Stogov <dmitry@zend.com> Date: Tue May 31 12:25:47 2016 +0300 Changed "Notice: Undefined variable: this" into "Exception: Using $this when not in object context". commit e32cc528c0f2c97963d8ec83eff0269f1f45af18 Author: Dmitry Stogov <dmitry@zend.com> Date: Tue May 24 02:02:43 2016 +0300 Throw exception on attempt to re-assign $this through extract() and parse_str(). commit 41f1531b52113ec8a4c208aa6b9ef50f1386bb3f Author: Dmitry Stogov <dmitry@zend.com> Date: Mon May 23 22:18:36 2016 +0300 Fixed inconsistent $this behavior
* | Switch zend_print_zval_r to use smart_strNikita Popov2016-06-131-2/+2
| | | | | | | | | | | | | | | | | | Instead of directly writing to stdout. This allows doing a print_r into a string, without using output buffering. The motivation for this is bug #67467: print_r() in return mode will still dump the string to stdout (causing a potential information leak) if a fatal error occurs.
* | Fix bug #71897Andrea Faulds2016-05-041-0/+16
| |
* | Skip test on ZTS buildDmitry Stogov2016-04-251-0/+1
| |
* | Fixed race conditions in testDmitry Stogov2016-04-251-0/+2
| |
* | Merge branch 'PHP-7.0'Bob Weinand2016-04-161-1/+2
|\ \ | |/
| * Fix non-/Zend tests tooBob Weinand2016-04-161-1/+2
| |
* | Warn about invalid strings in arithmeticAndrea Faulds2016-03-305-36/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit e05d3b67325d4521418483ed924ac9211a188919 Author: Andrea Faulds <ajf@ajf.me> Date: Wed Mar 30 01:43:35 2016 +0100 UPGRADING and NEWS commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d Author: Andrea Faulds <ajf@ajf.me> Date: Sun Mar 20 21:18:33 2016 +0000 Fixes commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac Author: Andrea Faulds <ajf@ajf.me> Date: Sun Feb 14 02:15:01 2016 +0000 Add test for numeric string errors in assignment commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de Author: Andrea Faulds <ajf@ajf.me> Date: Sat Feb 13 23:53:05 2016 +0000 Add test for numeric string errors commit c72e92f16d512bcae30cc9639c89bcb08d971742 Author: Andrea Faulds <ajf@ajf.me> Date: Tue Jan 26 23:28:33 2016 +0000 Add test for scientific notation in integer operations commit d94c08852d405b3a7ef6c84d24bf7915c890ce78 Author: Andrea Faulds <ajf@ajf.me> Date: Sun Feb 14 01:25:57 2016 +0000 Disable optimiser evaluation for numeric string errors commit 30ee954ed13d933e766c68605d683c8ebae3d8ee Author: Andrea Faulds <ajf@ajf.me> Date: Sun Feb 14 01:46:25 2016 +0000 fixup commit a6403b79e054c95e2b7345d787f3092b261eed27 Author: Andrea Faulds <ajf@ajf.me> Date: Sat Feb 13 22:00:27 2016 +0000 Do not convert error-causing numeric strings ahead-of-time commit f9dc35401471ef3035954cb6f171826769297548 Author: Andrea Faulds <ajf@ajf.me> Date: Sat Feb 13 19:15:38 2016 +0000 Disable compile-time evaluation for numeric string errors commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5 Author: Andrea Faulds <ajf@ajf.me> Date: Fri Feb 5 11:42:26 2016 +0000 Make _zval_get_long_func_noisy function for inlining commit 84d66321a57e579759109650c8bb7e3d5002854a Author: Andrea Faulds <ajf@ajf.me> Date: Tue Jan 26 23:10:00 2016 +0000 Update tests commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d Author: Andrea Faulds <ajf@ajf.me> Date: Tue Jan 26 22:08:19 2016 +0000 Use is_numeric_string_ex for zval_get_long etc. commit c21f08848533723331012a62a153de3577731d6a Author: Andrea Faulds <ajf@ajf.me> Date: Thu Jan 7 21:13:04 2016 +0000 Update tests commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af Author: Andrea Faulds <ajf@ajf.me> Date: Wed Jan 6 00:28:01 2016 +0000 Warn on non-/bad numeric strings in arithmetic
* | strpos()/stripos(): Add support for negative offsetsFrancois Laupretre2016-03-091-2/+3
| |
* | Merge branch 'PHP-7.0'Xinchen Hui2016-01-061-0/+21
|\ \ | |/
| * Fixed bug #71273 A wrong ext directory setup in php.ini leads to crashAnatol Belski2016-01-051-0/+21
| |
* | Merge branch 'PHP-7.0'Julien Pauli2015-12-241-2/+2
|\ \ | |/ | | | | | | * PHP-7.0: Remove mentions of "type hint" and "typehint"
| * Remove mentions of "type hint" and "typehint"Levi Morrison2015-12-241-2/+2
| |
* | Merge branch 'PHP-7.0'Andrea Faulds2015-12-181-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.
* | Merge branch 'PHP-7.0'Xinchen Hui2015-12-111-0/+8
|\ \ | |/
| * Fixed bug memleak in header_register_callbackXinchen Hui2015-12-111-0/+8
| |
* | Implemented the RFC `Support Class Constant Visibility`.Dmitry Stogov2015-12-0815-0/+272
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9 Author: Dmitry Stogov <dmitry@zend.com> Date: Tue Dec 8 12:38:42 2015 +0300 Fixed test expectation commit 211f873f542504d0a0f72b6b5cb23908a1c99a2d Author: Dmitry Stogov <dmitry@zend.com> Date: Tue Dec 8 12:28:38 2015 +0300 Embed zend_class_constant.flags into zend_class_constants.value.u2.access_flags commit 51deab84b2cdbf9cdb1a838cf33b2ee45c61748b Author: Dmitry Stogov <dmitry@zend.com> Date: Mon Dec 7 11:18:55 2015 +0300 Fixed issues found by Nikita commit 544dbd5b47e40d38a8ccb96bc5583e9cb7fdd723 Author: Dmitry Stogov <dmitry@zend.com> Date: Sat Dec 5 02:41:05 2015 +0300 Refactored immplementation of https://wiki.php.net/rfc/class_const_visibility @reeze created an RFC here and I emailed internals here and didn't get any responses positive/negative.
* 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
| | |