1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00
Commit Graph

110610 Commits

Author SHA1 Message Date
Dmitry Stogov 2cd24e9d7a Skip tests f oci8 extension is not loaded 2019-02-20 02:35:25 +03:00
Dmitry Stogov a7c99f3dc5 Reorder conditions 2019-02-20 02:33:21 +03:00
Dmitry Stogov f2e515e9eb Use ZEND_ACC_REUSE_GET_ITERATOR flag instead of run-time class modification 2019-02-20 02:32:29 +03:00
Dmitry Stogov 555fb294ec Don't preload tests without --FILE-- section 2019-02-20 00:06:57 +03:00
Dmitry Stogov 6b00238979 Order of classes may matter 2019-02-19 23:50:17 +03:00
Dmitry Stogov 0510b41a06 Don't restrict preloading with "open_basedir" directive. 2019-02-19 23:17:38 +03:00
Peter Kokot b1b392763e Rename non-existing site phpdbg.com to localhost 2019-02-19 20:21:20 +01:00
Joe Watkins a3994a9e16 begin handlers are currently invoked without access to the arguments being sent, this moves the opcode after SEND 2019-02-19 18:21:32 +01:00
Dmitry Stogov b2073253bf Better new-line handling 2019-02-19 19:22:42 +03:00
Dmitry Stogov 723acab660 Fixed memory leak 2019-02-19 19:21:36 +03:00
Nikita Popov 002c096871 Remove some zpp failure tests
These tests exclusively check zpp failure conditions, so drop them.
2019-02-19 17:12:08 +01:00
Dmitry Stogov 1133ee1167 Check for USER_FUNCTION 2019-02-19 18:39:44 +03:00
Dmitry Stogov 26ab6edffc Accurate handling of not preloaded classes 2019-02-19 18:09:44 +03:00
Nikita Popov d9094d4d64 Avoid port conflicts in stream socket tests
Also drop some useless --CLEAN-- sections.
2019-02-19 15:55:13 +01:00
Nikita Popov 2f447dd61f Remove spurious + before --CREDITS-- 2019-02-19 15:55:00 +01:00
Nikita Popov 7207686fcf Avoid file conflicts in mail tests 2019-02-19 15:54:46 +01:00
Nikita Popov 832b89d108 Avoid file conflicts in XmlWriter tests 2019-02-19 15:54:11 +01:00
Nikita Popov db894844e7 Avoid port conflicts in ext/sockets tests 2019-02-19 15:53:24 +01:00
Nikita Popov fa915614fe Make parallel run-tests compatible with IO capture tests
Inherit the main stdin/stdout/stderr streams into the worker processes.
We don't talk to workers via these pipes, so there shouldn't be a
problem doing this.
2019-02-19 15:53:15 +01:00
Dmitry Stogov 5cde3afda7 Better line handling 2019-02-19 17:16:48 +03:00
Dmitry Stogov bf51b081f5 Filter preloading warning messages 2019-02-19 17:09:07 +03:00
Dmitry Stogov 1f2dc0492d Don't try to eliminate requre/include with stream wrappers 2019-02-19 16:54:51 +03:00
Dmitry Stogov 440cdf7837 Stop PHP in case of fatal error during preloading 2019-02-19 16:46:56 +03:00
Dmitry Stogov eb03df813c ws 2019-02-19 15:51:12 +03:00
Christoph M. Becker 7f09fb021f Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Prepare main branch for PHP 7.3.4
2019-02-19 13:10:04 +01:00
Christoph M. Becker 2ec59b3ef3 Prepare main branch for PHP 7.3.4 2019-02-19 13:06:40 +01:00
Remi Collet c6640b2397 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  bump version to 7.2.17-dev
2019-02-19 12:47:09 +01:00
Remi Collet 961900fa17 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  bump version to 7.2.17-dev
2019-02-19 12:47:00 +01:00
Remi Collet b243f2feca bump version to 7.2.17-dev 2019-02-19 12:46:52 +01:00
Nikita Popov 32c0cbcbc1 Merge remote-tracking branch 'php-src/PHP-7.4' into PHP-7.4 2019-02-19 10:09:06 +01:00
Tyson Andre 12ffee57d6 Fixed bug #77631
Do not include unbound anonymous classes in get_declared_classes().

Note that earlier PHP versions would include the anonymous class in
get_declared_classes(), and return false until the class was bound,
but would not crash.
2019-02-19 10:07:40 +01:00
Joe Watkins f8cd8eb740 ZEND_COMPILE_EXTENDED_INFO split Currently a tool may not decide between debugging and profiling behaviour: We split ZEND_COMPILE_EXTENDED_INFO into ZEND_COMPILE_EXTENDED_FCALL and ZEND_COMPILE_EXTENDED_STMT We define ZEND_COMPILE_EXTENDED_INFO as ZEND_COMPILE_EXTENDED_STMT|ZEND_COMPILE_EXTENDED_FCALL 2019-02-19 10:07:02 +01:00
Tyson Andre cdfe11f80d Fix ffi test on Windows
Fixes a bug in test added in
5661feb1ef, by checking that the
relevant SO exists.

Also adds an additional test that is based on zend_printf, and
should work on both Linux and Windows.
2019-02-19 10:03:14 +01:00
Remi Collet 24433e9d25 fix build with external libpcre2 2019-02-19 09:54:32 +01:00
Remi Collet b537203d20 use pkg-config for libedit 2019-02-19 09:10:06 +01:00
Remi Collet 2850e09cbc add readline_list_history with libedit >= 3.1 and mingweditline 2019-02-19 08:51:56 +01:00
BlackEagle a8336fb7b9 gd imageloadfont, verify error while reading header
when reading the header verify we get an error when the header is
invalid.

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2019-02-19 03:26:00 +01:00
Andy McNeice 5bbf0c698f added basic test for UConverter::setSourceEncoding() 2019-02-19 03:18:26 +01:00
Andy McNeice d194ceb0c2 added basic test for UConverter::getDestinationEncoding() 2019-02-19 03:15:01 +01:00
Andy McNeice 6d9a4f11e6 added basic test for UConverter::getSourceEncoding() 2019-02-19 03:09:49 +01:00
Pedro Magalhães 40278879fd UPGRADING entry for pcntl_unshare [skip ci] 2019-02-18 19:58:56 +00:00
Andrea Faulds 5ee81e0b9d run-tests.php: fix typo 2019-02-18 20:32:16 +01:00
Pedro Magalhães bc54e59a3a Implement pcntl_unshare 2019-02-18 19:20:18 +00:00
Peter Kokot 3068a32cd0 Sync header and footer with the rest of the files
- Local variables for editors have been removed
- Copyright year ranges can be also simplified
2019-02-18 18:16:07 +01:00
Tyson Andre da3316ff0f Fix typos in code comments in Zend/ [skip ci] 2019-02-18 17:56:28 +01:00
Tyson Andre 8588a45851 Fix arginfo for tidy's global functions
See https://secure.php.net/tidy_getopt , etc.

I can't find any other obvious incorrect reflection.
2019-02-18 17:49:02 +01:00
Tyson Andre 9249d82019 Fix typos in code comments [skip ci] 2019-02-18 17:48:12 +01:00
Tyson Andre cb4c74dfe3 Fix a typo in the error messages for FFI [skip ci] 2019-02-18 17:47:41 +01:00
Dmitry Stogov 5661feb1ef Fixed bug #77632 (FFI Segfaults When Called With Variadics) 2019-02-18 18:11:55 +03:00
Dmitry Stogov 2ed013c38a Use "quick" macro variants for known argument numbers 2019-02-18 17:52:33 +03:00