summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* More accurate reference counting on closuresDmitry Stogov2015-03-101-1/+1
|
* Errors converted to exceptions are not "recoverable" anymore.Dmitry Stogov2015-03-109-14/+14
|
* Implement engine exceptionsDmitry Stogov2015-03-092-46/+110
| | | | | | | RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7 Pending changes regarding naming of BaseException and whether it should be an interface.
* Fix testReeze Xia2015-03-031-0/+2
|
* fix testMichael Wallner2015-02-181-1/+1
|
* Merge branch 'PHP-5.6'Michael Wallner2015-02-181-1/+1
|\ | | | | | | | | * PHP-5.6: fix test
| * Merge branch 'PHP-5.5' into PHP-5.6Michael Wallner2015-02-181-1/+1
| |\ | | | | | | | | | | | | * PHP-5.5: fix test
| | * fix testMichael Wallner2015-02-181-1/+1
| | |
* | | Merge branch 'PHP-5.6'Michael Wallner2015-02-181-0/+13
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Fixed bug #65593 (Segfault when calling ob_start from output buffering callback)
| * | Merge branch 'PHP-5.5' into PHP-5.6Michael Wallner2015-02-181-0/+13
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: Fixed bug #65593 (Segfault when calling ob_start from output buffering callback)
| | * Fixed bug #65593 (Segfault when calling ob_start from output buffering callback)Michael Wallner2015-02-181-0/+13
| | |
* | | Merge branch 'pull-request/1007'Stanislav Malyshev2015-02-181-0/+94
|\ \ \ | | | | | | | | | | | | | | | | | | | | * pull-request/1007: Fix associativity to match Perl Blast off to space.
| * | | Blast off to space.Andrea Faulds2015-01-291-0/+94
| | | |
* | | | Stop using internal array/object pointer in foreach by reference according ↵Dmitry Stogov2015-02-121-1/+1
| | | | | | | | | | | | | | | | to https://wiki.php.net/rfc/php7_foreach
* | | | Fix "forech" statemt behaviour according to ↵Dmitry Stogov2015-02-128-272/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://wiki.php.net/rfc/php7_foreach Squashed commit of the following: commit 1e41295097576dbce6c197ddb7507c07ccae3cbe Author: Dmitry Stogov <dmitry@zend.com> Date: Sat Jan 31 07:28:58 2015 +0300 Generalize HashTableIterator API to allows its usage without involvement of HashTable.nInternalPonter commit 5406f21b11e563069d64045e599693b51c444b63 Author: Dmitry Stogov <dmitry@zend.com> Date: Fri Jan 30 18:08:43 2015 +0300 Reduced alghorithms complexity commit b37f1d58d2a141b6e1d980a461ccb588d4317d2e Author: Dmitry Stogov <dmitry@zend.com> Date: Fri Jan 30 18:08:30 2015 +0300 Fixed test name commit fb2d079645829b12ed4e55a461034df6400bc430 Author: Dmitry Stogov <dmitry@zend.com> Date: Fri Jan 30 18:08:05 2015 +0300 API cleanup commit 08302c0d6d1cab279b9f2129df03a057baddf2ff Author: Dmitry Stogov <dmitry@zend.com> Date: Fri Jan 30 14:20:46 2015 +0300 Make array_splice() to preserve foreach hash position commit cc4b7be41e2e2b9b0d7a3c8e98466b8886692e6e Author: Dmitry Stogov <dmitry@zend.com> Date: Fri Jan 30 12:24:31 2015 +0300 Make internal function, operation on array passed by reference, to preserve foreach hash position commit 5aa9712b0a30303aadfe3bdd8ae1f072ca3e6ba1 Author: Dmitry Stogov <dmitry@zend.com> Date: Fri Jan 30 09:49:35 2015 +0300 Implement consistent behavior for foreach by value over plain object commit 4c5b385ff53ae9f0b52572e98c4db801f56603b0 Author: Dmitry Stogov <dmitry@zend.com> Date: Fri Jan 30 07:56:37 2015 +0300 More careful iterators update. commit 721fc9e80d2ee8f2cd79c8c3cdceffae2c72de92 Author: Dmitry Stogov <dmitry@zend.com> Date: Thu Jan 29 21:43:28 2015 +0300 Added new test commit 15a23b1218b3e38630d677751a975907daa2cd54 Author: Dmitry Stogov <dmitry@zend.com> Date: Thu Jan 29 21:05:02 2015 +0300 Reimplement iteration magic with HashTableIterators (see https://wiki.php.net/rfc/php7_foreach#implementation_details) commit 10a3260b1f16b6075fd8140f673dfef4d5efea91 Author: Dmitry Stogov <dmitry@zend.com> Date: Thu Jan 29 21:04:44 2015 +0300 New test commit eef80c583762d1e98d177cdbb27e3a8a6b0c4539 Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jan 28 16:52:21 2015 +0300 Fixed foreach by reference iteration over constant array commit 61e739187391661e2d541947bec25d7dcc4479f3 Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jan 28 14:59:54 2015 +0300 Fixed temporary variable re-allocation pass commit 92e90c09f085c22707ff4a59201f016f56e0ef8b Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jan 28 12:44:57 2015 +0300 Fixed operand destruction in case of exceptions in iterator commit dd2a36a2074bbb0cb31de00b66dcf2812d6d753f Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jan 28 10:02:34 2015 +0300 Use GET_OP1_ZVAL_PTR_DEREF() (IS_TMP_VAR and IS_CONST can't be IS_REFERENCE) commit 4638f7b91407c48710007af82a68da0007c820f2 Author: Dmitry Stogov <dmitry@zend.com> Date: Wed Jan 28 07:43:28 2015 +0300 Change "foreach" statement behavior (this is just a PoC yet) - "foreach by value" don't relay on internal array/object pointer and doesnt perform array duplication. It just locks it incrementing reference counter. If the original array is modified by some code, the copy on write is performed and "foreach" still work with the old copy. - it makes no difference if array given to "foreach by value" is reference itself - "foreach by reference" still use internal array/object pointer and should work similar to PHP-5. (This id not completely implemented)
* | | | 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.
* | | Remove preg_replace /e modifierNikita Popov2015-01-261-21/+0
| | |
* | | Remove assignment of new by referenceNikita Popov2015-01-265-67/+11
| | |
* | | Error on invalid octal (fixes PHPSadness #31)Andrea Faulds2015-01-171-0/+8
| | | | | | | | | | | | Further error checks
* | | Fix tests I broke with the E_ERROR > E_RECOVERABLE_ERROR changeKalle Sommer Nielsen2014-12-293-3/+3
| | |
* | | Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-21139-151/+151
| | |
* | | Unicode Codepoint Escape SyntaxAndrea Faulds2014-12-199-0/+98
| | |
* | | Merge branch 'zppFailOnOverflow'Andrea Faulds2014-12-131-1/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * zppFailOnOverflow: Fix MySQLi tests Fixed gd test Refactor ZEND_LONG_MAX/MIN checks into ZEND_DOUBLE_FITS_LONG() Fixed copy-and-paste error Fix more 32-bit tests Skip buncha tests on 32-bit skip simplexml skip posix 32-bit skip tests on 32-bit Fixes simplexml test Fixes posix tests Fixes iconv tests Marked tests as 32-bit Fixed more 32-bit tests Fixed some 32-bit tests Mark said ext/date tests as 32-bit only Fixed ext/date tests broken by zpp error on overflow Fixed broken tests Make zpp fail if NaN passed for int, or out-of-range float for non-capping int Conflicts: ext/date/tests/getdate_variation7.phpt ext/date/tests/localtime_variation3.phpt
| * \ \ Merge branch 'master' into zppFailOnOverflowAndrea Faulds2014-11-293-3/+3
| |\ \ \
| * | | | Skip buncha tests on 32-bitAndrea Faulds2014-11-291-1/+3
| | | | |
* | | | | Merge branch 'PHP-5.6'Anatol Belski2014-12-062-8/+0
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | * PHP-5.6: updated NEWS Fixed bug #65230 setting locale randomly broken
| * | | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-12-062-8/+0
| |\ \ \ | | | |/ | | |/| | | | | | | | | * PHP-5.5: Fixed bug #65230 setting locale randomly broken
| | * | Fixed bug #65230 setting locale randomly brokenAnatol Belski2014-12-062-8/+0
| | | |
* | | | Merge branch 'PHP-5.6'Stanislav Malyshev2014-11-243-57/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-5.6: move tests into proper place
| * | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2014-11-243-57/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.5: move tests into proper place
| | * | move tests into proper placeStanislav Malyshev2014-11-243-57/+0
| | | |
* | | | Merge branch 'PHP-5.6'Stanislav Malyshev2014-11-233-0/+57
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-5.6: tests image gd xmlwriter_full_end_element tests Tests for writeAttributeNS and xmlwriter_write_attribute_ns
| * | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2014-11-233-0/+57
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | * PHP-5.5: tests image gd xmlwriter_full_end_element tests Tests for writeAttributeNS and xmlwriter_write_attribute_ns
| | * | tests image gdMarcelo Diniz2014-08-233-0/+57
| | | |
| | * | The test output is dependent on expose_php iniRasmus Lerdorf2014-07-141-0/+1
| | | |
| * | | test to function addcslashesmarcosptf2014-11-231-12/+0
| | | | | | | | | | | | | | | | test to function bin2hex
| * | | testmarcosptf2014-11-231-0/+12
| | | |
| * | | The test output is dependent on expose_php iniRasmus Lerdorf2014-07-141-0/+1
| | | |
* | | | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-193-3/+3
| |_|/ |/| |
* | | Remove <% and <script language="php"> tagsNikita Popov2014-10-053-51/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://wiki.php.net/rfc/remove_alternative_php_tags. Removes: * <% opening tag * %> closing tag * <%= short opening tag * /<script\s+language\s*=\s*(php|"php"|'php')\s*>/i opening tag * /</script>/i closing tag * asp_tags ini directive
* | | Moved checks and error reporting related to static methods from DO_FCALL ↵Dmitry Stogov2014-10-041-10/+10
| | | | | | | | | | | | inti INTI_FCALL* opcodes that may really deal with static methods. (In some rare cases it may lead to different order of warning messages).
* | | Mark three foreach tests as XFAILNikita Popov2014-10-033-1/+7
| | | | | | | | | | | | | | | | | | A lot of work is needed to properly handle all foreach edge cases, which is not going to happen anytime soon. So marking these tests as XFAIL for now.
* | | Merge branch 'coalesce_operator'Andrea Faulds2014-09-281-0/+79
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * coalesce_operator: Extended coalesce operator test case for ordering/short-circuiting Ensure not evaluated twice Added test Initial coalesce operator implementation
| * | | Extended coalesce operator test case for ordering/short-circuitingAndrea Faulds2014-09-231-1/+12
| | | |
| * | | Ensure not evaluated twiceAndrea Faulds2014-09-161-1/+11
| | | |
| * | | Added testAndrea Faulds2014-09-161-0/+58
| | | |
* | | | Merge branch 'master' into integer_semanticsAndrea Faulds2014-09-212-7/+7
|\ \ \ \
| * \ \ \ Merge branch 'master' into issue-67910Florian MARGAINE2014-09-201-21/+40
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | Conflicts: README.PARAMETER_PARSING_API ext/gmp/tests/001.phpt
| * | | | Replaces php5 with php7, without whitespace changes.Florian MARGAINE2014-09-202-7/+7
| | | | |