summaryrefslogtreecommitdiff
path: root/Zend/tests
Commit message (Collapse)AuthorAgeFilesLines
* Don't use FUNC_ARG fetches for call_user_func()Nikita Popov2016-06-281-0/+18
| | | | This makes no sense -- SEND_USER can't even handle INDIRECTs.
* Make call_user_func() on reference args consistentNikita Popov2016-06-281-0/+28
| | | | | | Previously reference arguments were allowed if call_user_func() was compiled to SEND_USER and not otherwise. Make it consistent by always forbidding them.
* Fixed testXinchen Hui2016-06-281-2/+0
|
* Fixed bug #72508 (strange references after recursive function call and ↵Xinchen Hui2016-06-281-0/+30
| | | | "switch" statement)
* Forbid "yield from" in force closed generatorsNikita Popov2016-05-281-0/+37
| | | | | | | Same check we do for "yield", was missed when "yield from" was added. We could make this more granular by only forbidding to actually yield values and still allow something like "yield from []", but this does not seem worthwhile.
* Added NEWS EntryXinchen Hui2016-05-281-11/+0
|
* Test for bug #72221, segfault in zend_memnstr_exLauri Kenttä2016-05-281-0/+11
|
* fix dir separator in testAnatol Belski2016-05-121-1/+1
|
* Fix serializing ZEND_AST_SHELL_EXECSara Golemon2016-05-121-0/+11
| | | | | | Currently, `foo` is reserialized as `'foo'` due to misuse of zend_ast_export(). ZEND_AST_SHELL_EXEC can only contain ZEND_AST_ZVAL(string) or ZEND_AST_ENCAPS_LIST, so just handle the ZEND_AST_ZVAL(string) case directly.
* Fixed testXinchen Hui2016-05-071-0/+7
|
* Fixed testXinchen Hui2016-05-061-4/+3
|
* Fixed bug #72162 (use-after-free - error_reporting)Xinchen Hui2016-05-051-0/+11
|
* Fix bug #72159Nikita Popov2016-05-043-0/+45
|
* Fix leaks in QM_ASSIGN, JMP_SET and COALESCENikita Popov2016-05-031-0/+20
| | | | | The QM_ASSIGN code was rewritten to use the standard pattern for handling CVs and VARs.
* Fix leak in zend_get_constant_exNikita Popov2016-05-021-0/+18
|
* fix dir separator in testAnatol Belski2016-05-011-1/+1
|
* Fix ('\bar')() in namespaceNikita Popov2016-05-011-0/+15
|
* Added testDmitry Stogov2016-04-281-0/+18
|
* Fixed BC break described by bug #72119.Dmitry Stogov2016-04-282-0/+4
| | | | It was introduced after 7.0.5 release by attempt to fix bug #71428.
* Fixed bug #72101 (crash on complex code)Dmitry Stogov2016-04-251-0/+85
|
* Fix magic constants (__LINE__) with ?? for constant scalar exprsBob Weinand2016-04-213-5/+21
| | | | Also fix general memory leak when root ast gets replaced in compile time evaluation
* allow null coalescing (??) on constant expressionsMárcio Almada2016-04-211-0/+45
|
* Fix bug #71737Nikita Popov2016-04-202-2/+17
| | | | Also improve the error message for $this used in parameters.
* Fix RECV opcode to handle all kinds of exceptionsNikita Nefedov2016-04-201-0/+21
| | | | | fix RECV opcode to handle exceptions thrown from user-defined error handler as a result Notice error from failed type coercion
* Fix SEND_USER as wellNikita Popov2016-04-181-0/+26
| | | | Missed copy&paste code here
* Fix SEND_ARRAY+PREFER_REF SHM corruptionNikita Popov2016-04-181-0/+47
| | | | | Make the behavior consistent between namespaced and not and with PHP 5.6.
* Fix SEND_UNPACK array separationNikita Popov2016-04-161-0/+36
| | | | Separating only immutable arrays is not enough.
* Fixed bug #72038 (Function calls with values to a by-ref parameter don't ↵Bob Weinand2016-04-163-3/+33
| | | | always throw a notice)
* Fix ZEND_SEPARATE for by-val func returning ref zvalNikita Popov2016-04-121-0/+25
|
* fix skipifRemi Collet2016-04-121-1/+1
|
* Fixed bug #71980Nikita Popov2016-04-071-0/+43
|
* Remove __halt_compiler from semi-reserved tokensNikita Popov2016-04-073-9/+0
| | | | token_get_all() is not capable of dealing with this one correctly.
* Fixed bug #71978 (Existence of return type hint affects other compatibility ↵Dmitry Stogov2016-04-061-0/+21
| | | | rules)
* Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0Joe Watkins2016-04-031-0/+30
|\
| * Fixed bug #71930 (_zval_dtor_func: Assertion `(arr)->gc.refcount <= 1' failed)Xinchen Hui2016-04-011-0/+30
| |
* | fix #69537: __debugInfo with empty string for key gives errorJoe Watkins2016-04-031-0/+19
|/
* Fix __invoke comparison in closure_get_methodNikita Popov2016-03-301-0/+16
| | | | | It compared against the wrong variable. Fixed this by getting rid of lc_name entirely and use equals_literal_ci instead.
* Fixed bug #71922Nikita Popov2016-03-291-0/+21
|
* Update testsXinchen Hui2016-03-291-0/+15
|
* Fixed bug #71914 (Reference is lost in "switch")Xinchen Hui2016-03-291-0/+25
|
* fix bug #71428: Validation type inheritance with = NULLJoe Watkins2016-03-291-0/+11
|
* Bug #71428 work ... hopefully, fix drupal 8Joe Watkins2016-03-291-0/+23
|
* work on #71428Joe Watkins2016-03-281-0/+13
|
* my commits are bad, and I feel bad (test for bug #71414)Joe Watkins2016-03-261-0/+25
|
* fix #71414 (Interface method override inherited method and implemented in a ↵Joe Watkins2016-03-263-3/+3
| | | | trait causes fatal error)
* add test for bugJoe Watkins2016-03-261-0/+61
|
* Fixed bug #71871Nikita Popov2016-03-212-0/+24
|
* Fixed bug #71731Nikita Popov2016-03-201-0/+64
| | | | | | | | | | The read_dimension() handler in BP_VAR_IS mode will now call offsetExists() before caling offsetGet(). This has always been a problem, however recently the issue has been exacerbated, because the null-coalesce operator ?? makes it visible for non-nested array accesses. Also fixes #69659.
* Fix use of UNDEF instead of NULL in read_dimensionNikita Popov2016-03-202-2/+43
|
* Fixed Bug #71859 (zend_objects_store_call_destructors operates on realloced ↵Xinchen Hui2016-03-201-0/+28
| | | | memory, crashing)