summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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 branch 'master' into phpngDmitry Stogov2014-08-043-2/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * PHP_INT_MIN and _MAX testsAndrea Faulds2014-08-012-0/+34
| |
* | Merge branch 'master' into phpngDmitry Stogov2014-07-141-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (40 commits) Bug #67609: TLS connections fail behind HTTP proxy Updated NEWS for #67594 Updated NEWS for #67594 Fix #67594 - invisible colon should be stripped off header name Updated NEWS for 34407 Updated NEWS for 34407 Updated NEWS for 34407 Fix for bug #34407 - ucwords and title case fixed broken merged code Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index. fixed broken merged code Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index. Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index. Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index. Test output relies on expose_php being on 1.2 is a problematic float to print out Lower the default display precision for this test The test output is dependent on expose_php ini fix makefile in phpize mode fixe output_as_table() when no ext was enabled fix end of stream exception when generating makefile ... Conflicts: ext/standard/http_fopen_wrapper.c ext/standard/string.c sapi/cli/php_cli_server.c
| * The test output is dependent on expose_php iniRasmus Lerdorf2014-07-111-0/+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.6'Bob Weinand2014-06-151-7/+5
| |\
| | * 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
| | | | |
| | * | | XFAIL-- for bug #67198Michael Wallner2014-05-061-2/+0
| | | | |
* | | | | Merge branch 'master' into phpngDmitry Stogov2014-05-131-2/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (41 commits) fix test - output can be chunked fix test fix test Fixed test for commit 997be125eb0228c5b1b6dd278f617791e71192c6 Add bug fix to NEWS Update UPGRADING according to bug fix fix test improve CURL tests to allow testing without separate server improve CURL tests to allow testing without separate server Fixed bug #67199 mb_regex_encoding mishmash Fix bug #67248 (imageaffinematrixget missing check of parameters) Fix bug #67247 spl_fixedarray_resize integer overflow fix news add tests stuff to README Updated NEWS Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245) Linux apparently does not like memcpy in overlapping regions... - Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org) - Move checking - Fixed missing NULL check in SimpleXMLElement::xpath() - Fixed missing NULL check ... Conflicts: ext/bz2/bz2.c ext/gd/gd.c ext/mbstring/php_mbregex.c ext/session/tests/031.phpt ext/simplexml/simplexml.c ext/spl/spl_fixedarray.c
| * | | | XFAIL-- for bug #67198Michael Wallner2014-05-061-2/+0
| | | | |
* | | | | Merge branch 'phpng' of git.php.net:php-src into phpngkrakjoe2014-05-053-14/+16
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-268-447/+528
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * | | | | Fixed testDmitry Stogov2014-03-131-6/+8
| | | | | |
| * | | | | Fixed testDmitry Stogov2014-03-071-2/+2
| | | | | |
* | | | | | Merge branch 'PHP-5.6'Ferenc Kovacs2014-05-051-0/+44
|\ \ \ \ \ \ | |_|/ / / / |/| | / / / | | |/ / / | |/| | | * PHP-5.6: test for bug #67198
| * | | | test for bug #67198Ferenc Kovacs2014-05-051-0/+44
| | | | |
* | | | | Merge branch 'PHP-5.6'Bob Weinand2014-04-111-6/+6
|\ \ \ \ \ | |/ / / /
| * | | | Fixed tests for recent constant array changesBob Weinand2014-04-111-6/+6
| | | | |
* | | | | Merge branch 'PHP-5.6'Nikita Popov2014-02-261-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Update stack size in tests/func/010.phptNikita Popov2014-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Stack size is 16K nowadays. Now the test takes a more reasonable amount of time to run...
* | | | | Merge branch 'PHP-5.6'Yasuo Ohgaki2014-02-131-0/+39
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-5.6: Implement RFC https://wiki.php.net/rfc/default_encoding
| * | | | Implement RFC https://wiki.php.net/rfc/default_encodingYasuo Ohgaki2014-02-131-0/+39
| | | | |
* | | | | Merge branch 'PHP-5.6'Ferenc Kovacs2014-01-212-0/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-5.6: fix these tests so they properly clean up after themselves.
| * | | | Merge branch 'PHP-5.5' into PHP-5.6Ferenc Kovacs2014-01-212-0/+2
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | * PHP-5.5: fix these tests so they properly clean up after themselves.
| | * | | Merge branch 'PHP-5.4' into PHP-5.5Ferenc Kovacs2014-01-212-0/+2
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | * PHP-5.4: fix these tests so they properly clean up after themselves.
| | | * | fix these tests so they properly clean up after themselves.Ferenc Kovacs2014-01-202-0/+2
| | | | |
* | | | | Merge branch 'PHP-5.6'Remi Collet2014-01-204-446/+486
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | | | | | | * PHP-5.6: Skip those test which fails on ARM architecture dos2unix
| * | | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2014-01-204-446/+486
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | * PHP-5.5: Skip those test which fails on ARM architecture dos2unix
| | * | 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
| | | |
| * | | Add E_DEPRECATED when populating $HTTP_RAW_POST_DATAMichael Wallner2013-12-302-0/+6
| | | |
| * | | fix type; add tests for -1Michael Wallner2013-12-302-0/+45
| | | |
| * | | re-introduce always_populate_raw_post_dataMichael Wallner2013-12-302-0/+43
| | | |
| * | | Merge branch 'PHP-5.6' of https://git.php.net/push/php-src into PHP-5.6Xinchen Hui2013-12-1514-43/+343
| |\ \ \ | | |/ / | |/| |
| * | | Fix tests expecting specific resource IDsEric Stenson2013-12-151-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Wincache or APC are installed, the resource IDs are not the same. This is because Wincache takes a few resource objects for itself. As a result, these tests become false positives. On Windows boxes, the microtime precision is not granular enough to reliably register a difference if two calls to uniqid() are made concurrently. This is a fix to the uniqid() test to avoid the false positive when run on Windows machines. Also, added a test to exercise the 'more_entropy' variant of uniqid().
* | | | Fix tests expecting specific resource IDsEric Stenson2013-12-131-2/+17
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Wincache or APC are installed, the resource IDs are not the same. This is because Wincache takes a few resource objects for itself. As a result, these tests become false positives. On Windows boxes, the microtime precision is not granular enough to reliably register a difference if two calls to uniqid() are made concurrently. This is a fix to the uniqid() test to avoid the false positive when run on Windows machines. Also, added a test to exercise the 'more_entropy' variant of uniqid().
* | | Merge branch 'PHP-5.5' into PHP-5.6Nikita Popov2013-11-291-0/+36
|\ \ \ | |/ /
| * | 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.5' into PHP-5.6Dmitry Stogov2013-11-291-0/+13
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * PHP-5.5: Added validation of class names in the autoload process Conflicts: NEWS
| * | 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
| | |
| | * 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
| * | 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
* | | 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.5'Yasuo Ohgaki2013-10-291-8/+8
|\ \ \ | |/ / | | | | | | | | | * PHP-5.5: Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
| * | 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