summaryrefslogtreecommitdiff
path: root/tests/lang
Commit message (Collapse)AuthorAgeFilesLines
* Fix string incrementNikita Popov2014-09-051-21/+40
|
* Merge remote-tracking branch 'php-src/master' into astNikita Popov2014-08-162-6/+6
|\ | | | | | | | | Conflicts: ext/opcache/Optimizer/optimize_func_calls.c
| * Behavoir of func_get_arg() and func_get_args() was changed in PHP7.Dmitry Stogov2014-08-152-6/+6
| | | | | | | | Now they show current values of variables corresponded to passed arguments instead of originally passed values.
* | Merge remote-tracking branch 'php-src/phpng' into astNikita Popov2014-08-162-0/+34
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: Zend/zend_ast.c Zend/zend_compile.c Zend/zend_language_parser.y Incomplete merge!
| * PHP_INT_MIN and _MAX testsAndrea Faulds2014-08-012-0/+34
| |
* | Fix list() test wrt new assignment orderNikita Popov2014-08-151-4/+4
| |
* | Restore old evaluation orderNikita Popov2014-08-151-13/+3
|/ | | | ${a()}[b()][c()] = d() will now evaluate in order a, b, c, d.
* Skip those test which fails on ARM architectureRemi Collet2014-01-204-1/+41
| | | | Add minimal tests for all arch.
* dos2unixRemi Collet2014-01-202-446/+446
|
* Fixed tests that fail with non-default `serialize_precision` configurations.Jeff Welch2013-11-201-0/+1
| | | | | | | See: * https://bugs.php.net/bug.php?id=64760 * 4dc4302
* Merge branch 'PHP-5.4' into PHP-5.5Yasuo Ohgaki2013-10-291-8/+8
|\ | | | | | | | | | | * PHP-5.4: Update NEWS Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
| * Fixed Bug 64760 var_export() does not use full precision for floating-point ↵Yasuo Ohgaki2013-10-291-8/+8
| | | | | | | | numbers
* | Merge branch 'PHP-5.4' into PHP-5.5Anatoliy Belsky2012-12-052-0/+8
|\ \ | |/ | | | | | | * PHP-5.4: Two tests deactivated until #63688 was fixed
| * Merge branch 'PHP-5.3' into PHP-5.4Anatoliy Belsky2012-12-052-0/+8
| |\ | | | | | | | | | | | | * PHP-5.3: Two tests deactivated until #63688 was fixed
| | * Two tests deactivated until #63688 was fixedAnatoliy Belsky2012-12-052-0/+8
| | |
* | | Merge branch 'PHP-5.4'Xinchen Hui2012-10-105-0/+0
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-105-0/+0
| |\ \ | | |/
| | * Remove executable permission on incXinchen Hui2012-10-105-0/+0
| | |
* | | Merge branch 'PHP-5.4'Xinchen Hui2012-10-1023-0/+0
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-1023-0/+0
| |\ \ | | |/
| | * Remove executable permission on phptXinchen Hui2012-10-1023-0/+0
| | |
* | | Drop obsolete testNikita Popov2012-09-011-11/+0
| | |
* | | Merge branch 'generators'Gustavo Lopes2012-09-011-10/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generators: (70 commits) Fix typos Fix segfault when traversing a by-ref generator twice Make sure that exception is thrown on rewind() after closing too Remove implementation stubs for yield delegation Fix several issues and allow rewind only at/before first yield Run finally if generator is closed before finishing Finally with return now works in generators too Add dedicated opcode for returns from a generator Disallow serialization and unserialization Fix zts build (typo) Drop Generator::close() method Forgot to add test Support trivial finally in generators (no yield, no return) Fix implementation of Iterator interface Add T_YIELD in tokenizer_data.c Throw error also for return occuring before yield Fix throwing of exceptions within a generator Remove reference restrictions from foreach Require parenthesis around yield expressions Add some more tests ...
| * \ \ Merge remote-tracking branch 'php-src/master' into addGeneratorsSupportNikita Popov2012-08-261-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Zend/zend_language_parser.y Zend/zend_vm_execute.skl
| * \ \ \ Merge remote-tracking branch 'php-src/master' into addGeneratorsSupportNikita Popov2012-08-131-0/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just an intial merge. It does not yet make generators and finally work together. Conflicts: Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_vm_def.h Zend/zend_vm_execute.h Zend/zend_vm_execute.skl Zend/zend_vm_opcodes.h
| * | | | | Remove reference restrictions from foreachNikita Popov2012-07-221-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | foreach only allowed variables to be traversed by reference. This never really made sense because a) Expressions like array(&$a, &$b) can be meaningfully iterated by-ref b) Function calls can return by-ref (so they can also be meaningfully iterated) c) Iterators could at least in theory also be iterated by-ref (not sure if any iterator makes use of this) With by-ref generators the restriction makes even less sense, so I removed it altogether.
* | | | | | Merge branch 'PHP-5.4'Xinchen Hui2012-08-311-6/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | / / | | |_|/ / | |/| | |
| * | | | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-08-311-6/+2
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Fixed bug #62976 (Notice: could not be converted to int when comparing some ↵Xinchen Hui2012-08-311-6/+2
| | | | | | | | | | | | | | | | | | | | builtin classes)
* | | | | Support list in foreachXinchen Hui2012-08-251-1/+1
| |_|_|/ |/| | | | | | | | | | | RFC: https://wiki.php.net/rfc/foreachlist
* | | | Merge branch 'PHP-5.4'Xinchen Hui2012-07-291-0/+5
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-07-291-0/+5
| |\ \ | | |/ | | | | | | | | | * PHP-5.3: Skip test while zend mm is disabled
| | * Skip test while zend mm is disabledXinchen Hui2012-07-291-0/+5
| | |
| | * Fixed broken test (different error message wording in 5.3 branch)Shein Alexey2012-01-021-1/+1
| | |
| | * fix memory leak in compile_string when there's a parse error (used e.g. in ↵Nuno Lopes2012-01-011-3/+5
| | | | | | | | | | | | eval or assert)
| | * adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the ↵Ferenc Kovacs2011-10-231-0/+4
| | | | | | | | | | | | domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches
| | * Add skip messageHannes Magnusson2011-09-071-1/+1
| | |
| | * revert to the previous good revision, as the new improved parse error syntax ↵Ferenc Kovacs2011-09-011-2/+2
| | | | | | | | | | | | only used in version >= 5.4
| | * - error msg may vary (parser)Pierre Joye2011-08-311-2/+2
| | |
| | * Revert my previous change - getting different results in different ↵Joey Smith2011-08-241-1/+0
| | | | | | | | | | | | environments, shouldn't have committed it
| | * Fix tests/lang/bug45392.phpt to log expected error when run with -n flagJoey Smith2011-08-241-0/+1
| | |
| | * Implement request #54355 (Test for de_DE doesn't use UTF-8 locales). Patch byAdam Harvey2011-03-232-4/+4
| | | | | | | | | | | | | | | Ondřej Surý.
| * | fix testXinchen Hui2012-01-041-1/+1
| | |
| * | fix memory leak in compile_string when there's a parse error (used e.g. in ↵Nuno Lopes2012-01-011-3/+5
| | | | | | | | | | | | eval or assert)
| * | fix testsStanislav Malyshev2011-12-261-2/+2
| | |
| * | Fix testsXinchen Hui2011-12-191-0/+2
| | |
| * | adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the ↵Ferenc Kovacs2011-10-231-0/+4
| | | | | | | | | | | | domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches
| * | Bug #55754 - Only variables should be passed by reference for ↵Stanislav Malyshev2011-10-161-0/+14
| | | | | | | | | | | | ZEND_SEND_PREFER_REF params
| * | Add skip messageHannes Magnusson2011-09-071-1/+1
| | |
| * | Unmatched %s was still diffing on Linux. Now it matches the whitespace at a ↵Christopher Jones2011-09-011-1/+1
| | | | | | | | | | | | minimum