Compare commits

..
6364 Commits
Author SHA1 Message Date
Ferenc Kovacs b4e4201c1c fix NEWS 2016-12-08 07:29:33 +01:00
Ferenc Kovacs 840d1b11aa fix NEWS formatting 2016-12-08 07:18:04 +01:00
Ferenc Kovacs b2db415d92 5.6.29 2016-12-08 07:07:15 +01:00
Anatol Belski 864f3bda5a fix leak, take 2 2016-12-08 07:04:33 +01:00
Anatol Belski e64d104a9b fix leak, take on 5.6 2016-12-08 07:04:11 +01:00
Stanislav Malyshev 331db73eab This still leaks memory, I don't have enough knowledge in WDDX code to fix them :( 2016-12-08 07:04:02 +01:00
Stanislav Malyshev 66fd44209d Fix bug #73631 - Invalid read when wddx decodes empty boolean element 2016-12-08 07:03:45 +01:00
Ferenc Kovacs 9e89e72feb 5.6.29RC1 2016-11-24 02:04:05 +01:00
Nikita Popov 2d19c92fc2 Make php_url_parse_ex() respect length argument
This should fix all out-of-bounds reads that could previously
occur if the string passed to php_url_parse_ex() is not NUL
terminated.
2016-11-22 19:24:24 +01:00
Nikita Popov f0f68c7274 Cleanup parse_url() query/fragment handling
The query/fragment handling was pretty convoluted, with many parts
being duplicated. Simplify by checking for fragment, then for query,
then for path.
2016-11-22 19:24:23 +01:00
Nikita Popov 9befad6fc2 Cleanup parse_url() gotos
Simplify some unnecessarily complicated code. In particular the
length updates are unnecessary (length is only used at the very
start) and we're goto'ing around a bit too much.
2016-11-22 19:24:21 +01:00
Anatol Belski 3e45385903 update libs versions.txt 2016-11-22 12:36:51 +01:00
Anatol Belski 0796db97d4 update NEWS 2016-11-22 00:57:18 +01:00
Craig Duncan 644e290fcd Fix bug #73498
Postgres uses the DELIMITER keyword since 7.3
And WITH is no longer required/used
2016-11-22 00:42:45 +01:00
Craig Duncan d36d4c70d3 Add a test for bug 73498 2016-11-22 00:42:45 +01:00
Anatol Belski 850c1095ab update php.ini-* according to changes for bug #69090 2016-11-21 22:52:03 +01:00
Anatol Belski 1d352645fc update NEWS 2016-11-21 19:56:09 +01:00
Anatol Belski 4805be1db6 add test for bug #73452 2016-11-21 15:25:46 +01:00
Anatol Belski 0da5cb5fb6 Backport 15ac4904 to 5.6 2016-11-21 15:20:03 +01:00
Mitch Hagstrand 55980684f6 Fix the lchwon error test for Travis CI.
The E_WARNING message from the PHP function lchown is passed
from the system function lchown. The error message returned
from lchown can be filesystem dependent.
2016-11-18 17:55:44 +01:00
Christoph M. Becker e44deba1e9 Fix #64526: Add missing mysqlnd.* parameters to php.ini-* 2016-11-18 14:17:19 +01:00
Dmitry Stogov c2d6ffb85f Fixed test 2016-11-17 15:57:40 +03:00
Julien Pauli c4f1c20d80 Updated NEWS 2016-11-17 11:37:13 +01:00
Julien Pauli 49030f2a25 Improvement for bug73297 2016-11-17 11:33:36 +01:00
Rowan Collins eba5e276c7 Simplify ext/standard/tests/http/bug73297.phpt 2016-11-17 11:04:57 +01:00
Rowan Collins aec1a5eccc http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses 2016-11-17 11:04:56 +01:00
Rowan Collins 6122526cea Add failing test for bug#73297 2016-11-17 11:04:56 +01:00
Dmitry Stogov 9849c97b1b Accorate handling of too big inodes of chroot directories 2016-11-17 01:08:42 +03:00
Dmitry Stogov 935d922114 "opcache.validate_root" is useless on Windows 2016-11-16 23:15:14 +03:00
Dmitry Stogov 8202b97077 Use full path 2016-11-16 23:01:40 +03:00
Dmitry Stogov a91f3d475e Fixed ZTS build 2016-11-16 16:43:57 +03:00
Christoph M. Becker eb570294a2 Fix #73530: Unsetting result set may reset other result set
Calling sqlite3_reset() when a result set object is freed can cause
undesired and maybe even hard to track interference with other result
sets. Furthermore, there is no need to call sqlite3_reset(), because
that is implicitly called on SQLite3Stmt::execute(), and users are
encouraged to explicitly call either SQLite3Result::finalize() or
SQLite3Stmt::reset() anyway.
2016-11-16 11:49:04 +01:00
Dmitry Stogov ecba563f2f Fixed bug #69090 (check cached files permissions) 2016-11-16 12:43:10 +03:00
Anatol Belski e922d89f66 add missing NEWS entry 2016-11-09 21:32:44 +01:00
Ferenc Kovacs 87673d6e99 add missing NEWS entries 2016-11-09 02:12:16 +01:00
Anatol Belski d6d08f97cd fix memory leak 2016-11-08 12:12:58 +01:00
Anatol Belski 33766347cb Merge remote-tracking branch 'phpsec/PHP-5.6.28' into PHP-5.6 2016-11-08 11:06:52 +01:00
Jakub Zelenka 493b2bff02 Fix bug #72776 (Invalid parameter in memcpy function trough openssl_pbkdf2) 2016-11-06 20:40:51 +00:00
Anatol Belski b044a7429e add missing RETURN_STRINGL_CHECK
As RETVAL_STRINGL_CHECK is already there, this one is needed for
completion. One place in ext/bz2 is missing that, so it will likely
be useful for other possible fixes.
2016-11-06 17:51:25 +01:00
Anatol Belski 617f38b0e0 fix dir separator in test 2016-11-04 18:29:54 +01:00
Stanislav Malyshev 40f7fea897 Add length check for bzcompress too - fix for bug #73356 2016-11-03 22:10:22 -07:00
Stanislav Malyshev 1fd18821e0 More string length checks & fixes 2016-11-03 21:35:09 -07:00
Derick Rethans ccb91cde94 Updated to version 2016.9 (2016i) 2016-11-03 13:57:28 -04:00
Anatol Belski 99b242a6d0 Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash 2016-11-03 17:03:23 +01:00
Christoph M. Becker 2eacb53fc4 Fix #73436: Setting allow_url_fopen to Off makes several tests fail
We make sure that these tests run with allow_url_fopen=1.
2016-11-01 20:13:53 +01:00
Christoph M. Becker 863d37ea66 Fix #72696: imagefilltoborder stackoverflow on truecolor images
We must not allow negative color values be passed to
gdImageFillToBorder(), because that can lead to infinite recursion
since the recursion termination condition will not necessarily be met.
2016-10-30 14:31:29 -07:00
Christoph M. Becker 6499581af7 Fix #72482: Ilegal write/read access caused by gdImageAALine overflow
Instead of rolling our own bounds check we use clip_1d() as it's done
in gdImageLine() and in external libgd. We must not pass the image
width and height, respectively, but rather the largest ordinate value
that is allowed to be accessed, i.e. width-1 and height-1,
respectively.
2016-10-30 14:28:23 -07:00
Xinchen Hui ef75ddd4f9 Fixed bug #73402 (Opcache segfault when using class constant to call a method) 2016-10-29 23:41:51 +08:00
Ferenc Kovacs 9b3a1e00ab 5.6.29 will be next 2016-10-27 23:10:59 +02:00
Christoph M. Becker cd13d0260a Fix #72494: imagecropauto out-of-bounds access
This issue has actually already been fixed with commit 46f2c690. We're
adding a regression test and a NEWS entry, and also port the fix in
gdImageCropThreshold() from libgd:
  * <https://github.com/libgd/libgd/commit/b347e034>
  * <https://github.com/libgd/libgd/commit/46f2c690>
2016-10-25 14:29:48 +02:00
Derick Rethans 4f5a755b9d Updated to version 2016.8 (2016h) 2016-10-24 10:37:07 +01:00
Stanislav Malyshev f74d7d92c8 Fix bug #73144 and bug #73341 - remove extra dtor 2016-10-23 22:03:16 -07:00
Stanislav Malyshev 6045de69c7 Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
Proper soltion would be to call serialize/unserialize and deal with the result,
but this requires more work that should be done by wddx maintainer (not me).
2016-10-23 20:09:23 -07:00
Dmitry Stogov 6558559bcc Fixed bug #73337 (try/catch not working with two exceptions inside a same operation) 2016-10-18 14:48:01 +03:00
Christoph M. Becker 86e603a664 Fix #73333: 2147483647 is fetched as string
We return all integers that can be represented as such by PHP as
integers, and only those that exceed the possible range as strings.
On builds which represent integers with 64 bits, the range check is
unnecessary and might cause code checkers to complain, so we skip this
special casing via the preprocessor according to
<http://git.php.net/?p=php-src.git;a=commit;h=99d087e5>.
2016-10-17 23:34:41 +02:00
Remi Collet e1f5b6d8df use zend_error instead of zend_error_noreturn 2016-10-14 10:53:40 +02:00
Ferenc Kovacs f7bf9650aa add missing NEWS entries for 5.6.27 2016-10-14 08:06:14 +02:00
Christoph M. Becker cc08cbc84d Fix #73280: Stack Buffer Overflow in GD dynamicGetbuf
We make sure to never pass a negative `rlen` as size to memcpy().

Cf. <https://github.com/libgd/libgd/commit/53110871>.
2016-10-13 11:10:02 +02:00
Sara Golemon 43ccf23d70 Clear FG(user_stream_current_filename) when bailing out
If a userwrapper opener E_ERRORs then FG(user_stream_current_filename)
would remain set until the next request and would not be pointing
at unallocated memory.

Catch the bailout, clear the variable, then continue bailing.

Closes https://bugs.php.net/bug.php?id=73188
2016-10-11 21:55:01 -07:00
Stanislav Malyshev 689a9b8def Merge branch 'PHP-5.6.27' into PHP-5.6
* PHP-5.6.27:
  Fix tests
  fix tsrm
  Fix bug #73284 - heap overflow in php_ereg_replace function
  Fix bug #73276 - crash in openssl_random_pseudo_bytes function
  Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()
  fix bug #73275 - crash in openssl_encrypt function
  Fix for #73240 - Write out of bounds at number_format
  Bug #73218: add mitigation for ICU int overflow
  Add more locale length checks, due to ICU bugs.
  Fix bug #73208 - another missing length check
  Fix bug #73190: memcpy negative parameter _bc_new_num_ex
  Fix bug #73189 - Memcpy negative size parameter php_resolve_path
  Fixed bug #73174 - heap overflow in php_pcre_replace_impl
  Fix bug #73150: missing NULL check in dom_document_save_html
  Fix bug #73147: Use After Free in PHP7 unserialize()
  Fix bug #73082
  Fix bug #73073 - CachingIterator null dereference when convert to string
2016-10-11 16:26:35 -07:00
Stanislav Malyshev 082d1f2375 Fix tests 2016-10-11 16:18:08 -07:00
Stanislav Malyshev c1112ff323 fix tsrm 2016-10-11 14:39:16 -07:00
Stanislav Malyshev 21452a5401 Fix bug #73284 - heap overflow in php_ereg_replace function 2016-10-11 14:16:51 -07:00
Stanislav Malyshev 85a22a0af0 Fix bug #73276 - crash in openssl_random_pseudo_bytes function 2016-10-11 13:37:47 -07:00
Stanislav Malyshev 96a8cf8e1b Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML() 2016-10-11 13:30:52 -07:00
Stanislav Malyshev 8822f7c9f0 fix bug #73275 - crash in openssl_encrypt function 2016-10-11 13:19:20 -07:00
Stanislav Malyshev 8259130b6b Fix for #73240 - Write out of bounds at number_format 2016-10-10 23:42:50 -07:00
Anatol Belski 4165d97606 update NEWS 2016-10-10 20:55:44 +02:00
Anatol Belski 256b150a96 add test for bug #73037 2016-10-10 15:59:52 +02:00
Christoph M. Becker fc989fc6e7 Fix #73279: Integer overflow in gdImageScaleBilinearPalette()
The color components are supposed to be in range 0..255, so we must not
cast them to `signed char`, what can be the default for `char`.

Port of <https://github.com/libgd/libgd/commit/77c8d359>.
2016-10-10 11:41:39 +02:00
Christoph M. Becker b92216b97d Fix #73272: imagescale() affects imagesetinterpolation()
We must not permanently change the interpolation method, but rather
have to restore the old method after we're done with scaling the image.
2016-10-09 15:10:34 +02:00
Anatol Belski 3c5742ebd7 fix leak 2016-10-08 19:07:35 +02:00
Nikita Popov b061fa909d Fix bug #73192 2016-10-08 01:04:22 +02:00
Nikita Popov bc3a0b82b8 Revert "Fixed test"
This reverts commit a10d03ac16.
2016-10-08 00:43:36 +02:00
Nikita Popov 1c468ee044 Revert "Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986"
This reverts commit 085dfca02b.
2016-10-08 00:43:17 +02:00
Anatol Belski 07546496b1 Fix bug #73037, second round 2016-10-05 14:54:06 +02:00
Stanislav Malyshev d946d10293 Bug #73218: add mitigation for ICU int overflow 2016-10-04 22:40:43 -07:00
Stanislav Malyshev d3eb58332a Add more locale length checks, due to ICU bugs. 2016-10-04 21:28:40 -07:00
Ilia Alshanetsky a10d03ac16 Fixed test 2016-10-04 21:20:38 -07:00
Ilia Alshanetsky 085dfca02b Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986 2016-10-04 21:20:31 -07:00
Stanislav Malyshev 8ea01d5f19 Apparently negative wordwrap is a thing and should work as length = 0.
I'll leave it as is for now.
2016-10-03 19:17:42 -07:00
Stanislav Malyshev 631173aa5c Really fix bug #73017 2016-10-03 18:07:21 -07:00
Stanislav Malyshev ef801b9bf9 Fix bug #73208 - another missing length check 2016-10-03 00:12:14 -07:00
Stanislav Malyshev 40e7baab3c Fix bug #73190: memcpy negative parameter _bc_new_num_ex 2016-10-03 00:09:02 -07:00
Nikita Popov f9d4b1a3f1 Fix leak in zend_exception_error
Only occurs if a non-fatal severity level is used, e.g. when using
interactive mode.
2016-10-01 19:04:31 +02:00
Christoph M. Becker 9acfb1a3a5 Fix #73213: Integer overflow in imageline() with antialiasing
We port the respective fixes <https://github.com/libgd/libgd/commit/eca37d620>
and <https://github.com/libgd/libgd/commit/837b7327> to our bundled libgd.
2016-09-30 23:38:13 +02:00
Derick Rethans c0219b323e Fixed tests due to changes in underlaying data 2016-09-30 20:49:44 +01:00
Derick Rethans 91fd4bf000 Fixed parsing of AM/PM without all the expected dots in place 2016-09-30 20:21:48 +01:00
Christoph M. Becker e72165bb86 Fix #73203: passing additional_parameters causes mail to fail
We make sure that there's no unsigned underflow, which happened for `y==0`.
2016-09-30 11:38:09 +02:00
Stanislav Malyshev da7e89cde8 Fix bug #73189 - Memcpy negative size parameter php_resolve_path 2016-09-28 23:30:48 -07:00
Stanislav Malyshev 29e2a204fb Fixed bug #73174 - heap overflow in php_pcre_replace_impl 2016-09-28 22:29:59 -07:00
Ferenc Kovacs 703c247c7d 5.6.28 is next 2016-09-29 00:55:36 +02:00
Derick Rethans 6a544f2d1e Updated to version 2016.7 (2016g) 2016-09-28 23:30:26 +01:00
Nikita Popov 1f5412982c Handle resource keys in constexpr arrays 2016-09-28 23:11:02 +02:00
Nikita Popov 40b8105cca Fix the constant array case as well 2016-09-28 23:05:21 +02:00
Nikita Popov 99bf19c177 Check next_index_insert failure in ADD_ARRAY_ELEMENT 2016-09-28 22:35:27 +02:00
Christoph M. Becker 4f0960a800 Fix #53745: cgi.discard_path option is missing from php.ini
Also cgi.check_shebang_line has been missing.
2016-09-26 18:41:09 +02:00
Anatol Belski 66baefec44 update libs_versions.txt 2016-09-26 15:39:01 +02:00
Stanislav Malyshev 1c0e9126fb Fix bug #73150: missing NULL check in dom_document_save_html 2016-09-25 21:25:01 -07:00
Stanislav Malyshev 0e6fe3a4c9 Fix bug #73147: Use After Free in PHP7 unserialize() 2016-09-25 19:53:59 -07:00
Stanislav Malyshev e1709b7e58 Fix bug #73082 2016-09-25 16:07:14 -07:00
Christoph M. Becker c696bc8cfa Fix test_image_equals_file() wrt. palette images
The recently introduced test_image_equals_file() doesn't properly work for
palette images, because in this case only the palette indexes are compared,
what can lead to false positives and negatives as shown in the added test.

To fix that we convert palette images to truecolor, what is supposed to be
faster than calling imagecolorsforindex() for each pixel.

We furthermore rely on PHP's refcounting to free unused images; after all,
this is not C.
2016-09-25 10:34:03 +02:00
Christoph M. Becker c596b02a5b Merge branch 'pull-request/2120' into PHP-5.6 2016-09-24 17:52:15 +02:00
Christoph M. Becker 8f5eda4bf6 Fix #73161: imagecreatefromgd2() may leak memory 2016-09-24 12:36:54 +02:00
Christoph M. Becker 709731797c Fix #73159: imagegd2(): unrecognized formats may result in corrupted files
We must not apply the format correction twice for truecolor images.
2016-09-24 11:28:20 +02:00
Christoph M. Becker c7936ead8f Fix #73155: imagegd2() writes wrong chunk sizes on boundaries 2016-09-24 10:33:49 +02:00
Christoph M. Becker 1da79a6c6e Fix #73157 (again): imagegd2() ignores 3rd param if 4 are given
Obviously, there was a bad merge.
2016-09-24 00:35:24 +02:00
Anatol Belski 075aa911ff Revert "Fixed bug #73037 SoapServer reports Bad Request when gzipped"
This reverts commit f9a699f6c3.
2016-09-23 18:45:03 +02:00
Anatol Belski 28887fe41b skip this test for now as it seems to have issues running dev server 2016-09-23 18:07:08 +02:00
Anatol Belski f9a699f6c3 Fixed bug #73037 SoapServer reports Bad Request when gzipped
(cherry picked from commit 410c68788a)
2016-09-23 18:06:12 +02:00
Christoph M. Becker 9a2a45c1df Update NEWS 2016-09-23 16:23:58 +02:00
Julien Pauli a22175b06f Formatting. Fix possible memory corruption in FPM SHM management 2016-09-23 13:52:58 +02:00
tom916 807004a446 fix every work call mmap
fix fpm_scoreboard_free
2016-09-23 13:52:58 +02:00
Christoph M. Becker 726c5999eb Rework FreeType related tests
Firstly, there is no fundamental difference between running the tests on
freetype before and after 2.4.10, so we re-join the respective test cases.

Secondly, there are some minor differences in the results depending on
architecture, freetype versions and config options, so we cater to that
by allowing small deviations from the expectations.
2016-09-23 12:00:41 +02:00
Anatol Belski 49c3fa43ad update libs versions 2016-09-22 17:01:02 +02:00
Márcio Almada 4397306b32 fix bug related to #865
In case USE_KEY flag is active, RegexIterator->accept() should keep it's
old behavior which is to accept keys mapping arrays.

This broke after PHP 5.5 but was not noticed due to lack of tests for USE_KEY.
2016-09-22 12:46:19 +02:00
Stanislav Malyshev 33a8af0510 Fix bug #73073 - CachingIterator null dereference when convert to string 2016-09-20 22:59:12 -07:00
Dmitry Stogov 4dd70b6e2f Fixed inconsistent meaning of zend_startup_module_ex() return value used in zend_hash_apply() 2016-09-20 12:29:57 +03:00
Christoph M. Becker fc2cadca2d Merge branch 'pull-request/1845' into PHP-5.6 2016-09-20 01:05:57 +02:00
George Wang 56fa36b0a8 Fix wrong year in previous commit. 2016-09-19 10:46:46 -04:00
Julien Pauli 1ed4b13fb6 Do not wrap user exception in case of custom JSON serialization 2016-09-19 16:06:12 +02:00
Christoph M. Becker 6682673070 Fix #73100: session_destroy null dereference in ps_files_path_create 2016-09-16 23:41:10 +02:00
Xinchen Hui 01c7c6b152 Updte NEWS 2016-09-16 20:55:37 +08:00
Xinchen Hui ac07008bb7 Fixed bug #72505 (readfile() mangles files larger than 2G) 2016-09-16 20:53:51 +08:00
Christoph M. Becker 46df064261 Fix #73003: Integer Overflow in gdImageWebpCtx of gd_webp.c
We add the missing integer overflow check to avoid potential buffer overflows.
2016-09-16 11:37:18 +02:00
Remi Collet 3c117d4136 fix test (32bits) 2016-09-15 15:32:39 +02:00
Remi Collet 55237fe153 fix ZTS build 2016-09-15 13:27:20 +02:00
Ferenc Kovacs 1d7484077a update NEWS 2016-09-15 11:35:46 +02:00
Christoph M. Becker 7bfb7b62b1 Fix and reactivate regression test for bug #50194
Apparently, different FreeType versions render the string differently, so
we have to cater to these slight differences. Unfortunately, the testing
framework doesn't yet offer a clean API for this, so we work around the
limitations by parsing and checking the output of test_image_equals_file().
2016-09-15 00:46:00 +02:00
Christoph M. Becker 36df4f8419 Skip ext/gd/tests/bug50194.phpt for now
There are apparently issues with the font rendering with different freetype
version; I'll have a look at this issue ASAP.
2016-09-14 20:00:30 +02:00
Christoph M. Becker 09eb6ed35e Fix #50194: imagettftext broken on transparent background w/o alphablending
We must not draw the background pixels of the character glyphs, what has
already been fixed in GD 2.0.26.
2016-09-14 15:47:32 +02:00
Jakub Zelenka 05baa92727 Fix bug #73072 (Invalid path SNI_server_certs causes segfault) 2016-09-13 18:15:34 +01:00
Christoph M. Becker c43ecfd798 Merge branch 'pull-request/2126' into PHP-5.6 2016-09-13 15:57:39 +02:00
Anatol Belski 248f8c3a91 add test for bug #73068 2016-09-13 15:28:28 +02:00
Anatol Belski fc31d6fed4 fix test portability 2016-09-13 12:00:29 +02:00
Anatol Belski 8fd0e0285f missed semicolon 2016-09-13 10:50:44 +02:00
Anatol Belski 363c2524dd fix C89 conformity 2016-09-13 10:43:51 +02:00
Stanislav Malyshev 28f80baf3c Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields 2016-09-12 21:04:23 -07:00
Stanislav Malyshev 33d0ef0fef Fix test 2016-09-12 21:04:23 -07:00
Stanislav Malyshev c4cca4c20e Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c 2016-09-12 21:04:23 -07:00
Stanislav Malyshev f5a9592ad8 Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile) 2016-09-12 21:04:23 -07:00
Stanislav Malyshev 6a7cc8ff85 Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction 2016-09-12 21:04:23 -07:00
Stanislav Malyshev 7381d4c00e Add check in fgetcsv in case sizeof(unit) != sizeof(size_t) 2016-09-12 21:04:23 -07:00
Stanislav Malyshev ecb7f58a06 Fix bug #73029 - Missing type check when unserializing SplArray 2016-09-12 21:04:23 -07:00
Stanislav Malyshev b88393f08a Fix bug #72860: wddx_deserialize use-after-free 2016-09-12 21:04:23 -07:00
Stanislav Malyshev 65c8caafa8 Also fix overflow in wordwrap 2016-09-12 21:04:23 -07:00
Stanislav Malyshev 6d55ba2656 Fix bug #73007: add locale length check 2016-09-12 21:04:23 -07:00
Stanislav Malyshev ba5ac0d360 Add more checks for int overflow 2016-09-12 21:04:23 -07:00
Stanislav Malyshev 223266e4e4 Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile 2016-09-12 21:04:23 -07:00
Stanislav Malyshev 19866fb76c Fix various int size overflows.
Add function for detection of string zvals with length that does not fit
INT_MAX.
2016-09-12 21:04:23 -07:00
Adam Baratz 39f45e208c Add myself as pdo_dblib maintainer 2016-09-12 12:43:39 -04:00
Christoph M. Becker 0cbf634657 Skip regression test for issue that has not yet been released in libgd
<https://github.com/libgd/libgd/issues/177> has been assessed as enhancement,
so most likely it will be released with GD 2.3.
2016-09-12 13:21:34 +02:00
Christoph M. Becker fcdc30b347 Skip test for external GD because of not yet published bugfix 2016-09-12 12:34:11 +02:00
Christoph M. Becker 6d0e773292 Skip tests for unpatched external libgd regarding libvpx
Some issues have never been fixed in the external libgd's libvpx binding,
so we skip the respective tests.
2016-09-11 23:49:09 +02:00
Christoph M. Becker 6ef987e012 Split test for bundled vs. external libgd
The behavior of imagecropauto($im, IMG_CROP_DEFAULT) is rather different
for the bundled and an external libgd, see
<https://github.com/libgd/libgd/issues/298>.
Therefore we split the test for now.
2016-09-11 19:30:55 +02:00
Christoph M. Becker 38455293f7 Make test case more resilient
This test case fails with external libgd, because libgd < 2.2.4 converts
palette images to truecolor (<https://github.com/libgd/libgd/issues/297>).

However, even if there happens no truecolor conversion, it is not guaranteed
that the palette indexes of the original and the cropped image are identical
(this is, for instance, not the case with current libgd master where the bug
has been fixed). Therefore we check for the expected RGBA value instead of
the palette index.
2016-09-11 18:29:27 +02:00
Christoph M. Becker dc09f30933 A picture is worth a thousand message digests
The bundled GD test suites makes heavy use of md5() to verify the result
of drawing operations. This leads to fragile tests (even a slight change
in a PNG header would cause failure, and of course there is the
possibility of collisions), and even worse, eventual test failures are
rather unrevealing.

Therefore we replace all md5() verification with a simplistic
test_image_equals_file(), which is basically a simplified port of libgd's
gdTestImageCompareToFile(), adapted to the needs of PHPTs.

In the long run better tests helpers should be introduced (see also
<http://news.php.net/php.internals/94081>), but for now this solution
is preferable over the former.

(cherry picked from commit 24f9e96792518ec2a75f26b1eb2471dd7694f2b7)
2016-09-11 12:56:53 +02:00
Christoph M. Becker 326a4e38fb Add regression test for bug #73053
The test succeeds with libxml < 2.9.4, and is supposed to succeed with
libxml > 2.9.4. Unfortunately, we can't conditionally mark a test case
as XFAIL, so we're simply skipping the test for libxml 2.9.4 instead.
2016-09-11 00:06:45 +02:00
Anatol Belski 6c9d37d059 update NEWS 2016-09-10 11:02:17 +02:00
Anatol Belski 669fda00b7 Bug #73058 crypt broken when salt is 'too' long 2016-09-10 02:39:28 +02:00
Christoph M. Becker c42a7f2f3f Remove ignored --FAIL-- section from test case
This is just confusing.
2016-09-09 16:27:50 +02:00
Christoph M. Becker 23e721fc93 Fix #73054: default option ignored when object passed to int filter
If an object that can't be converted to string is validated, we must not
bail out early, but rather check for a requested default value.
2016-09-09 14:30:24 +02:00
Levi Morrison cb91a51b00 Partially fix bug #67167 - Wrong return value...
...from FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE

The remainer of the fix would require the filter functions to only
convert to string when it makes sense for that particular filter.

(cherry picked from commit 432dc527ad)
2016-09-09 12:45:46 +02:00
Yasuo Ohgaki 38553e853b Fixed Bug #68015 Session does not report invalid uid for files save handler 2016-09-09 11:31:54 +09:00
Anatol Belski b1f33db39f backport 59444347 and 3d7343f6 2016-09-08 17:46:53 +02:00
Yasuo Ohgaki 8c700076d7 Fix bug26639.phpt 2016-09-08 14:07:57 +09:00
Yasuo Ohgaki fb1c46f013 Update NEWS 2016-09-08 13:35:30 +09:00
Yasuo Ohgaki 8bbd0952e5 Fix Bug #72992 mbstring.internal_encoding doesn't inherit default_charset 2016-09-08 13:17:10 +09:00
Christoph M. Becker 5880428dac Fix potential memory issue with USE_ZEND_ALLOC=0
The PHP core and extensions are written with the assumption that memory
allocation either succeeds, or the allocator bails out (i.e. the allocator
is infallible). Therefore the result of emalloc() and friends are not checked
for NULL values.

However, with USE_ZEND_ALLOC=0, malloc() and friends are used as allocators,
but these are fallible, i.e. they return NULL instead of bailing out if they
fail. This easily leads to invalid memory accesses in the following, such as
in <https://bugs.php.net/73032>. Some of these cases may constitute
exploitable vulnerabilities.

Therefore we make the infallible __zend_alloc() and friends the default for
USE_ZEND_ALLOC=0.
2016-09-07 22:50:53 +02:00
Christoph M. Becker dad793630d Fix #73025: Heap Buffer Overflow in virtual_popen of zend_virtual_cwd.c
`command_length` is retrieved via strlen() and later passed to emalloc()
and memcpy(), so the appropriate type is `size_t`.

We don't add a regression test, because that would need to allocate a string
of at least 2 GiB.
2016-09-06 12:05:58 +02:00
Yasuo Ohgaki 3a35d43ad9 Update NEWS 2016-09-06 18:29:20 +09:00
Yasuo Ohgaki a25f6f89cd Fixed Bug #66964 mb_convert_variables() cannot detect recursion 2016-09-06 16:05:34 +09:00
Christoph M. Becker 8aad3131a1 Fix #70752: Depacking with wrong password leaves 0 length files
We should not open the output stream before we have tried to open the
archive entry, as failing the latter could leave an empty file behind.
2016-09-06 01:03:46 +02:00
Julien Pauli dd6da58fac Updated NEWS 2016-09-05 17:03:29 +02:00
Keyur 0045d16863 Fixes #72590: Opcache restart with kill_all_lockers does not work
ACCEL_LOG_ERROR is special and causes a zend_bailout() and the code
never gets to call kill() in the next line after the logging. Change
the log level to WARNING.
2016-09-05 16:59:28 +02:00
Nikita Popov b92cb6b238 Limit editorconfig to C code
PHPT files do not follow this.

[ci skip]
2016-09-05 14:22:13 +02:00
Julien Pauli 1abbcc8cc5 Updated NEWS 2016-09-05 10:17:56 +02:00
Julien Pauli 9834978a8b Fix #72972, Bad filter for the flags FILTER_FLAG_NO_RES_RANGE and FILTER_FLAG_NO_PRIV_RANGE 2016-09-05 10:08:42 +02:00
Richard Fussenegger 5c38fbe543 Added editorconfig file 2016-09-05 00:40:58 -07:00
Christoph M. Becker 39423e425d Implement #47456: Missing PCRE option 'J'
While it is possible to force the same behavior by setting the internal
option (?J), having a dedicated modifier appears to be useful. After all,
J is even listed on the "Pattern Modifiers" man page[1], but the description
referrs to (?J).

[1] <http://php.net/manual/en/reference.pcre.pattern.modifiers.php>
2016-09-05 00:30:48 -07:00
Stanislav Malyshev cee363d609 Merge branch 'pull-request/2061' into PHP-5.6
* pull-request/2061:
  Recognize TDS versions 7.3 and 7.4
2016-09-05 00:29:11 -07:00
Adam Baratz 84d495055d Use integer placeholders, since values can vary with the TDS version 2016-09-05 00:17:59 -07:00
Stanislav Malyshev b578580e88 Same issue as #72926 in another place. 2016-09-04 20:49:34 -07:00
Stanislav Malyshev d1fbc98ff6 Sync fix for bug #72910 with current upstream 2016-09-04 19:13:48 -07:00
Christoph M. Becker b7259b71b4 Fix #72994: mbc_to_code() out of bounds read
We're backporting commit 999a3553 to the still supported PHP 5.6.
2016-09-04 16:37:06 +02:00
Christoph M. Becker d582241368 Fix #67325: imagetruecolortopalette: white is duplicated in palette
gdImageTrueColorToPalette() is sometimes wasteful by putting multiple white
color entries into the palette. This is caused by an obvious typo, where
to avoid a division by zero when `total` is zero, `count` is checked instead
of `total`.

We fix this issue to improve the quality of the color quantization.

Cf. <https://github.com/libgd/libgd/commit/24b4550f>
2016-09-03 19:50:42 +02:00
Anatol Belski 9513187dee fix leak and error check order 2016-09-03 16:59:17 +02:00
Christoph M. Becker bca913d70a Fix proto comment
While we're at it, we also change a related comment to use American English
consistently.
2016-09-03 13:41:29 +02:00
Christoph M. Becker c83bdb8e6a Make test case more resilient
When ran from a root directory the test case failed, because the open_basedir
restriction for "../[…]" won't kick in. Therefore we change the current
working directory to the test case's directory, as discussed on internals,
see <http://news.php.net/php.internals/95585>.
2016-09-03 00:24:30 +02:00
Anatol Belski 5efd2a33df fix double free 2016-09-03 00:01:04 +02:00
Stanislav Malyshev e576714f6b Fix bug #72910
Merge upstream patch from https://github.com/kkos/oniguruma/commit/65bdf2a0d160d06556415e5f396a75f6b11bad5c
2016-09-01 23:27:06 -07:00
Ferenc Kovacs fbb81dd755 5.6.27 will be next 2016-09-01 20:27:19 +02:00
Christoph M. Becker b2d267d9ee Fix #71882 amendment 2: Negative ftruncate() on php://memory exhausts memory 2016-08-31 16:33:14 +02:00
Christoph M. Becker 314a9f8553 Fix #71882 amendment: Negative ftruncate() on php://memory exhausts memory
To avoid BC breaks, we do not raise a warning for now.
2016-08-31 14:51:37 +02:00
Yasuo Ohgaki 747b61808b Update NEWS 2016-08-31 21:06:19 +09:00
Christoph M. Becker 2f10db36af Fix #66797: mb_substr only takes 32-bit signed integer
`from` and `len` are `long`, but get passed to mbfl_substr() which expects
`int`s. Therefore we clamp the values to avoid the undefined conversion
behavior.
2016-08-30 14:52:47 +02:00
Ville Hukkamäki af7828a20f Test case for bug #72771 2016-08-30 13:44:34 +02:00
Christoph M. Becker 207dab585a Fix #71882: Negative ftruncate() on php://memory exhausts memory
We must not pass negative sizes to a size_t parameter.
2016-08-30 02:05:45 +02:00
Anatol Belski c7b4cd1a51 fix HANDLE leak 2016-08-29 21:45:39 +02:00
Anatol Belski ae81e8fc32 update NEWS 2016-08-29 21:20:36 +02:00
Anatol Belski d787b0ea13 ensure null termination 2016-08-29 21:03:03 +02:00
Anatol Belski 295303b590 Fixed bug #72703 Out of bounds global memory read in BF_crypt triggered by password_verify 2016-08-29 20:25:34 +02:00
Anatol Belski 1a840b9af0 fix double free 2016-08-29 19:27:47 +02:00
Anatol Belski e2609a38d9 fix leak 2016-08-29 18:01:21 +02:00
George Wang c73bcbefbd Added .user.ini support.
Added LSPHPRC support.
update LiteSpeed SAPI version to 6.10 .
2016-08-28 21:49:30 -04:00
Christoph M. Becker 2139918ea6 Fix #65550: get_browser() incorrectly parsers entries with "+" sign
+ signs in the browscap patterns are meant to be literal characters, so we
have to escape them for the regex matching.
2016-08-27 01:12:01 +02:00
Christoph M. Becker 84512a1177 Fix #70825: Cannot fetch multiple values with group in ini file
If we have the position already from the last fetch, we also have to preset
the current group, because it won't be read again.
2016-08-25 18:18:10 +02:00
Christoph M. Becker bd8112afe0 Fix #71514: Bad dba_replace condition because of wrong API usage
We're backporting commit 9e309a2d to PHP-5.6, because it is a bugfix.
2016-08-25 16:20:30 +02:00
Anatol Belski a1ff39ffe5 backport relevant part from bug #72858 patch in 7.0 2016-08-25 12:46:28 +02:00
Christoph M. Becker 6a232c3604 Fix #68716: possible resource leaks in _php_image_convert()
We properly clean up after ourselves wrt. to closing opened file pointers
and created images.
2016-08-21 19:39:58 +02:00
Christoph M. Becker d65adac2be Fix #72913: imagecopy() loses single-color transparency on palette images
The proper code to handle true-color to palette copies is already contained
in gdImageCopy(), so we can simply remove the buggy duplicated code.
2016-08-21 17:39:23 +02:00
Christoph M. Becker 9eb5bbd8bd Fix #66005: imagecopy does not support 1bit transparency on truecolor images
We must not copy transparent pixels, see
<https://github.com/libgd/libgd/commit/daac285c>.
2016-08-21 16:08:57 +02:00
Xinchen Hui 226e21b0fe Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:/php-src:
  Improvements to fix #72714, suggested by nikic
  Fix #65732: grapheme_*() is not Unicode compliant on CR LF sequence
  Fix #72714: _xml_startElementHandler() segmentation fault
  update NEWS
  Fixed bug #72852 imap_mail null dereference
  Revert "Fix dba configuration for Windows"
  Fix dba configuration for Windows
  Fix broken test include
  fix NEWS
  Add myself as PDO_OCI maintainer
2016-08-21 17:19:24 +08:00
Xinchen Hui b740bb3987 Fixed bug #72907 (null pointer deref, segfault in gc_remove_zval_from_buffer (zend_gc.c:260)) 2016-08-21 17:10:10 +08:00
Christoph M. Becker 52793c14d9 Improvements to fix #72714, suggested by nikic 2016-08-20 12:44:20 +02:00
Christoph M. Becker e4a006cd3e Fix #65732: grapheme_*() is not Unicode compliant on CR LF sequence
According to the Unicode specification (at least as of 5.1), CRLF sequences
are considered to be a single grapheme. We cater to that special case by
letting grapheme_ascii_check() fail. While it would be trivial to fix
grapheme_ascii_check() wrt. grapheme_strlen(), grapheme_substr() and
grapheme_strrpos() would be much harder to handle, so we accept the slight
performance penalty if CRLF is involved.
2016-08-20 03:01:35 +02:00
Christoph M. Becker 9164dc11e2 Fix #72714: _xml_startElementHandler() segmentation fault
The issue is caused by an integer overflow when the `long` passed as
XML_OPTION_SKIP_TAGSTART is assigned to `xml_parser::toffset` which is
declared as `int`. We can simply work around this issue, by clipping
resulting negative values to 0 (and raising a notice in this case), because
the reasonable range for this value is certainly catered to by positive
`int`s.

However, there still remains the issue that `xml_parser::toffset` is later
added to `char *`s, which can cause OOB reads, so we make sure that the
upper bound never exceeds the strlen(). We eschew optimizing `SKIP_TAGSTART`
wrt. to the potentially duplicate strlen() call, because that code path is
unexpected anyway.
2016-08-20 01:58:08 +02:00
Anatol Belski f682193609 update NEWS 2016-08-20 01:36:37 +02:00
Anatol Belski 21f08a7488 Fixed bug #72852 imap_mail null dereference 2016-08-20 01:34:46 +02:00
Christoph M. Becker 057278b759 Revert "Fix dba configuration for Windows"
This reverts commit ad76e8a529.

After a discussion with Anatol it seems to be better QA wise to not make
this change in stable versions or betas.
2016-08-19 16:35:31 +02:00
Christoph M. Becker ad76e8a529 Fix dba configuration for Windows
To be able to build the dba extension on Windows, libdb was required. This
is contrary to *nix where each handler can be configured individually. To
avoid BC breaks, we only do minimal modifications, instead of adjusting the
Windows configuration to match the *nix configuration, for now.
2016-08-19 11:42:16 +02:00
Christoph M. Becker bc1214f25e Fix broken test include
To avoid that the test stalls, we must always use `t` mode.
2016-08-18 17:53:57 +02:00
Ferenc Kovacs 761d2f629b fix NEWS 2016-08-18 13:01:53 +02:00
Christopher Jones f2d5305097 Add myself as PDO_OCI maintainer 2016-08-18 15:47:25 +10:00
Christopher Jones b12ac316eb Prepare for OCI8 PECL release 2016-08-18 13:50:36 +10:00
Christoph M. Becker 54293d21cb Skip tests that are supposed to fail due to bugs in old external libgd 2016-08-17 21:36:26 +02:00
Christoph M. Becker a3159d29bb Make tests a little more resilient
PNG allows identical images to be stored differently what makes nearly all
tests checking the MD5 hash of the PNG representation fail with external
libgd. For now, we use the GD format instead, which doesn't allow for such
differences.

Of course, this md5() checking should be replaced by a image diffing feature
in the long run.
2016-08-17 17:59:33 +02:00
Christoph M. Becker 48198e4c25 Fix #68302: impossible to compile php with zip support
We should not let configure succeed, if SIZEOF_OFF_T == 0, just to let the
compilation fail later. Instead we bail out early, giving a hint regarding
the potential issue, namely misconfigured libraries.
2016-08-17 12:43:29 +02:00
Xinchen Hui abe00908af Fixed bug #72853 (stream_set_blocking doesn't work)
Implemented  PHP_STREAM_OPTION_META_DATA_API for plain_wrappers
2016-08-17 16:54:21 +08:00
Stanislav Malyshev 9e00ad2b09 Update NEWS 2016-08-16 23:44:59 -07:00
Stanislav Malyshev 4bf5c3187f BLock test with memory leak 2016-08-16 22:55:44 -07:00
Stanislav Malyshev d8b2de164e fix tests 2016-08-16 22:55:43 -07:00
Stanislav Malyshev 40bd921cea Fix TSRM build 2016-08-16 22:55:43 -07:00
Stanislav Malyshev 35a8ed2f62 Fix bug #72850 - integer overflow in uuencode 2016-08-16 22:55:43 -07:00
Stanislav Malyshev b9e81e5844 Fixed bug #72849 - integer overflow in urlencode 2016-08-16 22:55:42 -07:00
Stanislav Malyshev 24d741d376 Fix bug #72848 - integer overflow in quoted_printable_encode caused heap corruption 2016-08-16 22:55:42 -07:00
Stanislav Malyshev 5f91f692c3 Fix bug #72838 - Integer overflow lead to heap corruption in sql_regcase 2016-08-16 22:55:42 -07:00
Stanislav Malyshev cfdeedd985 Fix bug #72837 - integer overflow in bzdecompress caused heap corruption 2016-08-16 22:55:41 -07:00
Stanislav Malyshev d6a43a8562 Fix bug #72836 - integer overflow in base64_decode caused heap corruption 2016-08-16 22:55:41 -07:00
Stanislav Malyshev 1cd6bc6463 Fix for bug #72807 - do not produce strings with negative length 2016-08-16 22:55:41 -07:00
Stanislav Malyshev 5a34bd6d1e Fix for bug #72790 and bug #72799 2016-08-16 22:55:41 -07:00
Stanislav Malyshev 1bd103df00 Fix bug #72730 - imagegammacorrect allows arbitrary write access 2016-08-16 22:55:40 -07:00
Stanislav Malyshev a3598dd7c9 Fix bug#72697 - select_colors write out-of-bounds 2016-08-16 22:55:40 -07:00
Stanislav Malyshev 6dbb1ee46b Fixed bug #72627: Memory Leakage In exif_process_IFD_in_TIFF 2016-08-16 22:55:40 -07:00
Stanislav Malyshev 698a691724 Fix bug #72750: wddx_deserialize null dereference 2016-08-16 22:55:39 -07:00
Stanislav Malyshev e018ff094f Fix bug #72771: ftps:// opendir wrapper is vulnerable to protocol downgrade attack 2016-08-16 22:55:39 -07:00
Stanislav Malyshev 639f7fde6a Improve fix for #72663 2016-08-16 22:55:20 -07:00
Stanislav Malyshev 95d09e4b5e Fix bug #70436: Use After Free Vulnerability in unserialize() 2016-08-16 22:55:20 -07:00
Stanislav Malyshev 426aeb2808 Fix bug #72749: wddx_deserialize allows illegal memory access 2016-08-16 22:55:19 -07:00
Stanislav Malyshev f1a0b7d690 Update comment 2016-08-16 22:55:19 -07:00
Stanislav Malyshev da316b50bd Fix bug #72708 - php_snmp_parse_oid integer overflow in memory allocation 2016-08-16 22:55:19 -07:00
Stanislav Malyshev 8763c6090d Fix bug #72681 - consume data even if we're not storing them 2016-08-16 22:54:42 -07:00
Stanislav Malyshev 448c9be157 Fix bug #72663 - destroy broken object when unserializing 2016-08-16 22:54:42 -07:00
Christoph M. Becker 1bb92d5212 #72085: SEGV on unknown address zif_xml_parse
We better make sure that the ZVALs we're accessing as arrays are indeed
arrays.
2016-08-17 00:42:45 +02:00
Anatol Belski 4a4422740f put missing prototype and fix ts build 2016-08-14 22:35:01 +02:00
Anatol Belski 5c7f802e7e update NEWS 2016-08-14 20:50:23 +02:00
Anatol Belski 977cbc2fff Fixed bug #72759 Regression in pgo_pgsql
This is caused by the fix for #72633. Namely, lastval() throws an error,
if no nextval() was called earlier in the same session. This is by all
means correct so far, however inside a transaction it leads to an abort.
This is the opposite to MySQL's last_insert_id() which doesn't produce
any error no matter something were autoincremented or not.

To avoid existing scripts breakage in the stable branches, the previous
patch is extended to revert the transaction to the state before the lastval()
call in case of error. It is done only for 5.6 and 7.0 to retain BC. For 7.1+,
the clean behavior should persist. This is already the current behavior, when
the sequence name is explicitly passed. So there's no reason to obfuscate the
errors where this breakage is valid.
2016-08-14 19:33:24 +02:00
Jakub Zelenka 9f1d962ed6 Fixed bug #72787 (json_decode reads out of bounds) 2016-08-14 13:52:59 +01:00
Benedict Singer dfadc5a427 Bug 70195
Many FTP-S servers now require FTP clients to re-use the SSL session
from the control connection on the data connection, to prove that the
same entity controls both connections. This patch updates PHP's FTP-S
client code to allow that possibility.
2016-08-13 21:35:03 +02:00
Christoph M. Becker 82df4e2638 Fix #72278: getimagesize returning FALSE on valid jpg
getimagesize() is rather strict about the length of the marker payload data,
and fails if there are extraneous bytes before the next marker. Only a very
special case reported in bug #13213 is catered to.

libjpeg is rather resilient to such corrupted JPEG files, and raises a
recoverable error in this case. Other image processors also accept such
JPEG files, so we adapt getimagesize() to skip (but warn about) such
extraneous bytes.
2016-08-13 16:14:34 +02:00
Christoph M. Becker ae3b2078ea Fix #72823: strtr out-of-bound access
If php_strtr_array_prepare_repls() reports pattern_len == 0, we return
early to avoid OOB accesses, and because there is nothing to replace anyway.
2016-08-13 11:40:33 +02:00
Christoph M. Becker 7938ebf6c1 Fix #60665: call to empty() on NULL result using PDO::FETCH_LAZY returns false
The has_property handler only checked whether a respective column name
exists, but neither whether the column value is set, nor whether it is
empty, respectively. We fix that to match the behavior of POD:FETCH_OBJ in
particular and PHP in general.
2016-08-13 01:11:13 +02:00
Yasuo Ohgaki f19578ad58 Fix URL rewriter partially 2016-08-11 09:18:33 +09:00
Yasuo Ohgaki a38bc7b373 Support "git worktree" 2016-08-11 08:08:26 +09:00
Christoph M. Becker 243d5fcb1f Add test for bug #69107: finfo no longer detects PHP files 2016-08-08 18:43:33 +02:00
Nikita Popov 40d237df1f Fix stream_socket_enable_crypto() test
The whole test doesn't make any sense at all, but this only fixes
the additional warnings you get when linked against openssl w/o
SSL3.
2016-08-07 18:37:38 +02:00
Lior Kaplan 283ee1f6dc Recognize TDS versions 7.3 and 7.4 2016-08-07 15:15:59 +03:00
Kalle Sommer Nielsen 3d51b1d544 Fix the fix (Nikita), thanks! 2016-08-06 12:08:13 +02:00
Kalle Sommer Nielsen 5e2b8349b4 Check the return value of dbconvert() in mssql_guid_string(), as it may return -1 in case the conversion failed. In that case false is returned.
Also initialize buffer and buffer2 to NULL, which should fix bug #72039 (Use of uninitialised value on mssql_guid_string).

This only applies to 5.6, as we do not have mssql in 7.0 anymore
2016-08-06 10:17:49 +02:00
Ville Hukkamaki 65056e9d6c Fix #72764
Negotiate data channel encryption after NLST command.
This is to prevent issues with IIS and ProFTPD.
2016-08-05 22:56:54 +02:00
Christoph M. Becker a8515a339d Fix broken skip marker in test case 2016-08-04 12:06:07 +02:00
Matteo Beccati d3a8e107ac Clean up FR #72633 2016-08-04 09:28:58 +02:00
Christopher Jones 78488a54c8 Fixed invalid handle error with Implicit Result Sets and bump OCI8 version. 2016-08-04 16:55:54 +10:00
Stanislav Malyshev 4f861b6071 Fix bug #72716 - initialize buffer before read 2016-08-03 22:59:42 -07:00
Ferenc Kovacs 562c17eb4e 5.6.26 will be next 2016-08-04 01:39:37 +02:00
Anatol Belski 9667ee4f72 improve the check, avoid strlen on NULL 2016-08-03 18:26:29 +02:00
Anatol Belski f15c155363 update NEWS 2016-08-03 17:38:11 +02:00
Kalle Sommer Nielsen d5796fb298 Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the EXIF parsing to be interrupted. This is a regression from earlier which was most likely a part of a security fix for MAKERNOTE.

The new behavior is to instead of stopping to parse, to continue so we can still fetch data like thumbnail and GPS, thrus allowing yet unsupported formats to parse. If EXIF's debugging mode is enabled, a notice will display in case we do not match against a valid MAKERNOTE signature.

This should temporarily fix bug #72682 (exif_read_data() fails to read all data for some images) until I get around to debug it further.

(cherry picked from commit aabcb5481d)
2016-08-03 17:36:00 +02:00
Anatol Belski 67c2b0a9e8 update libs_versions.txt 2016-08-03 15:03:41 +02:00
Anatol Belski fad3f936ac fix ts build 2016-08-03 12:16:42 +02:00
Christoph M. Becker f5622f5c87 Fix #72709: imagesetstyle() causes OOB read for empty $styles
Calling imagesetstyle() with an empty $styles array caused gdImageSetStyle()
to be called with `noOfPixels==0`, what could have lead to OOB reads.
Actually, this issue will be fixed in libgd, but to avoid issues when older
libgd is in use, we simply disallow passing an empty $styles array to
imagesetstyle(), what wouldn't serve a useful purpose anyway.
2016-08-02 18:43:37 +02:00
Anatol Belski e95625f47e update NEWS 2016-08-02 14:36:56 +02:00
Anatol Belski 40b3a031b2 cleanup table after test 2016-08-02 14:35:24 +02:00
Pablo Santiago Sánchez 90c6cbd09b - lastInsertId using Postgres Lastval() function 2016-08-02 14:34:30 +02:00
Nikita Popov c9d3ff0c6e Revert "Fixed bug #71219"
This reverts commit 14d674442e.

I misread the discussion on the bug -- this is not the correct
fix. However the other proposed fix does not work either, so just
reverting for now.
2016-07-30 18:34:34 +02:00
Nikita Popov 14d674442e Fixed bug #71219 2016-07-30 18:21:19 +02:00
Nikita Popov 99613431b4 Add missing TSRMLS_FETCH() 2016-07-30 16:28:42 +02:00
Nikita Popov e87ac688d5 Fixed bug #72142 2016-07-30 15:13:03 +02:00
ju1ius 1d32b80903 fixes bad address given to onig_error_code_to_str
Closes bug #72710

(cherry picked from commit 0fb7eb6723bcc6fd98053911543e801edb5ab763)
2016-07-30 11:46:34 +02:00
Christoph M. Becker f67ccd4a7b Fix #71894: AddressSanitizer: global-buffer-overflow in zif_cal_from_jd
Julian days < 347998 denote invalid Jewish calendar dates, so
cal_from_jd($jd, CAL_JEWISH) and jdmonthname($jd, CAL_MONTH_JEWISH) should
actually fail. For BC we don't yet let them though, but we fix the OOB read
that happens in this case, and we also adjust cal_from_jd()'s return value
to have empty strings for "abbrevdayname" and "dayname" instead of "Sun"/
"Sunday" and NULL for "dow" instead of 0, which doesn't make any sense.
2016-07-29 01:04:21 +02:00
Christoph M. Becker 5c458c9b02 Implement FR #65462: Please add tests for gregorian and jewish overflow fixes 2016-07-28 19:59:14 +02:00
Christoph M. Becker 7ab39e2fae Fix #67976: cal_days_month() fails for final month of the French calendar
The French calendar ends on 0014-13-05, so trying to calculate the Julian
day of 0015-01-01 fails. We cater to that by returning the hard-coded value.
2016-07-28 19:13:58 +02:00
Christoph M. Becker ced2a80e6f Bug #69975 had already been fixed as of PHP 5.6.12
Also CVE-2015-8879 had been assigned.
2016-07-28 18:22:19 +02:00
Christoph M. Becker c301adbbd1 Fix #72677: SCM_CREDENTIALS related tests should be skipped on AIX
Patch provided by matthieu dot sarter dot external at atos dot net.
2016-07-28 17:19:47 +02:00
Christoph M. Becker 6e886f07a8 Fix #72676: Test cli_process_title_unix fails on AIX
Patch provided by matthieu dot sarter dot external at atos dot net.
2016-07-28 16:51:45 +02:00
Christoph M. Becker ee6900c3de Fix #72694: mb_ereg_search_setpos does not accept a string's last position
Setting the search position immediately behind the last character should be
allowed, so we fix this off-by-one error.
2016-07-28 15:21:48 +02:00
Christoph M. Becker 56cdaecb28 Fix #72693: mb_ereg_search increments search position when a match zero-width
That's caused by an off-by-one error, which we fix.
2016-07-28 13:57:38 +02:00
Christoph M. Becker d276e6a838 Fix #72691: mb_ereg_search raises a warning if a match zero-width
That warning doesn't make sense (PCRE doesn't throw such a warning either),
so we remove it.
2016-07-28 13:07:05 +02:00
Christoph M. Becker 0ae8c337a3 Bug #6836 has already been fixed in PHP 5.6.24 and 7.0.9 2016-07-28 12:26:41 +02:00
Pierrick Charron 30a5ed3a79 Fixed bug #71929 (CURLINFO_CERTINFO data parsing error). 2016-07-27 23:30:20 -04:00
Pierrick Charron ed16f2fed5 Update NEWS 2016-07-27 17:52:05 -04:00
Christoph M. Becker 315c0536c2 Fix #72688: preg_match missing group names in matches
We have to multiply with 0x100 to properly scale the high byte.
2016-07-27 18:50:52 +02:00
Christoph M. Becker cc125f277b Implement #72653: SQLite should allow opening with empty filename
From the [sqlite3_open](https://www.sqlite.org/c3ref/open.html) docs:

| If the filename is an empty string, then a private, temporary on-disk
| database will be created. This private database will be automatically
| deleted as soon as the database connection is closed.

We make that facility available to userland.

While we're at it, we also do some minor optimizations, remove the
unnecessary check for NUL characters in filename, which is already catered
to by ZPP(p), and add a missing `return` in case db_obj isn't initialized.
2016-07-27 16:41:03 +02:00
Ville Hukkamäki cce457c68c Fix bug #72667
Open data stream after receiving PASV reply, before sending the
main request.

Included test cases for opendir() with ftp:// and ftps:// wrappers.
Test cases re-use ext/ftp/tests/server.inc

Conflicts:
	ext/standard/ftp_fopen_wrapper.c
2016-07-27 15:55:47 +02:00
Pierrick Charron 074b86d845 Fixed bug #72686 (zlib: url support is broken).
zlib: support is broken since a really long time.
It never worked on versions >= PHP5.6 so we can just remove
this dead code.

Bug was introduced 2006-05-14 (Before 5.2.0)
2016-07-27 00:33:13 -04:00
Pierrick Charron 4c2e1a13be Fixed bug #72684 (AppendIterator segfault with closed generator) 2016-07-26 20:34:16 -04:00
Pierrick Charron 24d8f6ed7c Fixed bug #71709
When curl_setopt is called with an empty slist as value, we should
not add the empty slist to the list of slist to free.
2016-07-26 18:50:15 -04:00
Christoph M. Becker 64e3e932fc Further fixes wrt. bug #72668
Not only SQLite3::querySingle(), but also SQLite3::query() and
SQLite3Stmt::execute() were affected.
2016-07-25 17:03:10 +02:00
Anatol Belski 0c34d515f1 update NEWS 2016-07-25 10:14:18 +02:00
y-uti 3f842655db Make phpize use PHP_PREFIX as the default location (windows)
The default path to where an extension is installed should be
PHP_PREFIX/ext on windows.
2016-07-25 10:01:34 +02:00
y-uti 72ac8cf5ad Enable 'nmake test' on building extensions
On Windows, Makefile generated by phpize doesn't have the 'test'
target rule. This commit fixes that and enables 'nmake test' on
Windows.
2016-07-25 09:55:07 +02:00
Christoph M. Becker 305bddb0ed Fix broken test case
d28f1da introduced a test regression, due to potentially additional output
regarding FreeType support. We fix that by making the test more resilient.
2016-07-25 02:00:37 +02:00
Christoph M. Becker d28f1dae9d Fix broken test case
The test claims that it would be "checking all the values in returned array",
but due to the use of %a it actually skipped elements. We fix that by using
%s instead.
2016-07-25 00:13:44 +02:00
Anatol Belski 9cd23ff84f regenerate date parser with re2c 0.15.3 2016-07-24 14:50:10 +02:00
Nikita Popov 04b42b1e05 More tolerance in another IntlCalendar test
Again, off-by-1000 is expected if we're late in the second. Add an
extra 1000 to account for actual delta in call times.
2016-07-24 00:15:14 +02:00
Anatol Belski 80fee637f4 fix test 2016-07-23 20:55:39 +02:00
Christoph M. Becker 88838dd282 Fix #68712: suspicious if-else statements 2016-07-23 19:29:43 +02:00
Christoph M. Becker 9fbd0c1ff1 Fix copy&paste errors in gd_interpolation.c
According to <https://github.com/libgd/libgd/commit/f101380>.
2016-07-23 18:09:18 +02:00
Christoph M. Becker 2c16b9cf62 Fix #66555: Always false condition in ext/gd/libgd/gdkanji.c
This issue has already been fixed in libgd[1], so we fix PHP's bundled
libgd accordingly.

[1] <https://github.com/libgd/libgd/commit/aa1d71c>
2016-07-23 16:48:07 +02:00
vhuk 65abdb556d Fix for bug #54431 2016-07-23 13:28:42 +02:00
Nikita Popov 4fc1bfa93b Make IntlCalendar::getNow() test more tolerant
Due to the *1000 factor the two values may be off-by-1000 even
without any actual delay, so increase the check to 2000.
2016-07-22 17:20:56 +02:00
Christoph M. Becker 6b116932b2 Fix #72646: SplFileObject::getCsvControl does not return the escape character
This has obviously been missed when adding the $escape parameter to
SplFileObject::setCsvControl() in PHP 5.3, so we catch up on this.
2016-07-22 15:24:50 +02:00
Remi Collet fb4a6dc0f1 FPM: add test for CVE-2016-5385 2016-07-22 09:35:09 +02:00
Christoph M. Becker f2c2a4be9e Fix #72330: CSV fields incorrectly split if escape char followed by UTF chars
We must not forget to properly reset the state for multibyte characters
following an escape character.
2016-07-21 18:37:24 +02:00
Pieter Hordijk f813f43855 Removed incorrect (leftover?) sentence in ini
about mbstring or iconv output handler
2016-07-21 16:49:14 +02:00
Anatol Belski 8b191921c3 update libs_versions.txt 2016-07-21 01:52:03 +02:00
Ferenc Kovacs c9f21e8319 update NEWs 2016-07-21 00:36:07 +02:00
Anatol Belski b57a38f584 regenerate date parser with re2c 0.13.5 to fix OSX issues 2016-07-20 17:57:39 +02:00
Xinchen Hui 9ebc96116b Fixed arginfo 2016-07-20 18:07:02 +08:00
Derick Rethans 18ba78e988 Regenerate with the -b flag, as we used to do.
Apparently, Apple's LLVM can't handle it otherwise o_O.
2016-07-20 10:19:53 +01:00
Stanislav Malyshev 17a53f9e60 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Improve fix for #72520
2016-07-19 22:37:44 -07:00
Stanislav Malyshev 8ebdb1f5fd Improve fix for #72520 2016-07-19 22:37:03 -07:00
Pierre Joye e8b768dd92 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2016-07-20 00:18:56 +07:00
Pierre Joye 9cc0a5a9a9 #72482, revert for 5.6 for now 2016-07-20 00:18:25 +07:00
Christoph M. Becker 206d45bc17 Update NEWS 2016-07-19 17:58:29 +02:00
Christoph M. Becker 828f911efd Fix #43828: broken transparency of imagearc for truecolor in blendingmode
No pixel of a filled arc must ever be drawn multiple times. Otherwise we get
artifacts regarding transparency. That happens with the current
implementation of gdImageFilledArc() unless gdChord or gdNoFill are set.
When gdPie is set, however, the filled arc is drawn in wedges, which are
polygons of three points, and so some overlap is natural.

To resolve the issue, we stick with the current algorithm of calculating the
wedges, but instead of drawing each polygon separately, we put the relevant
points in a large array, and draw a single polygon. That also is supposed to
improve the performance considerably.

Note that this modification will change the results when gdImageSetStyle()
or gdImageSetBrush() are used, but we believe that this modification is also
an improvement in this regard, even though it still might not make much
sense to use these functions with gdImageFilledArc().

The respective fix for libgd is
<https://github.com/libgd/libgd/commit/e7e20d6>.
2016-07-19 17:38:26 +02:00
Anatol Belski bd1919504b fix test portability and expectation
The test images for #72603 and #72618 are broken, that seems to be
the cause of different test output. Seems also to be platform dependent,
so it's not reliable to depend on the exact error output.
2016-07-19 14:49:24 +02:00
Pierre Joye b25009fc2c #72482, Ilegal write/read access caused by gdImageAALine overflow 2016-07-19 19:34:07 +07:00
Pierre Joye 1d69028d2f fix #72494, improve input color check and prevent issues when old gd are used, done before gd call 2016-07-19 18:23:51 +07:00
Pierre Joye 834f7a39be Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2016-07-19 16:34:55 +07:00
Pierre Joye 48e76abadd improve fix #72558, free contribRow as well 2016-07-19 16:33:17 +07:00
Stanislav Malyshev 894df05fe8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  improve fix #72558, while (u>=0) with unsigned int will always be true
2016-07-19 01:56:49 -07:00
Pierre Joye 7521149193 improve fix #72558, while (u>=0) with unsigned int will always be true 2016-07-19 01:56:35 -07:00
Pierre Joye df09515089 improve fix #72558, while (u>=0) with unsigned int will always be true 2016-07-19 15:51:43 +07:00
Stanislav Malyshev f69362d212 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix memory leak
2016-07-19 01:47:40 -07:00
Stanislav Malyshev 47d6ea6332 Fix memory leak 2016-07-19 01:47:27 -07:00
Stanislav Malyshev 4d0565b5ba Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix #72519, possible OOB using imagegif
  fix #72512, invalid read or write for palette image when invalid transparent index is used
  Apparently some envs miss SIZE_MAX
  Fix tests
  Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment
  Partial fix for bug #72613 - do not treat negative returns from bz2 as size_t
  Fix bug #72606: heap-buffer-overflow (write) simplestring_addn simplestring.c
  Fix for bug #72558, Integer overflow error within _gdContributionsAlloc()
  Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE
  Fix bug #72562 - destroy var_hash properly
  Fix bug #72533 (locale_accept_from_http out-of-bounds access)
  Fix fir bug #72520
  Fix for bug #72513
  CS fix and comments with bug ID
  Fix for HTTP_PROXY issue.
  add tests for bug #72512
  Fixed bug #72512 gdImageTrueColorToPaletteBody allows arbitrary write/read access
  Fixed bug #72479 - same as #72434

Conflicts:
	ext/bz2/bz2.c
	main/SAPI.c
	main/php_variables.c
2016-07-19 00:53:08 -07:00
Stanislav Malyshev 1a88692692 Merge branch 'PHP-5.6.24' into PHP-5.6
* PHP-5.6.24:
  Fix for bug #72513
  5.6.24RC1

Conflicts:
	configure.in
	main/php_version.h
2016-07-19 00:51:27 -07:00
Stanislav Malyshev f0a17b3a86 Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
* 'PHP-5.5' of git.php.net:php-src:
  fix #72519, possible OOB using imagegif
2016-07-19 00:44:08 -07:00
Anatol Belski 9bb5f64871 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix #72519, possible OOB using imagegif
2016-07-19 09:40:26 +02:00
Pierre Joye 8dc5ffa479 fix #72519, possible OOB using imagegif 2016-07-19 00:37:53 -07:00
Pierre Joye 928aecc002 fix #72512, invalid read or write for palette image when invalid transparent index is used
Conflicts:
	ext/gd/libgd/gd.c
2016-07-19 00:37:38 -07:00
Pierre Joye 7b1572b177 fix #72519, possible OOB using imagegif
fix #72519, possible OOB using imagegif
2016-07-19 09:33:34 +02:00
Pierre Joye b61bd1243a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix #72519, possible OOB using imagegif
2016-07-19 14:16:01 +07:00
Stanislav Malyshev 33c1a55b40 Apparently some envs miss SIZE_MAX 2016-07-19 00:13:25 -07:00
Pierre Joye 2fbce5f51f fix #72519, possible OOB using imagegif 2016-07-19 14:11:44 +07:00
Pierre Joye 511f07b747 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix #72512, invalid read or write for palette image when invalid transparent index is used
2016-07-19 13:39:46 +07:00
Pierre Joye 0fbcff1b35 fix #72512, invalid read or write for palette image when invalid transparent index is used 2016-07-19 13:37:23 +07:00
Stanislav Malyshev 08ac37bd2a Merge branch 'PHP-5.5.38' into PHP-5.5
* PHP-5.5.38:
  Fix tests
  Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment
  Partial fix for bug #72613 - do not treat negative returns from bz2 as size_t
  Fix bug #72606: heap-buffer-overflow (write) simplestring_addn simplestring.c
  Fix for bug #72558, Integer overflow error within _gdContributionsAlloc()
  Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE
  Fix bug #72562 - destroy var_hash properly
  Fix bug #72533 (locale_accept_from_http out-of-bounds access)
  Fix fir bug #72520
  Fix for bug #72513
  CS fix and comments with bug ID
  Fix for HTTP_PROXY issue.
  add tests for bug #72512
  Fixed bug #72512 gdImageTrueColorToPaletteBody allows arbitrary write/read access
  Fixed bug #72479 - same as #72434
2016-07-18 23:32:38 -07:00
Stanislav Malyshev 1364742be9 Fix tests 2016-07-18 23:30:51 -07:00
Stanislav Malyshev 41131cd41d Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment 2016-07-18 23:21:51 -07:00
Stanislav Malyshev f3feddb5b4 Partial fix for bug #72613 - do not treat negative returns from bz2 as size_t 2016-07-18 22:24:52 -07:00
Stanislav Malyshev e6c48213c2 Fix bug #72606: heap-buffer-overflow (write) simplestring_addn simplestring.c 2016-07-18 21:44:39 -07:00
Christoph M. Becker 3c3980caa1 Merge branch 'pull-request/1991' into PHP-5.6 2016-07-19 00:42:49 +02:00
Christoph M. Becker 6cb75fb1e8 Fix #70315: 500 Server Error but page is fully rendered
That happens because the external libgd uses other error codes than PHP
(and the bundled libgd), but the libgd error codes are simply forwarded
to php_verror(). We fix that by properly mapping libgd errors to PHP errors.
2016-07-19 00:18:07 +02:00
Stanislav Malyshev d1a491acf3 Fix for bug #72558, Integer overflow error within _gdContributionsAlloc() 2016-07-18 00:17:48 -07:00
Stanislav Malyshev eebcbd5de3 Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE 2016-07-17 16:34:21 -07:00
Nikita Popov 171c759d79 Revert "Fixed bug #72286 (Segmentation fault During Garbage Collection)"
This reverts commit 1c84b55ade.
2016-07-16 23:02:23 +02:00
Christoph M. Becker 3666cfab97 Fix #72604: imagearc() ignores thickness for full arcs
We remove the special casing for full arcs, what conforms to external libgd.
2016-07-15 19:45:52 +02:00
Christoph M. Becker a4aa4f9772 Fix bug #66502: DOM document dangling reference
When we decrement the refcount of a node's document, we state that we
won't need it anymore. Therefore we can *always* set the pointer to the
document to NULL, what avoids invalid memory accesses for some edge cases
as demonstrated with the PHPT.

Original patch provided by Sean Heelan.
2016-07-15 01:08:08 +02:00
Dmitry Stogov 1c84b55ade Fixed bug #72286 (Segmentation fault During Garbage Collection) 2016-07-14 22:37:25 +03:00
Anatol Belski d0c98366d0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Extend libxml exports
  Updated NEWS
  Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns
  Updated NEWS
  Fix bug #70480 (php_url_parse_ex() buffer overflow read)
  Update PHP 5.5 NEWS entries with CVE info
2016-07-14 21:13:49 +02:00
Anatol Belski fe1d6feb3d Extend libxml exports
These are needed to support libxslt 1.1.29 on Windows. This libxslt version
fixes CVE-2015-7995 and for this reason needs to be used.
2016-07-14 21:08:54 +02:00
Christoph M. Becker 8bb3bd04a9 Fix bug #72596: imagetypes function won't advertise WEBP support
We add the constant IMG_WEBP and make sure that WebP support is properly
reported by imagetypes().
2016-07-14 17:17:59 +02:00
Nikita Popov 3cc4265527 Add NEWS entry 2016-07-13 21:57:01 +02:00
nikita2206 eb190b4e91 fix: bug72222 for PHP-5.6 reflection export of array consts 2016-07-13 21:39:55 +02:00
Stanislav Malyshev 3798eb6fd5 Fix bug #72562 - destroy var_hash properly 2016-07-12 23:27:45 -07:00
Stanislav Malyshev aa82e99ed8 Fix bug #72533 (locale_accept_from_http out-of-bounds access) 2016-07-12 22:37:36 -07:00
Stanislav Malyshev 81406c0c1d Fix fir bug #72520 2016-07-12 22:05:00 -07:00
Stanislav Malyshev 0218acb7e7 Fix for bug #72513 2016-07-12 22:03:09 -07:00
Stanislav Malyshev a099545bec Fix for bug #72513 2016-07-12 21:52:27 -07:00
Stanislav Malyshev aca4f65c7e CS fix and comments with bug ID 2016-07-12 21:35:02 -07:00
Julien Pauli 1896ca4e88 Updated NEWS 2016-07-12 15:47:05 +02:00
Julien Pauli 822498128b Revert "Fixes #52384: Adds parameter value to dumped output. Also adds output flag indicating presence of PDO::PARAM_INPUT_OUTPUT."
This reverts commit 15336b44d9.
2016-07-12 15:46:07 +02:00
Julien Pauli 5cce0d7c7c Revert "Fix test for #52384"
This reverts commit 642e44b98f.
2016-07-12 15:45:49 +02:00
Julien Pauli 642e44b98f Fix test for #52384 2016-07-12 15:27:37 +02:00
Christoph M. Becker 76e249d31c Partially fix #72506: idn_to_ascii for UTS #46 incorrect for long domain names
We don't actually fix this issue wrt. the empty $info array, because it is
not clear what this array should contain and we're concerned about the
potential BC break, but at least we fix the inconsistent handling of
resulting domains with 255 bytes (which raise an error), and longer domains
(which just return FALSE), what has to be considered a very minor BC break
if at all.
2016-07-12 14:47:14 +02:00
Julien Pauli 17d4f5c2f8 Updated NEWS 2016-07-12 10:49:04 +02:00
Bishop Bettini 15336b44d9 Fixes #52384: Adds parameter value to dumped output. Also adds output flag indicating presence of PDO::PARAM_INPUT_OUTPUT. 2016-07-12 10:47:07 +02:00
Julien Pauli 403f23b460 Updated NEWS 2016-07-12 10:37:59 +02:00
gooh fb49f137ec Fix #72575: using --allow-to-run-as-root should ignore missing user
directive

Trying to start PHP-FPM with the --allow-to-run-as-root flag will not
work when the user directive is not given in the FPM worker pool
configuration. Parsing the config will fail. Consequently, FPM cannot
start.

The check is in place to prevent FPM from getting started with root
privileges by accident. Prior to #61295 the check would also prevent
any non-root user to start PHP-FPM without a user directive present.

This patch adds an additional check to the config parser, checking for
the --allow-to-run-as-root flag to be present. If so, parsing will no
longer abort for root users even if the user directive is missing.

I will also update the PHP docs since they still state the user
directive is a mandatory setting which it is not since #61295.
2016-07-12 10:36:17 +02:00
Julien Pauli d2d17e14ee Updated NEWS 2016-07-12 10:19:45 +02:00
Loz Calver f5ccd71d0c Fix 72122 - don't use EH_THROW for calls to getIterator 2016-07-12 10:10:35 +02:00
Xinchen Hui 7903276f4c backport to 5.6 (we should not unset the default value) 2016-07-12 12:14:45 +08:00
Christoph M. Becker 966311e627 Bug #66836 has been fixed 2016-07-11 16:06:35 +02:00
Julien Pauli 2552cf248d Remove needless zeroing of anonymously mmap'd memory 2016-07-11 14:58:12 +02:00
Michael McConville 9dd5d96332 Remove needless zeroing of anonymously mmap'd memory
All existing systems zero anonymously mmapped memory, and if I
understand correctly POSIX will be specifying this soon. Many projects
already rely on it, so no reasonable system would return memory of
unspecified value.
2016-07-11 14:56:17 +02:00
Derick Rethans 6a5e1783b7 Generate new .c file from .re file, as that was missing on my previous commit 2016-07-11 11:31:43 +01:00
Stanislav Malyshev 98b9dfaec9 Fix for HTTP_PROXY issue.
The following changes are made:
- _SERVER/_ENV only has HTTP_PROXY if the local environment has it,
  and only one from the environment.
- getenv('HTTP_PROXY') only returns one from the local environment
- getenv has optional second parameter, telling it to only consider
  local environment
2016-07-10 16:21:11 -07:00
Matteo Beccati 219ebcb689 Fixed bug #70313 PDO statement fails to throw exception 2016-07-10 14:33:56 +02:00
Julien Pauli 51d19891a4 Updated NEWS 2016-07-08 16:31:42 +02:00
Jos Elstgeest 6fc7817558 update filter_var filters for ipv4 addresses to reflect rfc6890 2016-07-08 16:30:06 +02:00
Julien Pauli bdf1b22da5 Updated NEWS 2016-07-08 15:36:38 +02:00
Christoph M. Becker 82637e8187 Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns
The SQL Server Native Client 11.0 and maybe other ODBC drivers report
NVARCHAR(MAX) columns as SQL_WVARCHAR with size 0. This causes too small a
buffer to be emalloc'd, likely causing a segfault in the following. As we don't
know the real size of the column data, we treat such colums as
SQL_WLONGVARCHAR.

The related bug #67437 suggests that some drivers report a size of ~4GB. It is
not certain that this is really the case (there might be some integer overflow
involved, and anyway, there has been no feedback), so we do not cater for this
now. However, it would not be hard to treat all sizes above a certain threshold
in a similar way, i.e. as SQL_WLONGVARCHAR.

(cherry picked from commit 16db4d1462)
(cherry picked from commit 344ff5dd4c)
2016-07-08 15:33:46 +02:00
Julien Pauli 1071a2655f Updated NEWS 2016-07-08 15:04:13 +02:00
Julien Pauli 78d5783b62 Backported bug #71144 (Segmentation fault when using cURL with ZTS) 2016-07-08 14:58:56 +02:00
Michael Maroszek 0be13d2dc2 fix bug #72024 (microtime() leaks memory) 2016-07-08 14:36:44 +02:00
Julien Pauli 51b584b159 Updated NEWS 2016-07-08 14:35:43 +02:00
Julien Pauli 7377f45b61 Merge branch 'pull-request/1982' into PHP-5.5
* pull-request/1982:
  Update PHP 5.5 NEWS entries with CVE info
2016-07-08 14:24:05 +02:00
Remi Collet bfc42211d3 add test for bug #72564 (7.x regression) 2016-07-08 10:45:13 +02:00
Christopher Jones 8b905e337c Mask DB usernames from expected test output for test portability 2016-07-07 11:52:17 +10:00
Ferenc Kovacs 2b7cd813e7 merge NEWS blocks 2016-07-07 01:46:02 +02:00
Ferenc Kovacs 0ca1698cf9 5.6.24RC1 2016-07-07 01:43:25 +02:00
Ferenc Kovacs c1280db28a 5.6.25 is next 2016-07-07 00:09:48 +02:00
Derick Rethans 884db2f7be Updated to version 2016.6 (2016f) 2016-07-06 11:15:42 +01:00
Anatol Belski b63d41e1e5 add tests for bug #72512 2016-07-06 10:40:52 +02:00
Valentin VALCIU 4c24f170ea Fix bug #55701: GlobIterator throws LogicException
GlobIterator throws LogicException with message 'The parent constructor was
not called' on its first operation when the glob expression doesn't match
any file. It also throws on the first operation after the iteration
completes, when the glob expression matches some files.

# Resolved conflicts:
#	ext/spl/spl_directory.c
2016-07-05 16:39:25 +02:00
Pedro Magalhães 08777e9615 Don't enforce LSP if prototype method is private
Fixes bug #72496.
2016-07-05 14:30:22 +02:00
Stanislav Malyshev e1ba58f068 Fix bug #70480 (php_url_parse_ex() buffer overflow read)
(cherry picked from commit 629e4da7cc)
2016-07-05 10:59:02 +02:00
Lior Kaplan ac56700125 Update PHP 5.5 NEWS entries with CVE info 2016-07-04 16:31:39 +02:00
Pierre Joye 7b2c22696a Fixed bug #72512 gdImageTrueColorToPaletteBody allows arbitrary write/read access 2016-07-04 10:35:20 +02:00
Christoph M. Becker 717a043a32 Fix typo in comment 2016-07-04 03:17:17 +02:00
Ferenc Kovacs 9a9ede00bc this was actually fixed in 5.6.23 2016-07-03 23:31:32 +02:00
Stanislav Malyshev b8487b6a7d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix the fix for #72403 on nl2br
  5.5.38 now

Conflicts:
	configure.in
	main/php_version.h
2016-06-27 12:32:11 -07:00
Stanislav Malyshev 25bd11cf27 Fix the fix for #72403 on nl2br 2016-06-27 12:30:42 -07:00
Christoph M. Becker 1314db7109 Update NEWS 2016-06-27 17:07:26 +02:00
Christoph M. Becker 57940605da Fix #70628: Clearing bindings on an SQLite3 statement doesn't work
Obiously, it isn't sufficient to call sqlite3_clear_bindings() alone, but
also the bound_params of the php_sqlite3_stmt have to be cleared.
2016-06-27 17:06:27 +02:00
Stanislav Malyshev cab1c3b370 Fixed bug #72479 - same as #72434 2016-06-26 18:02:58 -07:00
Lior Kaplan b4873e57b4 Add CVE info for PHP 5.6.22 2016-06-25 20:31:26 +03:00
Lior Kaplan 6bd527771c Add CVE info for PHP 5.6.23 2016-06-25 20:28:51 +03:00
Lior Kaplan 02c24be8e4 Add missing entries for PHP 5.6.23 2016-06-25 19:56:00 +03:00
Anatol Belski 4638ba9c07 fix test cleanup 2016-06-22 12:20:02 +02:00
Anatol Belski de1c407348 fix dir separator in test 2016-06-22 11:41:05 +02:00
Ferenc Kovacs ba980d0a62 update NEWS 2016-06-22 03:03:01 +02:00
Anatol Belski e3bd360ec9 fix test
There is a difference between TS and NTS warning message, since
virtual_mkdir vs glibc directly is used. This has no effect for
the actual fix functionality.
2016-06-21 16:20:03 +02:00
Anatol Belski a00350486f re-fix leak 2016-06-21 15:18:10 +02:00
Anatol Belski e6cc30e167 Revert "fix leak"
This reverts commit c5d9c50897.
2016-06-21 14:51:43 +02:00
Julien Pauli 155619184f 5.5.38 now 2016-06-21 13:10:37 +02:00
Anatol Belski c5d9c50897 fix leak 2016-06-21 12:29:41 +02:00
Anatol Belski 6d7500c14c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  remove the huge test file, generate it on the fly instead
2016-06-21 09:53:04 +02:00
Anatol Belski fd93c8601d remove the huge test file, generate it on the fly instead 2016-06-21 09:45:26 +02:00
Anatol Belski 0c7250f260 remove the huge test file, generate it on the fly instead 2016-06-21 09:42:38 +02:00
Stanislav Malyshev 5b90a8bd7c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Now the right bug #
  Fix NEWS
2016-06-21 00:27:46 -07:00
Stanislav Malyshev fc0b0afdc3 Now the right bug # 2016-06-21 00:18:27 -07:00
Stanislav Malyshev 2af6dded37 Fix NEWS 2016-06-21 00:14:56 -07:00
Stanislav Malyshev c9b24ef307 Merge branch 'PHP-5.6.23' into PHP-5.6
* PHP-5.6.23:
  Fixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow
  update NEWS
  fix tests
  fix build
  Fix bug #72455:  Heap Overflow due to integer overflows
  Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize
  Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize
  Fix bug #72407: NULL Pointer Dereference at _gdScaleVert
  Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free
  Fix bug #72298	pass2_no_dither out-of-bounds access
  Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
  Fix bug #72262 - do not overflow int
  Fix bug #72400 and #72403 - prevent signed int overflows for string lengths
  Fix bug #72275: don't allow smart_str to overflow int
  Fix bug #72340: Double Free Courruption in wddx_deserialize
  Fix bug #72321 - use efree() for emalloc allocation
  5.6.23RC1

Conflicts:
	configure.in
	main/php_version.h
2016-06-21 00:02:37 -07:00
Stanislav Malyshev 7dde353ee7 Merge branch 'PHP-5.5' into PHP-5.6.23
* PHP-5.5:
  Fixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow
  update NEWS
  fix tests
  fix build
  Fix bug #72455:  Heap Overflow due to integer overflows
  Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize
  Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize
  Fix bug #72407: NULL Pointer Dereference at _gdScaleVert
  Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free
  Fix bug #72298	pass2_no_dither out-of-bounds access
  Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
  Fix bug #72262 - do not overflow int
  Fix bug #72400 and #72403 - prevent signed int overflows for string lengths
  Fix bug #72275: don't allow smart_str to overflow int
  Fix bug #72340: Double Free Courruption in wddx_deserialize
  update NEWS
  Fix #66387: Stack overflow with imagefilltoborder
  Skip test which is 64bits only
  5.5.37 now

Conflicts:
	configure.in
	ext/mcrypt/mcrypt.c
	ext/spl/spl_directory.c
	main/php_version.h
2016-06-21 00:01:48 -07:00
Stanislav Malyshev c395c6e5d7 iFixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow 2016-06-20 23:58:26 -07:00
Stanislav Malyshev b028cacf31 update NEWS 2016-06-20 23:45:37 -07:00
Stanislav Malyshev e1d2f86a41 Merge branch 'PHP-5.5.37' into PHP-5.5
* PHP-5.5.37:
  fix tests
  fix build
  Fix bug #72455:  Heap Overflow due to integer overflows
  Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize
  Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize
  Fix bug #72407: NULL Pointer Dereference at _gdScaleVert
  Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free
  Fix bug #72298	pass2_no_dither out-of-bounds access
  Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
  Fix bug #72262 - do not overflow int
  Fix bug #72400 and #72403 - prevent signed int overflows for string lengths
  Fix bug #72275: don't allow smart_str to overflow int
  Fix bug #72340: Double Free Courruption in wddx_deserialize
2016-06-20 23:31:54 -07:00
Stanislav Malyshev 5f107ab8a6 fix tests 2016-06-20 22:54:55 -07:00
Stanislav Malyshev 7f428cae88 fix build 2016-06-20 22:13:31 -07:00
Stanislav Malyshev 6c5211a0ce Fix bug #72455: Heap Overflow due to integer overflows 2016-06-20 21:51:42 -07:00
Stanislav Malyshev f6aef68089 Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize 2016-06-20 21:35:22 -07:00
Stanislav Malyshev 3f627e580a Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize 2016-06-20 21:26:33 -07:00
Remi Collet 1b4570b79f Fix bug #71936 (Segmentation fault destroying HTTP_RAW_POST_DATA) 2016-06-20 18:43:07 +02:00
Christoph M. Becker b3f3cd5903 Update NEWS 2016-06-20 15:18:47 +02:00
Christoph M. Becker 4b4275059f Fix #64641: imagefilledpolygon doesn't draw horizontal line
As has been reported, 1-dimensional horizontal filled polygons are not drawn
at all. That is caused by the scanline algorithm used for drawing filled
polygons which skips the drawing of horizontal edges, because that is
normally not necessary. If, however, the polygon consists of horizontal
edges only, that obviously doesn't work, so we add a special case handling.

That has also been fixed in libgd with
<https://github.com/libgd/libgd/commit/f9f10fa9>.
2016-06-20 15:17:52 +02:00
Stanislav Malyshev 58797ab895 Update NEWS 2016-06-18 22:13:04 -07:00
Stanislav Malyshev 42b2d7fec5 Fix bug #72447: Type Confusion in php_bz2_filter_create() 2016-06-18 22:10:22 -07:00
Stanislav Malyshev b9ec171e7d Fix bug #72407: NULL Pointer Dereference at _gdScaleVert 2016-06-18 21:57:25 -07:00
Stanislav Malyshev 5b597a2e5b Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free 2016-06-18 21:48:39 -07:00
Xinchen Hui c4c1993af6 Fixed bug #72439 (Stream socket with remote address leads to a segmentation fault) 2016-06-18 21:29:47 -07:00
Stanislav Malyshev e9ac8954be Fix bug #72298 pass2_no_dither out-of-bounds access 2016-06-18 21:06:09 -07:00
Pierre Joye 7722455726 Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow 2016-06-18 20:15:10 +02:00
Christoph M. Becker ed0ec66996 Fix #53640: XBM images require width to be multiple of 8 2016-06-17 17:50:36 +02:00
Jakub Zelenka 0c34f53c93 Fix incorrect error suppressing in openssl_error_string test 2016-06-16 20:11:02 +01:00
Jakub Zelenka 84948e6382 Fix occasionally failing OpenSSL DH bug test
The test was failing when first byte was 0
2016-06-16 20:09:17 +01:00
Christoph M. Becker 5f4113edb3 Update NEWS 2016-06-16 14:26:45 +02:00
Christoph M. Becker 8aa511f1fc Fix #43475: Styled thick horizontal lines are scrambled
Thick lines are drawn by gdImageFilledRectangle(), which iterates over
the x ordinate first (Z order) to apply the style pattern. While this works
fine for vertical and diagonal lines, it obviously fails for horizontal
lines, which have to be iterated over in N order.

To fix this bug, we introduce the helpers  gdImageFilled(H|V)Rectangle(),
which may be reused for other purposes as well.

This is basically the same fix as libgd/libgd/c2b91dbc.
2016-06-16 13:59:00 +02:00
Stanislav Malyshev 7245bff300 Fix bug #72262 - do not overflow int 2016-06-15 21:58:26 -07:00
Stanislav Malyshev 88746d60ab Fix bug #72400 and #72403 - prevent signed int overflows for string lengths 2016-06-15 21:51:28 -07:00
Derick Rethans 8267a5fba7 Fixed expected test outcome due to rule changes 2016-06-15 18:31:41 +01:00
Derick Rethans fffa1aa0f3 Updated to version 2016.5 (2016e) 2016-06-15 11:58:47 +01:00
Nikita Popov 248fdfcf73 Maybe fix bug #72011 2016-06-14 22:37:27 +02:00
Bartosz Dziewoński 1ab5a1b432 Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream
When the location of the data is outside of the range we have
preloaded (for example, if it's before the beginning of the IFD
structure), we have to read it from the stream into a separate buffer.
The offset calculations in this case were incorrect, resulting in
bogus values being read for the affected fields (sometimes parts of
other fields, sometimes binary data).

The included test image, sourced from [1], is in the public domain.

[1] https://commons.wikimedia.org/wiki/File:U.S._Marines_Prepare_to_board_an_MV-22_Osprey_160509-M-AF202-041.jpg
2016-06-14 10:48:08 -07:00
Stanislav Malyshev 4c968c6ddd Fix bug #72138 - Integer Overflow in Length of String-typed ZVAL 2016-06-14 01:03:03 -07:00
Stanislav Malyshev 489fd56fe3 Fix bug #72275: don't allow smart_str to overflow int 2016-06-14 00:02:17 -07:00
Stanislav Malyshev a44c89e8af Fix bug #72340: Double Free Courruption in wddx_deserialize 2016-06-12 23:18:23 -07:00
Anatol Belski 93e8f59aab Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  Fix #66387: Stack overflow with imagefilltoborder
  Skip test which is 64bits only
  5.5.37 now
2016-06-13 08:15:31 +02:00
Anatol Belski 6f73079ce1 update NEWS 2016-06-13 08:12:22 +02:00
Christoph M. Becker f96ebb0986 Fix #66387: Stack overflow with imagefilltoborder
The stack overflow is caused by the recursive algorithm in combination with a
very large negative coordinate passed to gdImageFillToBorder(). As there is
already a clipping for large positive coordinates to the width and height of
the image, it seems to be consequent to clip to zero also.
2016-06-13 08:10:36 +02:00
Stanislav Malyshev d144590d38 Fix bug #72321 - use efree() for emalloc allocation 2016-06-12 21:35:13 -07:00
Jakub Zelenka 0e2447cd11 Fix bug #71915 (openssl_random_pseudo_bytes is not fork-safe)
Add time to the entropy before using RAND_bytes
2016-06-12 18:14:21 +01:00
Jakub Zelenka 54310d95f9 Fix bug #72336 (openssl_pkey_new does not fail for invalid DSA params) 2016-06-12 18:14:21 +01:00
Jakub Zelenka 4056edd20d Update openssl_error_string to run and be more forgiving 2016-06-12 18:14:21 +01:00
Christoph M. Becker 1f7cc24df7 Merge branch 'pull-request/1930' into PHP-5.6 2016-06-09 15:28:58 +02:00
Ferenc Kovacs 0307315769 5.6.23RC1 2016-06-09 10:54:35 +02:00
Ferenc Kovacs c26097c2f1 5.6.24 will be next 2016-06-09 10:51:02 +02:00
Jakub Zelenka 05033c9ebd Fix bug #72140 (segfault after calling ERR_free_strings()) 2016-06-08 18:21:39 +01:00
Pierre Joye 6d3fa654b7 prevent invalid color index (palette only), may lead to crash 2016-06-08 11:06:48 +07:00
Lior Kaplan 62f9d1e3ae Add CVE to #66387 2016-06-07 21:45:24 +03:00
Anatol Belski 1d0f128351 add missing NEWS entry 2016-06-07 18:41:17 +02:00
Pierre Joye f80125950c #72337 invalid dimensions can lead to segv 2016-06-07 17:16:40 +07:00
Anatol Belski 2a0ed8a2eb Add test for bug #53735 2016-06-06 21:06:06 +02:00
Anatol Belski eaef8f6db2 fix typo 2016-06-06 08:56:40 +02:00
Anatol Belski 1b2afd478b fix broken skipif and add xfail for now 2016-06-06 08:20:01 +02:00
Anatol Belski c05b417718 missing return 2016-06-06 07:28:12 +02:00
Jakub Zelenka d4615d1118 Add new test for openssl_pkey_new 2016-06-05 17:27:47 +01:00
Jakub Zelenka 497fe33d6f Add test for openssl_error_string
This test is important for making sure that the error strings
from OpenSSL works as expected and we can safely add a fix
for storing the strings that is prepared.
2016-06-05 17:23:05 +01:00
Jakub Zelenka 5e9f387175 Remove openssl_x509_parse for OpenSSL 0.9.x
The test is unstable and it actually fails with latest 0.9.8
2016-06-05 16:28:50 +01:00
Raphaël Tournoy 1dfdae6de4 fix typo 2016-06-03 17:18:14 +02:00
Anatol Belski 2004c25790 update NEWS 2016-06-02 12:18:33 +02:00
Anatol Belski 22336db97f Fixed bug #70484 selectordinal doesn't work with named parameters 2016-06-02 12:17:42 +02:00
Elizabeth Marie Smith 72c9324d70 Fix ODBC bug for varchars returning with length zero 2016-06-02 12:04:10 +02:00
Ferenc Kovacs 6e5958e37d update NEWS 2016-05-26 03:05:06 +02:00
Adam Harvey 54eb659032 Fix typo in phpdbg help.
Sorry, I would have included this in the last push had I spotted it a
minute earlier.
2016-05-25 12:47:35 -05:00
Adam Harvey e623e91e27 Add missing newlines to phpdbg's help for the run command.
This is not at all related to needing screenshots for a talk I'm giving
in two days. No sir. Not at all.
2016-05-25 12:38:41 -05:00
Remi Collet 4dd03651f3 Skip test which is 64bits only
Diff from test output
001+ Warning: fread(): Length parameter must be greater than 0 in ...
001- Warning: fread(): Length parameter must be no more than 2147483647 in ...
2016-05-25 16:40:52 +02:00
Remi Collet ce932f6479 Skip test which is 64bits only
Diff from test output
001+ Warning: fread(): Length parameter must be greater than 0 in ...
001- Warning: fread(): Length parameter must be no more than 2147483647 in ...
2016-05-25 16:17:12 +02:00
Julien Pauli 0c84740450 5.5.37 now 2016-05-25 11:37:58 +02:00
Anatol Belski 65a2c451bb fix test portability 2016-05-25 11:19:19 +02:00
Stanislav Malyshev 2464b092eb Merge branch 'PHP-5.6.22' into PHP-5.6
* PHP-5.6.22:
  Fix memory leak in imagescale()
  Update NEWS
  Better fix for bug #72135
  Fixed bug #72227: imagescale out-of-bounds read
  Fix bug #72241: get_icu_value_internal out-of-bounds read
  Fix bug #72135 - don't create strings with lengths outside int range
  prepare for 5.6.22RC1
  Add check for string overflow to all string add operations
  Fix bug #72114 - int/size_t confusion in fread
  Updated NEWS
  Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream()

Conflicts:
	configure.in
	main/php_version.h
2016-05-24 17:21:22 -07:00
Stanislav Malyshev 544940c48a Merge branch 'PHP-5.5' into PHP-5.6.22
* PHP-5.5:
  Fix memory leak in imagescale()
  Update NEWS
  Better fix for bug #72135
  Fixed bug #72227: imagescale out-of-bounds read
  Fix bug #72241: get_icu_value_internal out-of-bounds read
  Fix bug #72135 - don't create strings with lengths outside int range
  Add check for string overflow to all string add operations
  Fix bug #72114 - int/size_t confusion in fread
  Updated NEWS
  Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream()

Conflicts:
	Zend/zend_operators.c
	ext/phar/dirstream.c
	ext/phar/tests/bug71331.phpt
2016-05-24 16:56:36 -07:00
Stanislav Malyshev 9a826a3bd9 Fix memory leak in imagescale() 2016-05-24 16:12:01 -07:00
Stanislav Malyshev f423e1bb89 Update NEWS 2016-05-24 15:56:02 -07:00
Stanislav Malyshev e955913115 Better fix for bug #72135 2016-05-24 15:52:15 -07:00
Stanislav Malyshev 7a1aac3343 Fixed bug #72227: imagescale out-of-bounds read
Ported from https://github.com/libgd/libgd/commit/4f65a3e4eedaffa1efcf9ee1eb08f0b504fbc31a
2016-05-23 00:34:35 -07:00
Stanislav Malyshev 97eff7eb57 Fix bug #72241: get_icu_value_internal out-of-bounds read 2016-05-22 17:49:02 -07:00
Derick Rethans f43f6fc39b Fixed bug #63740 (strtotime seems to use both sunday and monday as start of week) 2016-05-18 12:19:11 +01:00
Stanislav Malyshev 0da8b8b801 Fix bug #72135 - don't create strings with lengths outside int range 2016-05-15 23:26:51 -07:00
Ferenc Kovacs fe6af26e2d prepare for 5.6.22RC1 2016-05-11 23:34:15 +02:00
Ferenc Kovacs 0815f7f755 prepare for 5.6.22RC1 2016-05-11 23:30:04 +02:00
Ferenc Kovacs 89e4862e5f add missing NEWS entry 2016-05-11 23:29:23 +02:00
Anatol Belski 6b63d80a7a fix handle leak 2016-05-10 19:59:48 +02:00
Dmitry Stogov 90f43caf5b The "flock" structure has to be writable on AIX. 2016-05-10 17:50:14 +03:00
Stanislav Malyshev 41fc3c76e9 Add check for string overflow to all string add operations 2016-05-09 22:17:20 -07:00
Stanislav Malyshev abd159cce4 Fix bug #72114 - int/size_t confusion in fread 2016-05-09 21:55:29 -07:00
Anatol Belski 0ea2bfb30e update NEWS 2016-05-09 18:50:40 +02:00
Anatol Belski 1cc536af5a Revert "Backport patch for bug #71820"
This reverts commit 1b632cfe83.

This fixed bug #72151, and reverts the fix for bug #71820.
See also bug #50636 and #49521 for the history.
2016-05-09 17:15:40 +02:00
Anatol Belski 41b159fd11 Fixed bug #64524 Add intl.use_exceptions to php.ini-* 2016-05-08 15:09:50 +02:00
Xinchen Hui 1c7f608071 Fixed bug #72172 (zend_hex_strtod should not use strlen) 2016-05-06 23:52:06 -07:00
Anatol Belski 5351151352 add test fo rbug 71805 2016-05-03 19:09:11 +02:00
Anatol Belski a387075954 upate libs versions 2016-05-03 18:24:35 +02:00
Julien Pauli 95ed19ae28 Updated NEWS 2016-05-02 16:52:58 +02:00
Julien Pauli a4abd2bed9 Backport of fixed for bug #71331 - Uninitialized pointer in phar_make_dirstream() 2016-05-02 16:49:47 +02:00
Anatol Belski 20359deae6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update PHP 5.5 NEWS entries with CVE info
  Added CVE
  Updated NEWS
2016-05-01 13:18:24 +02:00
Lior Kaplan 5c571626e3 Update PHP 5.5 NEWS entries with CVE info 2016-05-01 13:14:57 +02:00
Lior Kaplan 76a5117da7 Add CVE to bug #69719 (PHP 5.6.10) 2016-04-29 13:23:41 +03:00
Lior Kaplan eeea33db68 Add CVE IDs PHP 5.6.12 2016-04-29 13:21:35 +03:00
Lior Kaplan 26f8ee48d6 Add CVE IDs PHP 5.6.13 2016-04-29 13:19:46 +03:00
Lior Kaplan 91fd5406bc Add CVE IDs PHP 5.6.14 2016-04-29 13:17:34 +03:00
Lior Kaplan 34fc0ec377 Add CVE to bug #70976 (PHP 5.6.17) 2016-04-29 13:16:27 +03:00
Lior Kaplan a23ae0f436 Add CVE IDs PHP 5.6.18 2016-04-29 13:15:30 +03:00
Lior Kaplan b8b2dd1a43 Add CVE IDs PHP 5.6.20 2016-04-29 13:11:54 +03:00
Lior Kaplan a91c3f1dd0 Add CVE to bug #71912 (PHP 5.6.21) 2016-04-29 13:10:13 +03:00
Julien Pauli 6058b78878 Added CVE 2016-04-29 09:12:27 +02:00
Stanislav Malyshev 9649ca1630 Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream() 2016-04-28 20:57:44 +03:00
Lior Kaplan e70fe1c42e Add NEWS entry for bug #71331 (fixed in PHP 5.6.18) 2016-04-28 20:46:29 +03:00
Ferenc Kovacs 227e5d1153 small whitespace fix 2016-04-28 02:32:45 +02:00
Anatol Belski 0c529b3899 update NEWS 2016-04-27 14:50:46 +02:00
Anatol Belski a21a997478 fix/improve tests 2016-04-27 13:16:57 +02:00
Julien Pauli 008f983ba6 Updated NEWS 2016-04-27 11:55:05 +02:00
Stanislav Malyshev e315a162da Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix memory leak
  Fix bug #72099: xml_parse_into_struct segmentation fault
  5.5.36 now
  Fix bug #72094 - Out of bounds heap read access in exif header processing
  Fix bug #72093: bcpowmod accepts negative scale and corrupts _one_ definition
  Fix bug #72061 - Out-of-bounds reads in zif_grapheme_stripos with negative offset
  Fix for bug #71912 (libgd: signedness vulnerability)
  Typo in NEWS

Conflicts:
	configure.in
	main/php_version.h
2016-04-26 23:48:41 -07:00
Dmitry Stogov 9f389cccfd Fixed test on 32-bit platforms (split into 32-bit and 64-bit versions) 2016-04-26 13:43:18 +03:00
Adam Harvey c4f69b6dfd Fix ZTS builds by adding a missing TSRMLS_FETCH(). 2016-04-20 18:58:29 +02:00
Stanislav Malyshev c02301b666 Better fix for #71952 2016-04-19 23:44:00 -07:00
Stanislav Malyshev f061867fd3 Fix bug #71952: Corruption inside imageaffinematrixget 2016-04-18 23:33:21 -07:00
Dmitry Stogov ffc697ac27 Prevent usage in GC after free. 2016-04-19 01:31:49 +03:00
Ferenc Kovacs 3a16f511d9 mark frequent intermittent fpm test with XFAIL 2016-04-18 09:04:27 +02:00
Ferenc Kovacs 6497d40521 prepare for 5.6.21RC1 2016-04-18 08:14:16 +02:00
Lior Kaplan 5142bf27b2 Align NEWS entry format 2016-04-15 22:07:47 +03:00
Christopher Jones d1e81a59a7 Fix old comment cut-n-paste error 2016-04-14 15:08:42 +10:00
Christopher Jones 8f2e6da806 Fixed bug #71422 (Fix ORA-01438: value larger than specified precision allowed for this column) 2016-04-14 13:50:01 +10:00
Lior Kaplan c1f597d9a1 opcache config.m4: Use = for comparison 2016-04-08 22:38:07 +03:00
Anatol Belski 5ed05bc686 update NEWS 2016-04-05 11:52:53 +02:00
Thomas Punt 1aea777349 Use STR_EMPTY_ALLOC macro instead 2016-04-05 11:18:14 +02:00
Thomas Punt 40f14bad33 Fix DateInterval::format segfault 2016-04-05 11:18:14 +02:00
Matteo Beccati 30925cd498 Fixed bug #71447 (Quotes inside comments not properly handled) 2016-04-04 23:50:28 +02:00
Matteo Beccati 9a87108eca Fixed a few PDO tests to conform to PDO Common standards 2016-04-04 23:43:17 +02:00
Joe Watkins cd038cc5eb news entry #69537 2016-04-04 10:22:13 +01:00
Joe Watkins 14e4c610e9 Fix #69537: __debugInfo with empty string for key gives error 2016-04-03 12:40:29 +01:00
Mark Plomer f5f94d9c08 fix left-shifted/misaligned bounding-box + wrong kerning in imagettfbbox/imageftbbox
- load glyph with FT_LOAD_IGNORE_TRANSFORM for bbox as final bbox is rotated at once later (fixes "double-rotation" per glyph for calculating bbox)
- reload the rotated glyph for painting after that (only if angle != 0)
- rotate the original bbox at 0,0 and do not throw away xMin/yMin (drawing-rotation is also based at "origin" point - including the bearingX, see http://www.freetype.org/freetype2/docs/glyphs/glyphs-3.html#section-3) - this fixes the "left-shift"-problem also when angle = 0
- removed "xb/yb" and use "x/y" directly for offsetting brect (no need for adding "x1/y1" and substracting "yd" later)
- removed therefore unused "yd" helper var which seems tried to fix parts of the original problems
- initialize x/y with 0 instead of -1 in php_imagettftext_common() to make image*text() and image*bbox() results identical (there was a -1px shift in image*bbox() before)
- fixed gdroundupdown() for negative numbers (-256 / 64 gives -5 instead of -4 before)
- rotate kerning-delta by given angle (fixes completely wrong kerning and therefore wrong bounding box if angle != 0)
- changed 3 tests and added a new one to test for the new (better) coordinates
2016-04-03 12:11:26 +02:00
Paul Tarjan 9f25f736ed Dont ignore errors from FT_Get_Glyph 2016-04-03 12:11:25 +02:00
Anatol Belski a00c2b1bf5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix borked mainstream patch
  5.5.35 now
2016-03-31 01:36:47 +02:00
Anatol Belski ed707a5217 fix test to not to cause false positives 2016-03-31 01:29:05 +02:00
Lior Kaplan cef40c0c3f Align NEWS entry format 2016-03-31 00:52:53 +03:00
Ferenc Kovacs abd59c0e40 update NEWS 2016-03-30 22:28:28 +02:00
Anatol Belski 23d0065744 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix dir separator in test
2016-03-29 14:19:35 +02:00
Anatol Belski 5272184a1e Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36
2016-03-29 13:11:25 +02:00
Anatol Belski 84990ab346 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
2016-03-29 13:11:17 +02:00
Stanislav Malyshev cc7631dd08 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
2016-03-28 23:45:15 -07:00
Stanislav Malyshev a18b1f74fa Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
2016-03-28 23:30:14 -07:00
Stanislav Malyshev 62da5cdf3d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Fix bug #71798 - Integer Overflow in php_raw_url_encode
  Fix bug #71860: Require valid paths for phar filenames
  Going for 5.5.34

Conflicts:
	configure.in
	ext/phar/tests/create_path_error.phpt
	main/php_version.h
2016-03-28 23:21:15 -07:00
Nikita Popov 54da966883 Fixed bug #67512 2016-03-25 20:18:46 +01:00
Derick Rethans c4681ec8e1 Updated to version 2016.3 (2016c) 2016-03-24 11:09:05 +00:00
Julien Pauli abbe1551d6 Updated NEWS 2016-03-21 15:26:21 +01:00
Julien Pauli d3d64b7c62 Reworked Fix bug #52098 2016-03-21 15:23:18 +01:00
Daniel Persson e541cd8e6b Fix bug #52098 2016-03-21 15:04:11 +01:00
Xinchen Hui c9c8e70463 Update NEWS for efacdc3 2016-03-21 16:43:30 +08:00
Xinchen Hui 056459dc9d Merge branch 'PHP-5.6' of https://github.com/msierks/php-src into PHP-5.6
* 'PHP-5.6' of https://github.com/msierks/php-src:
  FIX #71831: CURLOPT_NOPROXY applied as long instead of string
2016-03-21 16:39:22 +08:00
Nikita Popov cc3cdd0057 Fixed bug #67582 2016-03-20 17:46:12 +01:00
Michael Sierks efacdc3511 FIX #71831: CURLOPT_NOPROXY applied as long instead of string
The CURLOPT_NOPROXY option value is converted to a long before
being applied as a curl option. This causes the option to have
no effect. This patch changes this conversion to a string.
2016-03-18 07:29:01 -05:00
Anatol Belski b8c9c92d44 fix and update NEWS 2016-03-17 19:02:08 +01:00
Anatol Belski 1b632cfe83 Backport patch for bug #71820
Rev b4eedd128b
2016-03-17 14:28:58 +01:00
Xinchen Hui eb405623ec Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:/php-src:
  fix NEWS
  NEWS
  Fix Bug #63171 	Script hangs after max_execution_time
2016-03-17 21:27:23 +08:00
Remi Collet b5b1ba850a fix NEWS 2016-03-17 13:53:42 +01:00
Remi Collet d513b4cde5 NEWS 2016-03-17 13:40:42 +01:00
Remi Collet 407ad28ae5 Fix Bug #63171 Script hangs after max_execution_time
If aborted via timer expiration, don't try to call any unixODBC function
which may hangs because of internal locks
2016-03-17 13:38:45 +01:00
Xinchen Hui 8e2f658f49 Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER) 2016-03-17 19:54:19 +08:00
Xinchen Hui 6d4aec029a Fixed test script 2016-03-17 17:06:56 +08:00
Xinchen Hui ead7632cf9 Fixed test script 2016-03-17 15:23:44 +08:00
Xinchen Hui 5546f8be56 Fixed bug #71841 (EG(error_zval) is not handled well) 2016-03-17 15:16:47 +08:00
Xinchen Hui 6f241f5fad Fixed bug #71840 (Unserialize accepts wrongly data) 2016-03-17 15:15:28 +08:00
Ferenc Kovacs 14f4848fb0 prepare for 5.6.20RC1 2016-03-17 01:46:00 +01:00
Remi Collet 478c807128 fix #ifdef usage 2016-03-16 07:17:49 +01:00
Derick Rethans ddc62f2e8b Updated to version 2016.2 (2016b) 2016-03-15 09:14:09 +00:00
Anatol Belski 73b9941622 update libs versions 2016-03-15 09:41:34 +01:00
Anatol Belski beda05269c fix test
Many warnings won't appear with libxml2 >= 2.9.3 because in many
cases libxml2 2.9.3 will just abort processing.
2016-03-14 15:53:02 +01:00
Anatol Belski 9d02e3b97e update NEWS 2016-03-11 14:22:11 +01:00
Thomas Punt f3f5a07aa5 Fix DatePeriod::getEndDate() segfault 2016-03-11 14:08:48 +01:00
Anatol Belski 8cd903ea68 fix error condition, part of bug #71753 2016-03-10 11:35:50 +01:00
Xinchen Hui 67f0770036 tsrm_win32_get_path_sid_key might returns NULL (Partially fix bug #71752)
cherry-picked from 7d5f71b0b1
2016-03-10 09:33:39 +01:00
Xinchen Hui 915a3762ef Fixed typo (partially fix for #71753) 2016-03-10 15:22:34 +08:00
Anatol Belski a1d1f54b42 fix directory separator 2016-03-09 14:16:29 +01:00
Anatol Belski 8ca02bb233 fix regression introduced in 5683b6fa39
Test extended. Basically, both iterator type and next node have
to be checked.
2016-03-08 12:59:59 +01:00
Christoph M. Becker 2d4ad66ff2 Fixed bug #69953
Added support for MKCALENDAR request method in CLI web server.
2016-03-03 19:22:38 +01:00
Anton Blanchard ccd215a517 Additional improvements to crypt() detection code
Reformat to normalize tabs vs spaces, return 1 if crypt.h not
defined, fix C99 compliance.
2016-03-03 17:28:34 +01:00
Michael Orlitzky 08fce8e2c5 ext/standard/config.m4: fix crypt() test segfaults in >=glibc-2.17.
Starting with glibc-2.17, the crypt() function will report an EINVAL
and return NULL when the format of the "salt" parameter is
invalid. The current tests for crypt() pass its result to strcmp(),
causing segfaults when the value returned from crypt() is NULL.

This commit modifies the test programs to exit with failure when
crypt() returns NULL.

Reference: https://bugs.gentoo.org/show_bug.cgi?id=518964
2016-03-03 17:12:57 +01:00
Nikita Popov bdd578fcbb Disable upload_2G test on travis 2016-03-03 16:35:45 +01:00
Anatol Belski 2399c64eaf show correct MINFO with libpq >= 9.5.x 2016-03-02 17:03:20 +01:00
Stanislav Malyshev b3bb1aacfe Merge branch 'PHP-5.6.19' into PHP-5.6
* PHP-5.6.19:
  fix test file
  Fix version
  Update NEWS
2016-03-01 22:56:08 -08:00
Stanislav Malyshev 6e6a556b8c Merge branch 'PHP-5.5' into PHP-5.6.19
* PHP-5.5:
  fix test file
  Fix version
  Update NEWS
2016-03-01 22:55:49 -08:00
Stanislav Malyshev ae3f132be1 Merge branch 'PHP-5.6.19' into PHP-5.6
* PHP-5.6.19:
  update NEWS
  Fix bug #71498: Out-of-Bound Read in phar_parse_zipfile()
  fix ts buld
  prep for 5.6.19RC1
  Fixed bug #71587 - Use-After-Free / Double-Free in WDDX Deserialize
2016-03-01 22:42:16 -08:00
Stanislav Malyshev a0bbac550e update NEWS 2016-03-01 22:41:10 -08:00
Stanislav Malyshev 91990bbde0 Merge branch 'PHP-5.5.33' into PHP-5.6.19
* PHP-5.5.33:
  Fix bug #71498: Out-of-Bound Read in phar_parse_zipfile()
  Fixed bug #71587 - Use-After-Free / Double-Free in WDDX Deserialize
2016-03-01 22:40:00 -08:00
Xinchen Hui 20add1e530 Merge branch 'PHP-5.6-bug_69757' of https://github.com/wayfair/php-src into PHP-5.6
* 'PHP-5.6-bug_69757' of https://github.com/wayfair/php-src:
  limit size of result set so unit test runs reliably
2016-03-02 14:26:34 +08:00
Nikita Popov 471540d285 Fix intermittent failure of bug_68819_002.phpt
The test used rand(32, 127) to select the character, however
chr(127) results in "data" instead of the expected result, so this
test would fail in something like 1% of the runs.

Replace rand() with fixed character "a".
2016-03-02 00:34:36 +01:00
mpyw 0bbea60524 Fix bug #71694
Exports contants CURLM_ADDED_ALREADY.
2016-03-01 23:31:58 +01:00
Adam Baratz 2e18d438b0 limit size of result set so unit test runs reliably 2016-03-01 17:15:36 -05:00
Jos Elstgeest 50b4cafd28 Fixed bugs #71317 and #71504
If there are duplicate filenames in tar, the last one wins.
2016-02-29 22:34:35 +01:00
Anatol Belski d78220fb2c add test for bug #68957 2016-02-29 18:43:03 +01:00
Anatol Belski c49d9f0684 update NEWS 2016-02-29 18:25:16 +01:00
Anatol Belski 53c036b30b Fixed #54648 PDO::MSSQL forces format of datetime fields
adopted patch by steven dot lambeth at gmx dot de
2016-02-29 17:04:49 +01:00
Anatol Belski 7816698580 remove unneeded free parts
See bug #71667, free_statement already does the job
2016-02-29 16:26:46 +01:00
Anatol Belski d7fd614cc6 fix leaks and add one more NULL check 2016-02-29 15:38:42 +01:00
Anatol Belski a310c3b484 add NULL check 2016-02-29 15:26:57 +01:00
Anatol Belski efaafd45b4 fix C89 compat 2016-02-29 15:24:31 +01:00
Anatol Belski 35be4398d1 fix arg type 2016-02-29 15:23:53 +01:00
Anatol Belski 7d7325246c update NEWS 2016-02-24 11:56:12 +01:00
Anatol Belski 90ad6e3c6c add test for bug #47803 2016-02-24 11:49:02 +01:00
Anatol Belski ff115e285a Fixed bug #47803
Executing prepared statements is succesfull only for the first two statements

The reworked patch descends to the bug #69526 which is fixed by
this as well. The broken logic in the current code was, that
SQLDescribeParam was executed in odbc_execute every time. This piece
is now moved into odbc_prepare and the results are carried on in an
additional structure.

Since the ext/odbc headers are not being currently installed and the
corresponding structs like odbc_result are not used outside ext/odbc,
the binary compatibility persists. Executing SQLDescribeParam only once
in odbc_prepare is also an optimization as the filds usually won't
change that fast and thus requestind the descriptions on every
execution is not required.
2016-02-24 11:40:35 +01:00
Anatol Belski 9623d2dd83 make ext/odbc test credentials configurable 2016-02-23 14:21:04 +01:00
Remi Collet d20f1d8f1f cleanup $Id 2016-02-22 09:26:00 +01:00
Anatol Belski bbce94ed78 update NEWS 2016-02-18 19:42:18 +01:00
Anatol Belski 688b914217 add test for bug #71625 2016-02-18 19:38:39 +01:00
Anatol Belski 0445abd547 Fixed bug #71625 Crash in php7.dll with bad phar filename 2016-02-18 19:32:08 +01:00
Anatol Belski f613d89501 update NEWS 2016-02-18 19:16:39 +01:00
Anatol Belski 632fc51d98 Bug #71596 Segmentation fault on ZTS with date function (setlocale) 2016-02-18 19:13:07 +01:00
Anatol Belski 68a51ae953 fix ts buld 2016-02-18 10:31:24 +01:00
Anatol Belski a329dc70e9 fix ts buld 2016-02-18 07:11:36 +01:00
Ferenc Kovacs c3eeb8092a prep for 5.6.19RC1 2016-02-18 01:26:18 +01:00
Ferenc Kovacs 4762ed4d27 5.6.20 is next 2016-02-18 00:31:18 +01:00
Anatol Belski 343307000e yet two test fixes in openssl in 5.6 2016-02-16 08:28:10 +01:00
Anatol Belski 974dea5e88 improve test 2016-02-16 08:05:16 +01:00
Anatol Belski 11102e2653 Fix timelib compat with PHP5
Windows builds in PHP5 are always using long which is 32-bit even
in 64-bit build. Thus in PHP5, timelib_long and the company have
to always evaluate to a 32-bit.
2016-02-15 16:50:42 +01:00
Anatol Belski 633fb2d0e8 Backported fix for bug #71525 2016-02-15 15:14:23 +01:00
Stanislav Malyshev c11b23c465 Fix bug #71540 - NULL pointer dereference in xsl_ext_function_php() 2016-02-15 00:08:18 -08:00
Anatol Belski a3927fa7f5 fix dir separator in test 2016-02-15 08:58:20 +01:00
Anatol Belski 199c0ec48d fix NEWS entry 2016-02-15 08:25:23 +01:00
Xinchen Hui 2b850e1565 Update NEWS: "Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)" 2016-02-15 10:31:37 +08:00
Xinchen Hui 5e152f54ae Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:/php-src:
  update NEWS
  Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug
  Check length of string before comparing to :memory:
  Fix bounds check in strip_tags()
  Fix test description
  FIx bug #71569
2016-02-15 10:29:28 +08:00
Anatol Belski aa10fc6092 update NEWS 2016-02-14 20:52:47 +01:00
Anatol Belski ce4a2f0fc6 Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bug 2016-02-14 20:47:23 +01:00
Nikita Popov fece24f8f4 Check length of string before comparing to :memory: 2016-02-13 18:01:50 +01:00
Nikita Popov 4e0134c661 Fix bounds check in strip_tags() 2016-02-13 17:47:30 +01:00
Nikita Popov adcdb4f7ba Fix test description 2016-02-13 17:46:24 +01:00
Nikita Popov bc419fee5c FIx bug #71569
convert_to_string() may result in an interned string.
2016-02-13 15:17:51 +01:00
Yussuf Khalil 35f6f9b0db Fix use-after-free of ZCG(cwd) in Zend Optimizer 2016-02-10 10:33:57 +01:00
Xinchen Hui c339d5217a Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6 2016-02-09 23:33:30 +08:00
Xinchen Hui f45752eb83 Fixed bug #71561 (NULL pointer dereference in Zip::ExtractTo) 2016-02-09 23:32:20 +08:00
Lior Kaplan 6772fbff62 Align spacing in make install messages 2016-02-08 20:27:19 +02:00
Lior Kaplan 879671aeae Add entry for re-fix of #70976 in commit 14e4d393 2016-02-07 20:19:31 +02:00
Xinchen Hui 5fdfab743d Fixed bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_multi_exec) 2016-02-05 19:49:26 +08:00
Lior Kaplan 8442a1cc4e Align NEWS entry format 2016-02-05 00:50:25 +02:00
Ferenc Kovacs 8c1c12a2e2 update NEWS 2016-02-04 20:40:54 +01:00
Jakub Zelenka feab5e6fa0 Split and clean up OpenSSL X509 tests 2016-02-04 16:51:36 +00:00
Jakub Zelenka 1f3906c1ce Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
Ferenc Kovacs e0332ea1a9 update NEWS 2016-02-03 01:07:34 +01:00
Julien Pauli ed80ca00f4 Updated NEWS 2016-02-02 18:14:57 +01:00
Julien Pauli 6b0b29edd6 Fix #70720 2016-02-02 18:09:54 +01:00
Anatol Belski b837f205ca Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add error check to sysconf call
  Going for 5.5.33 now

Conflicts:
	configure.in
	main/php_version.h
2016-02-02 14:22:31 +01:00
Derick Rethans 43fee6c6a1 Updated to version 2016.1 (2016a) 2016-02-02 10:34:03 +00:00
Anatol Belski bf974312d1 update libs version 2016-02-02 09:02:12 +01:00
Stanislav Malyshev 41be90d95b Merge branch 'PHP-5.6.18' into PHP-5.6
* PHP-5.6.18:
  fix tests
  fix NEWS
  Update NEWS
  update NEWS
  Fixed bug #71488: Stack overflow when decompressing tar archives
  update NEWS
  add missing headers for SIZE_MAX
  backport the escapeshell* functions hardening branch
  add tests
  Fix bug #71459 - Integer overflow in iptcembed()
  prepare 5.6.18RC1
  Fixed bug #71323 - Output of stream_get_meta_data can be falsified by its input
  Fix bug #71391: NULL Pointer Dereference in phar_tar_setupmetadata()
  Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream()
  Fix bug #71335: Type Confusion in WDDX Packet Deserialization
  Fix bug #71354 - remove UMR when size is 0

Conflicts:
	configure.in
	main/php_version.h
2016-02-01 19:16:34 -08:00
Stanislav Malyshev 24167095a5 Merge branch 'PHP-5.5' into PHP-5.6.18
* PHP-5.5:
  fix tests
  fix NEWS
  update NEWS
2016-02-01 19:15:19 -08:00
Stanislav Malyshev 20c38facfd Update NEWS 2016-02-01 18:47:28 -08:00
Stanislav Malyshev 309ead112f Merge branch 'PHP-5.5.32' into PHP-5.6.18
* PHP-5.5.32:
  Fixed bug #71488: Stack overflow when decompressing tar archives
  update NEWS
  add missing headers for SIZE_MAX
  backport the escapeshell* functions hardening branch
  add tests
  Fix bug #71459 - Integer overflow in iptcembed()
  Fixed bug #71323 - Output of stream_get_meta_data can be falsified by its input
  Fix bug #71391: NULL Pointer Dereference in phar_tar_setupmetadata()
  Fix bug #71335: Type Confusion in WDDX Packet Deserialization
  Fix bug #71354 - remove UMR when size is 0
2016-02-01 18:32:31 -08:00
Stanislav Malyshev 2f1ce4f209 Merge branch 'PHP-5.5' into PHP-5.6.18
* PHP-5.5:
  Upgrade bundled PCRE to 8.38
  Fixed NEWS file entry
  fix the fix for bug #70976 (imagerotate)
2016-02-01 18:32:14 -08:00
Stanislav Malyshev 5bde5a0a2e Merge remote-tracking branch 'origin/PHP-5.6.18' into PHP-5.6.18
* origin/PHP-5.6.18:
  prepare 5.6.18RC1
  Fix test when run with openssl < 1.0.2 (reorder so no more SSLv2 message) Fix skip message to work
  improve fix for bug #71201
  fork test
  fix test
  fork test
  fork test for win32
  fork test
  Use SUCCESS/FAILURE
  Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if test
  Fix header file include
  Fixed bug #69111 (Crash in SessionHandler::read()). Made session save handler abuse much harder than before.
2016-02-01 18:31:57 -08:00
Anatol Belski a01fd45d15 fix extensions path for nmake install 2016-02-01 15:38:53 +01:00
Stanislav Malyshev 00788f9cfb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Upgrade bundled PCRE to 8.38
  Fixed NEWS file entry
  fix the fix for bug #70976 (imagerotate)
2016-01-31 21:06:31 -08:00
Jakub Zelenka ef356912b3 Rewrite OpenSSL SPKI tests to speed them up
Also fix some CS issue and naming
2016-01-31 14:28:13 +00:00
Jakub Zelenka e93ab05489 Add private RSA keys with 2048 and 4096 bit long modulus 2016-01-31 13:57:00 +00:00
Jakub Zelenka 148d013323 Rename private.key to private_rsa_1024.key 2016-01-31 13:54:16 +00:00
Anatol Belski 6cc1c962f7 remove NEWS entry 2016-01-29 20:40:27 +01:00
Anatol Belski b7dadfae87 add XFAIL 2016-01-29 20:36:11 +01:00
Anatol Belski 40b9f52c2c Revert "fix leak in 5.6"
This reverts commit fa548e5ca9.
2016-01-29 20:33:39 +01:00
Derick Rethans deba5275eb Added entry to NEWS 2016-01-29 15:34:36 +01:00
Derick Rethans 1a86825688 Use the new timelib function for comparing times 2016-01-29 15:28:11 +01:00
Willem-Jan 2aeef4e539 Test + support for negative timestamps with microtime 2016-01-29 15:22:22 +01:00
Willem-Jan 1bbbc47e79 Also test against equality 2016-01-29 15:22:22 +01:00
Willem-Jan 5879721936 Compare agaist fraction when sse are equal 2016-01-29 15:22:22 +01:00
Willem-Jan a0237259e9 Added test for comparing dates with microseconds 2016-01-29 15:22:22 +01:00
Derick Rethans 822ca45220 Merge in changes in timelib 2016.01 2016-01-29 15:21:55 +01:00
Anatol Belski fa548e5ca9 fix leak in 5.6 2016-01-29 13:56:11 +01:00
Anatol Belski 4b0feeb8fa add test for bug #69111 2016-01-29 12:27:35 +01:00
Anatol Belski efb667e683 update NEWS 2016-01-29 11:27:44 +01:00
Anatol Belski 25108babdb refix bug #69111, crash in 5.6 only 2016-01-29 11:24:19 +01:00
Remi Collet a81cb64a96 NEWS 2016-01-29 10:23:42 +01:00
Remi Collet 07d2dcdf09 Fixed Bug #62172 FPM not working with Apache httpd 2.4 balancer/fcgi setup
Only needed with Apache version < 2.4.12 (ex RHEL-7)
2016-01-29 10:20:42 +01:00
Anatol Belski 8ee1ae9748 update NEWS 2016-01-29 08:41:25 +01:00
Anatol Belski ae6e139c77 reset the ext/session to the state of 5.6.17 2016-01-29 08:33:09 +01:00
Jakub Zelenka a63d0f55da Fix memory leak with not freeing OpenSSL errors 2016-01-25 16:50:16 +00:00
Xinchen Hui 47e7662a13 Update libmagic.patch for PHP-5.6 2016-01-25 11:25:04 +08:00
Xinchen Hui a458a4fdc1 Fixed bug #7143 (finfo throws notice for specific python file)
There seems be a bug while it was changed from regexec to
preg_match_impl:
https://github.com/php/php-src/commit/46906925#diff-56e765972d18c84894ea061cfe58076aR1757
2016-01-25 11:24:44 +08:00
Ferenc Kovacs 848de651a2 re-arrange NEWS 2016-01-21 02:24:51 +01:00
Ferenc Kovacs b2d5666d94 prepare 5.6.18RC1 2016-01-21 02:24:05 +01:00
Ferenc Kovacs a4fc2e1eb2 5.6.19 will be next 2016-01-20 15:39:05 +01:00
Remi Collet 3c8f287d58 Fix test when run with openssl < 1.0.2 (reorder so no more SSLv2 message)
Fix skip message to work
2016-01-20 13:08:58 +01:00
Anatol Belski 508d1dae25 improve fix for bug #71201 2016-01-20 09:44:28 +01:00
Anatol Belski fa0dd6006d fork test 2016-01-18 16:59:17 +01:00
Anatol Belski 5673ede6e9 fix test 2016-01-18 16:52:48 +01:00
Anatol Belski adf0be7680 fork test 2016-01-18 16:45:35 +01:00
Anatol Belski f0e2fe8e75 fork test for win32 2016-01-18 16:37:04 +01:00
Anatol Belski f0b02f2351 fork test 2016-01-18 16:34:20 +01:00
Yasuo Ohgaki ee1dd4949a Use SUCCESS/FAILURE 2016-01-18 13:33:47 +09:00
Yasuo Ohgaki f9c595f3c0 Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if test 2016-01-18 10:54:07 +09:00
Jason Young d1401f6059 Fix header file include 2016-01-15 08:43:00 +01:00
Stanislav Malyshev 4c2424eb24 Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream() 2016-01-14 22:58:40 -08:00
Yasuo Ohgaki bfb9307b2d Fixed bug #69111 (Crash in SessionHandler::read()).
Made session save handler abuse much harder than before.
2016-01-15 15:50:14 +09:00
Yasuo Ohgaki d7f8d9e3a9 Fix typo 2016-01-15 15:21:18 +09:00
Yasuo Ohgaki 31ae802736 Fix uninitialized read in rfc1867 handler reported by valgrind. Only in PHP 5.6.
This commit fixes initialized read, but calling php_session_initialize() directly
is problematic because configuration could be invalid. Invalid config may result
in segfault. This will be addressed later.
2016-01-15 15:18:00 +09:00
Yasuo Ohgaki 8c37a086c7 Improved fix for bug #68063 (Empty session IDs do still start sessions). 2016-01-15 09:45:08 +09:00
Anatol Belski c126725a7f update NEWS 2016-01-14 17:47:17 +01:00
Anatol Belski 4308c868f9 Fixed bug #70979 crash with bad soap request
The error handler is overloaded with the SOAP one. However the SOAP
handler eventually wants to access some of its globals. This won't
work as long as the SOAP globals aren't initialized. The use case
is when an error is thrown before RINIT went through. As the call
order is arbitrary, the safest is to wait when all the modules
called their RINIT.
2016-01-14 17:42:28 +01:00
Yasuo Ohgaki 1f513805dc Update NEWS 2016-01-13 06:40:11 +09:00
Remi Collet 14e4d393cf fix the fix for bug #70976 (imagerotate) 2016-01-12 13:52:27 +01:00
Yasuo Ohgaki 63c77ee4b1 Use php_session_abort() 2016-01-12 20:39:33 +09:00
Yasuo Ohgaki a15e9ccba8 Fixed Bug #71038 session_start() returns TRUE on failure 2016-01-12 19:09:49 +09:00
Anatol Belski ba7736729e update NEWS 2016-01-11 21:42:31 +01:00
Adam Harvey f301a0b23c Simplify code per Anatol. 2016-01-11 21:36:55 +01:00
Adam Harvey 3217c033a5 Insert bug number. 2016-01-11 21:36:53 +01:00
Adam Harvey c895dc5b5b Use strtoll() when apr_off_t is 64 bits. 2016-01-11 21:36:51 +01:00
Anatol Belski 6d649b018c update NEWS 2016-01-11 20:41:29 +01:00
Anatol Belski fffbca55e8 backport 9a07245b72 from 7.0 2016-01-11 20:37:46 +01:00
Lior Kaplan 35e87c04fe Align NEWS entry format 2016-01-09 19:10:01 +02:00
Anatol Belski 07133ae649 update libs versions 2016-01-08 08:33:55 +01:00
Julien Pauli bd2229e709 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.32 now

Conflicts:
	configure.in
	main/php_version.h
2016-01-07 13:55:09 +01:00
Julien Pauli 2d0215b063 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.32 now

Conflicts:
	configure.in
	main/php_version.h
2016-01-07 13:05:38 +01:00
Julien Pauli 96c205b5f6 5.5.32 now 2016-01-07 13:04:35 +01:00
Ferenc Kovacs b095a22a3b adjust release date for the delay 2016-01-06 15:54:55 +01:00
Ferenc Kovacs 6802a9f28a these will be part of 5.6.17 not 5.6.18 2016-01-06 15:23:18 +01:00
Julien Pauli 86f48881a4 Removed unecessary string dup 2016-01-06 10:51:36 +01:00
Julien Pauli 810452f68e Moved buffer from heap to stack 2016-01-06 10:51:36 +01:00
Stanislav Malyshev 13750cb0a1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS
  Improve fix for bug #70976
  Fixed bug #70661 (Use After Free Vulnerability in WDDX Packet Deserialization)
  Fixed bug #70741: Session WDDX Packet Deserialization Type Confusion Vulnerability
  Fixed #70728
  Fixed bug #70755: fpm_log.c memory leak and buffer overflow
  Fix bug #70976: fix boundary check on gdImageRotateInterpolated
  typofix
2016-01-05 19:38:29 -08:00
Lior Kaplan 53fb2f1e5c Happy new year (Update copyright to 2016) 2016-01-03 01:44:37 +02:00
Xinchen Hui 3537e95dae bump year which is missed in rev 49493a2 2016-01-02 17:51:24 +08:00
Xinchen Hui d9bac84220 Merge branch 'PHP-5.6' of https://github.com/kaplanlior/php-src into PHP-5.6 2016-01-02 17:48:20 +08:00
Anatol Belski a7b1ea3c84 sync with new tests from 7.0 for ICU 55_1 and 56_1 compat 2016-01-01 20:25:36 +01:00
Anatol Belski 6bcf4b4f40 sync skipifs for ext/intl for ICU 55_* and 56_* compat 2016-01-01 20:13:35 +01:00
Lior Kaplan c51e73c803 Happy new year (Update copyright to 2016) 2016-01-01 19:23:04 +02:00
Lior Kaplan 49493a2dcf Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
Julien Pauli 0bdc2923b1 Fixed test 2015-12-24 14:44:07 +01:00
Julien Pauli d73d9fecf6 Fixed and improved tests 2015-12-24 14:08:44 +01:00
marcosptf 7f31a88bb8 test to function socket_getopt(); 2015-12-24 13:23:00 +01:00
marcosptf 599a0cfdeb test to function socket_clear_error();; 2015-12-24 13:17:35 +01:00
marcosptf e9d3ff0ec7 test to function socket_shutdown(); 2015-12-24 13:04:38 +01:00
marcosptf 1c0d01522c test to function socket_send(); 2015-12-24 11:48:09 +01:00
marcosptf bdc8f7d871 test to function gethostname ( void ); 2015-12-24 11:46:48 +01:00
marcosptf 891ac59305 test to function DateTimeZone::getLocation(); 2015-12-24 10:56:23 +01:00
marcosptf ca0b82fe93 test to function stream_get_transports(); 2015-12-24 10:53:53 +01:00
marcosptf e9d1dff514 test to function stream_get_wrappers(); 2015-12-24 10:51:51 +01:00
marcosptf 7e399566a7 test to function stream_socket_enable_crypto(); 2015-12-24 10:50:54 +01:00
marcosptf a7daf97198 test to function stream_socket_get_name(); 2015-12-24 10:49:02 +01:00
marcosptf 3295264336 Create stream_socket_recvfrom.phpt 2015-12-24 10:47:35 +01:00
marcosptf 379b43bb3b test to stream function set_file_buffer.phpt(); 2015-12-24 10:47:02 +01:00
marcosptf 4f528e5c95 test to function PDO_getAvaliableDrivers;
was add new function to PDO::getAvailableDrivers
2015-12-24 10:45:39 +01:00
marcosptf 8d1d5ffa22 test to misc. function connection_status(); 2015-12-24 10:45:10 +01:00
marcosptf 841594ac18 test to function connection_aborted();
was added a new uncovered misc. function
2015-12-24 10:43:34 +01:00
marcosptf a82f76634a test to function memory_get_peak_usage();
add new test to uncoverage function;

please, @laurence, see if this path is correct!
Thanks
2015-12-24 10:42:22 +01:00
Thomas Punt 9306c1d254 Update default_mimetype ini setting description
This is in response to doc bug #70287
2015-12-24 10:33:15 +01:00
Anatol Belski 0b8c8bfc81 update NEWS 2015-12-23 18:37:05 +01:00
Anatol Belski 50c4be0309 Added test for bug #71201 2015-12-23 18:18:02 +01:00
Anatol Belski 0d822f6df9 Bug #71201 round() segfault on 64-bit builds 2015-12-23 18:16:52 +01:00
Xinchen Hui 620ccc9b1a Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading) 2015-12-23 08:10:59 -08:00
Julien Pauli ea12ff149c Added support for HTTP 451 2015-12-23 11:31:18 +01:00
Dmitry Stogov a57a08e791 Fixed incorrect setting on 32-bit systems 2015-12-22 21:31:28 +03:00
Julien Pauli ff7ed9021c Fix #70720 2015-12-22 16:25:51 +01:00
Lior Kaplan db1504de23 Align NEWS entry format 2015-12-21 23:14:23 +02:00
Xinchen Hui 361b5814de Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:/php-src:
  Align news entry format: Implement FR -> Implemented FR
2015-12-18 17:43:25 +08:00
Xinchen Hui 40702799b5 Improved fix for #71127 2015-12-18 17:37:40 +08:00
Lior Kaplan e61bb3fbf9 Align news entry format: Implement FR -> Implemented FR 2015-12-17 11:27:41 +02:00
Xinchen Hui 940c68b55d Fixed bug #71127 (Define in auto_prepend_file is overwrite) 2015-12-17 14:27:33 +08:00
Lior Kaplan ef9ddd0d82 Remove sqlite extension leftover references (was removed in PHP 5.4) 2015-12-16 09:40:02 +02:00
Yasuo Ohgaki 57be57ac94 Fix ZTS build 2015-12-16 11:10:39 +09:00
Yasuo Ohgaki e8f1c29cc9 Fixed bug #71122 Session GC may not remove obsolete session data 2015-12-16 09:15:05 +09:00
Lior Kaplan 838e4039d7 Remove extra line 2015-12-15 11:15:30 +02:00
Lior Kaplan 66d1d10917 NEWS entry for #55651 2015-12-15 11:13:54 +02:00
Avi Brender 90a26a4844 Implement FR #55651 (Option to ignore the returned FTP PASV address) 2015-12-15 11:07:40 +02:00
Yasuo Ohgaki 071616026f Update NEWS 2015-12-15 10:40:07 +09:00
Yasuo Ohgaki 8161230505 Fixed Bug #71122 Session GC may not remove obsolete session data 2015-12-15 10:27:28 +09:00
Rasmus Lerdorf 9a31d70845 Support uwsgi sapi in opcache 2015-12-14 06:09:17 -08:00
Christopher Jones 82d58e6cbc Update README 2015-12-13 08:21:41 +11:00
Christopher Jones 8f7e98ac4a Prepare for a PECL release 2015-12-12 16:06:08 +11:00
Anatol Belski 57eecd4e29 update NEWS 2015-12-11 17:42:01 +01:00
Anatol Belski 157d0372e0 backported 7c981192eb from 7.0
the way it doesn't hurt BC
2015-12-11 17:39:57 +01:00
Remi Collet d403a91c6f NEWS 2015-12-11 13:22:13 +01:00
Remi Collet 410eacc1a9 Fix Bug #71089 No check to duplicate zend_extension 2015-12-11 13:21:24 +01:00
Ferenc Kovacs 7d5dbaed76 5.6.18 will be next 2015-12-10 01:30:27 +01:00
Anatol Belski e4238f4bf5 update NEWS 2015-12-09 13:37:37 +01:00
Michael Orlitzky 24f21a3012 ext/imap/config.m4: fix conftest segfault in utf8_to_mutf7 check, bug #66909.
The test program for utf8_to_mutf7 attempts to call it without
arguments. The function expects one argument, however, and this leads
to a segfault as reported in PHP bug #66909.

The test program is using the PHP_IMAP_TEST_BUILD macro which
complicates things a little. To keep this diff small, the
PHP_IMAP_TEST_BUILD macro was modified to pass a fifth argument
"extra-source" to the PHP_TEST_BUILD macro. The check for
utf8_to_mutf7 was then modified to check for a dummy function,
utf8_to_mutf7_php, which passes the correct number of arguments to
utf8_to_mutf7.

PHP-Bug: https://bugs.php.net/bug.php?id=66909
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=376735
2015-12-09 12:04:16 +01:00
Michael Orlitzky 38b68fc042 ext/dba/config.m4: Autodetect Berkeley DB v5.3.
When the user passes --with-db4=DIR to ./configure, the directory DIR
is searched for a number of paths in order of preference. These paths
contain possible locations for Berkeley DB (BDB) to be installed, and
since PHP only supports BDB-4.x and BDB-5.x, it's important that (for
example) version 5.1 be autodetected before falling back to
/usr/include/db.h which can point to BDB-6.x.

The newer BDB-5.3 works with PHP, and if only BDB-5.3 is installed on
the user's system, the current ./configure script is fine. However, if
both BDB-5.3 and BDB-6.0 are installed, version 5.3 is not
autodetected, causing BDB-6.0 to be used. The ./configure step then fails.

This commit adds autodetection for BDB-5.3, and fixes a bug reported
on Gentoo at https://bugs.gentoo.org/show_bug.cgi?id=564824.
2015-12-09 11:20:36 +01:00
Anatol Belski 56e7903131 fix path separator in test 2015-12-09 11:18:25 +01:00
George Wang 00ed55005a Bumped SAPI version to 6.9 2015-12-09 00:28:08 -05:00
George Wang 0d84097d44 Added "mod_auth_basic" to apache module list. 2015-12-09 00:27:55 -05:00
George Wang 08080c18f5 Add sanitizing checks for request data. 2015-12-09 00:26:41 -05:00
George Wang c60d4b9770 Clear secret after use. 2015-12-09 00:26:24 -05:00
George Wang 84fd8ffa2a Fixed __DIR__ in CLI mode. 2015-12-09 00:25:48 -05:00
Popa Adrian Marius a90ce6de31 Add PDO_Firebird fix in NEWS 2015-12-03 17:23:56 +02:00
Popa Adrian Marius 8da5752311 Use LL_MASK for SQL_INT64 data formatting 2015-12-03 17:12:02 +02:00
Popa Adrian Marius 4173a667fa Fix Bug #60052 Integer returned as a 64bit integer on X64_86 for pdo_firebird 2015-12-03 16:14:17 +02:00
Xinchen Hui e6b46dc2ff Fixed bug #70960 (ReflectionFunction for array_unique returns wrong number of parameters) 2015-11-24 13:45:16 +08:00
Lior Kaplan 1c72e5b299 Align NEWS entries format 2015-11-23 18:46:19 +02:00
Lior Kaplan 532912d8ab Add NEWS entry for #61751 2015-11-23 18:42:21 +02:00
Lior Kaplan d6b78a3511 Fixed bug #61751 (SAPI build problem on AIX: Undefined symbol: php_register_internal_extensions) 2015-11-23 18:40:47 +02:00
Xinchen Hui b9845e5006 Add bug #70957 and #70958 releated test in refection 2015-11-23 18:48:21 +08:00
Xinchen Hui a2b85ddecf Fixed bug #70958 (Invalid opcode while using ::class as trait method paramater default value) 2015-11-23 18:29:59 +08:00
Xinchen Hui ab17840d33 Fixed bug #70957 (self::class can not be resolved with reflection for abstract class) 2015-11-23 12:20:44 +08:00
Xinchen Hui 205e0ba81d Update test script 2015-11-21 05:01:51 -08:00
Xinchen Hui cbc71995a8 Unused var 2015-11-21 04:54:48 -08:00
Xinchen Hui 7b195c9875 Improved fix for bug #70944 2015-11-21 00:27:56 -08:00
Xinchen Hui a1c887964e Fixed bug #70944 (try{ } finally{} can create infinite chains of exceptions) 2015-11-20 16:24:53 +08:00
Xinchen Hui b42eb16cf4 This seems better 2015-11-20 15:36:13 +08:00
Xinchen Hui c8d6673b59 Fixed build error "undefined symbol gdJpegGetVersionString" 2015-11-20 15:22:05 +08:00
Xinchen Hui 66c1f966f0 Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6 2015-11-17 20:13:22 +08:00
Xinchen Hui fba3985f23 Improve the test 2015-11-17 20:12:50 +08:00
Andrey Hristov 822400ef3b News for fixed bug #68344 2015-11-16 12:38:25 +01:00
Xinchen Hui 25439e939e Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6 2015-11-16 17:00:16 +08:00
Xinchen Hui be6fd4ba89 Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction)
Actually, this only be fixed if php uses mysqlnd
2015-11-16 16:59:55 +08:00
Côme Bernigaud 15876e85e5 Added back support for undocummented host:port syntax 2015-11-16 04:50:12 +01:00
Jakub Zelenka e5abc53701 Use the same CS for all json tests 2015-11-15 19:06:09 +00:00
Dmitry Stogov f8bf9bd86b Fixed bug #70900 (SoapClient systematic out of memory error) 2015-11-12 20:31:52 +03:00
Côme Bernigaud 391087ed28 Using default port in ldap_connect when NULL is passed (this was the behavior prior to 5.6.11)
Note that passing 0 will also result in default port.
2015-11-12 07:06:05 +01:00
Xinchen Hui f72c7edfa4 Ensure the test fails 2015-11-11 14:55:33 +01:00
Ferenc Kovacs b22636c838 propare for 5.6.16RC1 2015-11-11 09:20:16 +01:00
Jakub Zelenka 1a12403002 Remove SNI test that trigger request to sni.velox.ch
This has been requested by Kaspar Brand who provides
sni.velox.ch. That site is only for interactive
testing and not for unit/integration/regression testing.
Although this test is run only in special cases (when
SNI_TESTS is defined) it should still be removed.

Also this test is not reliable as it depends on external
resources.
2015-11-09 18:11:18 +00:00
Matteo Beccati fd61666d96 Fix bug #70875 Segmentation fault if wsdl has no targetNamespace attribute 2015-11-07 11:00:33 +01:00
Christopher Jones 089ca134fb Always remember NEWS.... 2015-11-07 02:15:24 +11:00
Christopher Jones a57b205383 Fix compile warnings about comparison of unsigned expression always being true 2015-11-07 02:14:18 +11:00
Christopher Jones f88a9a9643 Bump OCI8 version 2015-11-07 02:10:57 +11:00
Christopher Jones 3060dfd92e Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil) 2015-11-07 01:56:50 +11:00
Reeze Xia 1c0622a472 Make test for bug #70852 to cover all cases 2015-11-05 14:09:24 +08:00
Reeze Xia 51218b3b9d Fixed bug #70852 Segfault getting NULL offset of an ArrayObject. 2015-11-05 13:46:03 +08:00
Xinchen Hui 227c898cd9 Fixed test 2015-11-02 10:58:55 +08:00
Xinchen Hui a23a88b3e7 Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6 2015-11-02 10:47:32 +08:00
Xinchen Hui 37ed0dafe4 Fixed bug #70828 (php-fpm 5.6 with opcache crashes when referencing a non-existent constant) 2015-11-02 10:47:02 +08:00
Jakub Zelenka e62db72111 Use standard title for new openssl tests 2015-10-29 19:11:57 +00:00
root 06c6b51e7d new tests to openssl module, don't covered yet. 2015-10-29 19:06:40 +00:00
Andrey Hristov 6d51b7b2e3 Another Fix for Bug #68344 MySQLi does not provide way to disable peer certificate validation
Added the possibility to explicitly state that the peer certificate should not be checked.
Back to the default - checking the certificate.
Exported MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT
Usage : mysqli_real_connect( , , , , , MYSQLI_CLIENT_SSL | MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT)

If mysqli_ssl_set() is not called, but only MYSQLI_CLIENT_SSL is passed, without the (don't) very flag,
then no verification takes place.
2015-10-27 12:59:09 +01:00
Anatol Belski 2f7a8515ca update NEWS 2015-10-26 15:56:34 +01:00
Anatol Belski 83bfefeccb Fixed bug #70718 stream_select() when OpenSSL extension is loaded on PHP Win64 2015-10-26 15:54:29 +01:00
Nuno Lopes 36311ee4fd unbreak coverage data: fix #line directives in phpdbg parser 2015-10-24 18:12:24 -04:00
Nuno Lopes 0e069fa57d exclude datelib from coverage report as asked by Derick 2015-10-24 17:38:20 -04:00
Anatol Belski 22af88274b Fix globals initialization in sapi/cgi
Basically backport 8430ec17
2015-10-23 13:56:40 +02:00
Andrey Hristov afd31489d0 Improve fix for Bug #68344 MySQLi does not provide way to disable peer certificate validation 2015-10-22 11:48:53 +02:00
Andrey Hristov 8292260515 Fix for Bug #68344 MySQLi does not provide way to disable peer certificate validation 2015-10-21 15:10:24 +02:00
Andrey Hristov efd2b3f5f2 Update the certificates needed for the mysqli tests 2015-10-21 10:42:51 +02:00
Anatol Belski ccc95bf9df backport 262160e and 2d55e8c into 5.6 2015-10-20 20:05:44 +02:00
Xinchen Hui d5f76caf6c Fixed bug #70748 (Segfault in ini_lex () at Zend/zend_ini_scanner.l) 2015-10-20 13:20:56 +08:00
Ferenc Kovacs 395ef4efb7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixup, both catched by nikic
  use another character device in this test as /dev/console seems that it is different for lxc containers
  the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is no reason to require that over the utf-8 one
  let's try running our testsuite without sudo
2015-10-19 22:47:23 +02:00
Stanislav Malyshev 0b35e0c5a1 Merge branch 'pull-request/1535' into PHP-5.6
* pull-request/1535:
  Bug #70561: Fix DirectoryIterator to throw OutOfBoundsException
2015-10-18 17:17:55 -07:00
Daniel Persson 73384728ca Fix bug #64172
Check if the SQLSTATE error code is equal to PDO_ERR_NONE before we ask the driver.
And if no error is reported skip the extra call to the driver.
2015-10-18 17:06:54 -07:00
Fábio Perez c76fd640e6 Skip some tests for platforms different than x86
These tests are verifying undefined behaviour such as shifting by more than 63
bits and by negative numbers.
2015-10-18 15:45:25 -07:00
Stanislav Malyshev b94f67885c Skip serialize test if ext/session is not loaded 2015-10-18 15:43:03 -07:00
jubianchi 718445b096 Remove wrong argument $session from SNMP::setSecurity() 2015-10-18 14:48:39 -07:00
jubianchi 39a2514643 Fix SNMP::setSecurity() arginfo (Fixes bug #70476) 2015-10-18 14:48:25 -07:00
Anatol Belski 9501293de7 update NEWS 2015-10-18 11:34:42 +02:00
Anatol Belski 7f33ab834d C89 compat 2015-10-18 11:14:30 +02:00
MiRacLe.RPZ 2b5af600e3 use spprintf instead (no need to estrdup afterwards). 2015-10-18 11:10:50 +02:00
MiRacLe.RPZ 5c19355095 dblib's dbcolname can return null in some cases 2015-10-18 11:10:45 +02:00
MiRacLe.RPZ 4c8f064d7d testcase fot bug #69757 2015-10-18 11:10:39 +02:00
MiRacLe.RPZ acb2368976 Segmentation fault on pdo_dblib::nextRowset (bug #69757) 2015-10-18 11:10:34 +02:00
Ferenc Kovacs 22cbf68344 prepare for 5.6.15RC1 2015-10-15 00:22:12 +02:00
Anatol Belski d160e98feb fix test 2015-10-12 09:46:52 +02:00
Nikita Popov d7d01fc9a3 Fixed bug #70685
Doing a less intrusive variant of the PHP 7.0 fix for 5.6.
2015-10-10 14:59:21 +02:00
Nikita Popov e19423f3cb Improve previous fix
Don't forbid null binding on plain functions.
2015-10-09 23:28:24 +02:00
Nikita Popov bbae7ddf29 Fixed bug #70681 2015-10-09 23:01:23 +02:00
Anatol Belski 505c9c3742 update NEWS 2015-10-09 12:35:06 +02:00
Nuno Lopes 052dd3005b fix coverage report for datelib 2015-10-04 05:45:05 -04:00
Xinchen Hui 2fb8bb1157 Fixed bug #70632 (Third one of segfault in gc_remove_from_buffer) 2015-10-03 20:33:24 -07:00
Xinchen Hui 6876112c89 Fixed the third one of (segfault in gc_remove_from_buffer())
This one maybe only used in debug mode, so no bug report and no test
script provided
2015-10-03 20:15:35 -07:00
Xinchen Hui 4744eec753 Fixed bug #70631 (Another Segfault in gc_remove_from_buffer()) 2015-10-03 20:08:21 -07:00
Xinchen Hui 925412ee1c Do not edit the zval cause it might be in shared memory 2015-10-03 19:50:38 -07:00
Xinchen Hui c147d90dbf Fixed bug #70601 (Segfault in gc_remove_from_buffer()) 2015-10-03 19:38:56 -07:00
Anatol Belski 83bef0ef83 fix win10 support
dwMajorVersion == 10 there, and generally this check is obsolete
as we don't support dwMajorVersion < 6 since 5.5
2015-10-03 10:44:43 +02:00
Nikita Popov fe1933aae2 Fixed bug #70625 2015-10-03 10:12:11 +02:00
Ferenc Kovacs 6f895a29c9 Merge branch 'pr-1544' into PHP-5.6
* pr-1544:
  Update NEWS file with LDAP fixes
2015-10-02 21:48:33 +02:00
Derick Rethans c08824fd72 Updated to version 2015.7 (2015g) 2015-10-02 18:12:16 +01:00
Xinchen Hui c98ea8465b Fixed bug #70619 (DateTimeImmutable segfault) 2015-10-02 07:19:21 -07:00
Julien Pauli 0fd71d1184 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed test
  5.5.31 now

Conflicts:
	configure.in
	main/php_version.h
2015-09-30 13:19:18 +02:00
Andrey Hristov 07a8e5ce37 Add JSON as exported type, if available. mysqlnd has it, libmysql doesn't export it (for now). 2015-09-30 09:03:35 +02:00
Ferenc Kovacs 0c10e10ee8 update NEWS, these missed 5.6.14RC1 as I was not asked to include them so delaying for the next release 2015-09-30 01:28:39 +02:00
Ferenc Kovacs 264f33a23f add NEWS entries 2015-09-30 01:16:43 +02:00
Ferenc Kovacs 62ff2d0bfe Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add NEWS entries
2015-09-30 01:15:54 +02:00
Stanislav Malyshev 2e267bd3c7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Better fix for bug #70433

Conflicts:
	ext/phar/dirstream.c
2015-09-28 21:42:08 -07:00
Stanislav Malyshev 51b23cd0f0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix memory leak
  FIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"

Conflicts:
	ext/phar/dirstream.c
2015-09-28 20:44:28 -07:00
Stanislav Malyshev f39a4ee0c9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
2015-09-28 16:59:46 -07:00
Misha Nasledov 84452dba8e Update NEWS file with LDAP fixes 2015-09-28 12:59:16 -07:00
Stanislav Malyshev 629e4da7cc Fix bug #70480 (php_url_parse_ex() buffer overflow read) 2015-09-28 11:31:14 -07:00
Andrey Hristov 59de2c037c Fixed bug #70572 segfault in mysqlnd_connect 2015-09-25 14:06:28 +02:00
Andrey Hristov 85be6fe96b Spread the news about 70384 2015-09-25 13:54:10 +02:00
Anatol Belski f451b023d1 update NEWS 2015-09-23 20:00:38 +02:00
Anatol Belski 257693614e add test 2015-09-23 19:48:38 +02:00
Anatol Belski ca89d9a797 expose openssl config path so it can be tested 2015-09-23 19:48:20 +02:00
Andrey Hristov f79cd18789 Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the server 2015-09-23 18:25:12 +02:00
Bishop Bettini 368d3ff0d9 Bug #70561: Fix DirectoryIterator to throw OutOfBoundsException
-------------------------------------------------------------------------------
DirectoryIterator implements SeekableIterator, which "should throw an
OutOfBoundsException if the position is not seekable". As is, seek just returns
and one must call valid(). This approach is different than most (all?) other
SeekableIterator implementations and leads to developer confusion. See the
bug report for a specific example.
2015-09-23 11:14:52 -04:00
Anatol Belski 8317e0fa46 add missing header
For PRIu32 and maybe more, that fixes build
2015-09-23 14:01:59 +02:00
Anatol Belski c505d55158 silence mkdir to fix fails after unclean test run 2015-09-23 13:55:28 +02:00
Derick Rethans 96d1d13d87 Update timelib to 2015.02 2015-09-22 08:59:45 +01:00
Derick Rethans e4f3fb976b Fixed test cases due to changes in rules 2015-09-22 08:42:12 +01:00
Derick Rethans fab5cbab1a Bumb timelib version to 2015.01 2015-09-22 08:41:56 +01:00
Jakub Zelenka dcd569aad6 Use tabs for arg info indent in openssl.c 2015-09-20 12:34:35 +01:00
Ferenc Kovacs 11cddaf6f4 prepare for PHP-5.6.14RC1 2015-09-17 01:48:02 +02:00
Xinchen Hui 37d814b84c Add test XFAIL for bug #70470 2015-09-11 13:45:18 +08:00
Côme Bernigaud 059dd18c37 Added support of LDAP_OPT_TIMEOUT, fixes #69574 2015-09-09 18:02:10 +02:00
Lior Kaplan 43f6099ce4 Add entry for #70284 in 5.6.13 2015-09-09 14:20:04 +03:00
Côme Bernigaud a483a79c85 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
2015-09-09 10:34:46 +02:00
Côme Bernigaud cc7140e8d9 Merge branch 'pull-request/1512' into PHP-5.5
* pull-request/1512:
  Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
2015-09-09 10:30:17 +02:00
Christoph M. Becker 71da4f1f7f Skip test for old glibc iconv
bug32001.phpt has a high failure rate for the submitted reports. According to
several samples it seems the iconv implementation of glibc 2.12 (released
2010-05) is the culprit. It seems appropriate to skip the test for such old
versions.
2015-09-09 04:27:28 +02:00
Tyson Andre c3fc65eb7c Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
LDAP_OPT_TIMELIMIT and LDAP_OPT_DEREF's original values weren't
saved properly because of a bug introduced when copy and pasting.

This lead to the original timeout being changed
when specifying a temporary override (e.g. for ldap_search(..., $timeout))
2015-09-08 18:42:02 -07:00
Christoph M. Becker b89f128480 updated NEWS 2015-09-09 03:12:59 +02:00
Sergei Turchanov 7b3616db77 Fix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a server
libmysqlclient activates TCP keep-alive when connecting to a server. PHP
mysqlnd extension must do the same to maintain compatibility.
2015-09-09 01:43:29 +02:00
Remi Collet debfc866d2 Fix build
php_zip.c:1647:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
php_zip.c:1648:3: error: format not a string literal and no format arguments [-Werror=format-security]
2015-09-07 13:52:28 +02:00
Jakub Zelenka d47029167d Fix bug #60632: openssl_seal fails with AES 2015-09-06 16:39:59 +01:00
Christoph M. Becker aed225b7e4 updated NEWS 2015-09-05 14:39:24 +02:00
Christoph M. Becker fd94c92171 Fix #68291: 404 on urls with '+'
URI paths have to be treated according to RFC 3986 by the CLI web server, not
as application/x-www-form-urlencoded.
2015-09-05 14:34:08 +02:00
Christoph M. Becker f9ece83994 updated NEWS 2015-09-05 03:14:56 +02:00
Christoph M. Becker 43b26c7b21 Fix #70395: Missing ARG_INFO for openssl_seal()
This patch adds the missing ARG_INFO for the optional 5th parameter $method.
2015-09-05 03:08:02 +02:00
Christoph M. Becker dc1a8dd7f0 updated NEWS 2015-09-05 01:27:59 +02:00
Christoph M. Becker b2954c64ab Fix #70001: Assigning to DOMNode::textContent does additional entity encoding
Assigning to DOMNode::textContent encodes entities, what does not match the
behavior of DOMText::__construct() and DOMDocument::createTextNode. This patch
changes the behavior of DOMNode::textContent in this regard.
2015-09-05 01:17:50 +02:00
Christoph M. Becker b59ea797f5 updated NEWS 2015-09-05 00:37:08 +02:00
Christoph M. Becker c77f783777 Fix #70322: ZipArchive::close() doesn't indicate errors
If an archive can't be written, ZipArchive::close() nonetheless returns TRUE.
We fix the return value to properly return success, and additionally raise a
warning on failure.
2015-09-05 00:34:10 +02:00
Niklas Keller 4b1dff6f43 Fix #70361: HTTP stream wrapper doesn't close keep-alive connections 2015-09-04 16:29:35 +02:00
Ferenc Kovacs 52b2a3ff25 move the phpdbg NEWS entry to the correct version 2015-09-03 01:58:13 +02:00
Ferenc Kovacs 3759de241f add missing news entries 2015-09-03 01:46:38 +02:00
Julien Pauli c65350cd4d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Merge branch 'PHP-5.6'
  bump version
2015-09-02 17:55:57 +02:00
Julien Pauli c07150cd1a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.30 next

Conflicts:
	configure.in
	main/php_version.h
2015-09-02 17:42:00 +02:00
Stanislav Malyshev a6c063d663 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  More fixes for bug #70219
2015-09-01 12:51:48 -07:00
Stanislav Malyshev 3fe509443c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix unit tests
2015-09-01 12:24:14 -07:00
Stanislav Malyshev c19d59c550 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  add NEWS for fixes
  Improve fix for #70172
  Fix bug #70312 - HAVAL gives wrong hashes in specific cases
  fix test
  add test
  Fix bug #70366 - use-after-free vulnerability in unserialize() with SplDoublyLinkedList
  Fix bug #70365 - use-after-free vulnerability in unserialize() with SplObjectStorage
  Fix bug #70172 - Use After Free Vulnerability in unserialize()
  Fix bug #70388 - SOAP serialize_function_call() type confusion
  Fixed bug #70350: ZipArchive::extractTo allows for directory traversal when creating directories
  Improve fix for #70385
  Fix bug #70345 (Multiple vulnerabilities related to PCRE functions)
  Fix bug #70385 (Buffer over-read in exif_read_data with TIFF IFD tag byte value of 32 bytes)
  Fix bug #70219 (Use after free vulnerability in session deserializer)
  Fix for bug #69782
  Add CVE IDs asigned (post release) to PHP 5.4.43
  Add CVE IDs asigned to #69085 (PHP 5.4.39)
  5.4.45 next

Conflicts:
	ext/pcre/php_pcre.c
	ext/standard/var_unserializer.c
	ext/standard/var_unserializer.re
	ext/zip/php_zip.c
2015-09-01 12:06:41 -07:00
Stanislav Malyshev 45e7e79485 Merge branch '70284' into PHP-5.6
* 70284:
  Fix bug ##70284 (Use after free vulnerability in unserialize() with GMP)
2015-09-01 12:05:02 -07:00
Xinchen Hui 9da99d8c5f Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6 2015-08-30 05:34:15 -07:00
Xinchen Hui ef1bd8f0e6 Fixed bug #70389 (PDO constructor changes unrelated variables) 2015-08-30 05:02:38 -07:00
Matteo Beccati 9d816f1bcf Added missing skipif for phar+zlib test 2015-08-29 10:47:02 +02:00
Anatol Belski 00eebd7a47 fix dir separator in test 2015-08-28 11:39:26 +02:00
Anatol Belski 5d2294e8b8 fix path separator in test 2015-08-28 11:38:16 +02:00
Anatol Belski ebdd9cf6e8 fix test 2015-08-28 11:29:38 +02:00
Adam Harvey 4ddc4af87c Fix NEWS indentation. 2015-08-27 16:00:36 -07:00
Adam Harvey e872f4d9c1 Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4.
Fixes bug #70370 (Bundled libtool.m4 doesn't handle FreeBSD 10 when building
extensions).
2015-08-27 15:59:59 -07:00
Jakub Zelenka a5864d9917 Update NEWS with info about bug #55259 2015-08-27 21:37:59 +01:00
Jakub Zelenka c39336d1d8 Fix bug #55259 (openssl extension does not get the DH parameters from DH key resource) 2015-08-25 20:26:11 +01:00
Christoph M. Becker e5adf2b427 updated NEWS 2015-08-24 23:05:18 +02:00
Christoph M. Becker fc203fa37e Fix #67131: setcookie() conditional for empty values not met
PHP applies a workaround for old MSIE where setting an empty cookie value would
not delete the cookie. This workaround is only triggered if an empty string (or
a value that converts to an empty string) is actually given as $value parameter
of setcookie. If the $value parameter is omitted, an empty cookie value is
sent. This commit fixes the inconsistent behavior.
2015-08-24 23:03:50 +02:00
Stanislav Malyshev d735957cb5 Fix bug ##70284 (Use after free vulnerability in unserialize() with GMP) 2015-08-23 16:08:07 -07:00
Anatol Belski 78b2b1d6f7 fix test
backport from master
2015-08-23 17:27:55 +02:00
Anatol Belski b460b530d6 fix test
backport from master
2015-08-23 17:27:53 +02:00
Anatol Belski 24e78ec1d8 fix test 2015-08-23 17:27:51 +02:00
Anatol Belski 5786f86656 fix test
backported from master
2015-08-23 17:27:50 +02:00
Bob Weinand 272cccd175 Fix phpdbg_break_next() 2015-08-23 12:07:14 +01:00
Anatol Belski 2b9c7f881a fix tests 2015-08-21 15:13:39 +02:00
Anatol Belski aa23bc6d1d fix dir separator 2015-08-21 14:08:33 +02:00
Anatol Belski 9e69ef4ce2 fix dir separator in test 2015-08-21 14:05:58 +02:00
Anatol Belski e8f37fe3dc fix dir separator in test 2015-08-21 14:04:08 +02:00
Ferenc Kovacs c7c9858ba1 5.6.14 next 2015-08-20 09:56:47 +02:00
Christoph M. Becker 6c99cb2929 updated NEWS 2015-08-19 16:25:59 +02:00
Christoph M. Becker 484b92919b Fix #70303: Incorrect constructor reflection for ArrayObject
The first parameter of ArrayObject::__construct() is optional. Reflection
should reflect this.
2015-08-19 16:23:16 +02:00
Xinchen Hui b584b51398 Fixed bug #70290 (Null pointer deref (segfault) in spl_autoload via ob_start) 2015-08-19 18:41:28 +08:00
Christoph M. Becker c12aa3c7ce Fix #67604: The built windows documention refers to nonexistent dll
Since quite a while the Windows builds ship with php5apache2_4.dll, but not
with other server modules. We fix some out-dated info in install.txt.
2015-08-18 21:21:28 +02:00
Côme Bernigaud 54bd91175d Merge branch 'pull-request/1477' into PHP-5.6
* pull-request/1477:
  Patch from Rainer Jung to provide Solaris LDAP support
2015-08-18 17:17:28 +02:00
Côme Bernigaud 40befb943c Patch from Rainer Jung to provide Solaris LDAP support 2015-08-18 16:52:44 +02:00
Christoph M. Becker 3ed58fb5d7 updated NEWS 2015-08-17 17:27:13 +02:00
Christoph M. Becker bb057498f7 Fix #70277: new DateTimeZone($foo) is ignoring text after null byte
The DateTimeZone constructors are not binary safe. They're parsing the timezone
as string, but discard the length when calling timezone_initialize(). This
patch adds a tz_len parameter and a respective check to timezone_initialize().
2015-08-17 15:58:37 +02:00
Derick Rethans b010a9d846 Fixed sorting order
It needs to match the strcasecmp in parse_tz.c.
2015-08-16 21:27:07 +01:00
Tjerk Meesters b0c5439b5f Updated NEWS for #70157 2015-08-15 15:13:01 +08:00
Tjerk Meesters 71daca28d4 Merge branch 'bug70157' into PHP-5.6
* bug70157:
  Fixed #70157 parse_ini_string() segmentation fault with INI_SCANNER_TYPED
2015-08-15 15:11:31 +08:00
Tjerk Meesters 0d7159d26d Fixed #70157 parse_ini_string() segmentation fault with INI_SCANNER_TYPED 2015-08-15 15:10:34 +08:00
Christoph M. Becker a4e0539188 fixed wrong params in proto 2015-08-15 02:23:56 +02:00
Christoph M. Becker 23d0b93893 updated NEWS 2015-08-14 17:11:33 +02:00
Christoph M. Becker 9c805a6cb3 Fix #70264: CLI server directory traversal
On Windows the built-in webserver doesn't prevent directory traversal when
backslashes are used as path component separators. Even though that is not a
security issue (the CLI webserver is meant for testing only), we fix that by
replacing backslashes in the path with slashes on Windows, because backslashes
may be valid characters for file names on other systems, but not on Windows.
2015-08-14 17:05:31 +02:00
Christoph M. Becker 0e51f9798c updated NEWS 2015-08-14 14:20:37 +02:00
Christoph M. Becker e66bf11638 Fix #70266 (DateInterval::__construct.interval_spec is not supposed to be optional)
The required_num_args argument of ZEND_BEGIN_ARG_INFO_EX() has to be 1.
2015-08-14 14:19:12 +02:00
Christoph M. Becker cd18ba117c updated NEWS 2015-08-13 14:21:17 +02:00
Christoph M. Becker b9f23c2152 Fix #70232: Incorrect bump-along behavior with \K and empty string match
To do global matching (/g), for every empty match we have to do a second match
with PCRE_NOTEMPTY turned on. That may fail, however, when the \K escape
sequence is involved. For this purpose libpcre 8.0 introduced the
PCRE_NOTEMPTY_ATSTART flag, which we will use if available, and otherwise fall
back to the old (possibly buggy) behavior.
2015-08-13 14:20:04 +02:00
Derick Rethans f94bcb1026 Of course, we support v2 in PHP 5.6 as well. 2015-08-13 11:07:16 +01:00
Derick Rethans 890204fa45 Updated to version 2015.6 (2015f) 2015-08-13 10:54:03 +01:00
Derick Rethans a1c06f10dd Updated to version 2015.6 (2015f) 2015-08-12 22:00:13 +01:00
Anatol Belski c173fef363 update NEWS 2015-08-11 17:37:36 +02:00
Anatol Belski 797e30f4fc Fixed bug #70198 Checking liveness does not work as expected 2015-08-11 17:36:10 +02:00
Anatol Belski 87db2e4a91 fix news entry 2015-08-11 16:52:13 +02:00
Anatol Belski 8708fe7835 updated NEWS 2015-08-11 16:50:53 +02:00
Anatol Belski 80bc2133cd fix bug #69833 mcrypt fd caching not working 2015-08-11 16:49:28 +02:00
Xinchen Hui 79cd9a18b5 Fixed bug #70237 (Empty while and do-while segmentation fault with opcode on CLI enabled). 2015-08-11 21:01:56 +08:00
Christoph M. Becker 42ef2b500b updated NEWS wrt. bug #69487 2015-08-11 01:36:39 +02:00
Christoph M. Becker 48c71cd94b Fix #69487: SAPI may truncate POST data
If SG(request_info).request_body can't be completely written (e.g. due to a
full drive), only parts of the POST data will be available. This patch changes
this, so that SG(request_info).request_body will be reset in this case, and a
warning will be thrown.
2015-08-11 01:32:13 +02:00
Lior Kaplan 8bac087a79 Add CVE IDs asigned to #69085 (PHP 5.6.7) 2015-08-10 11:54:39 +03:00
Lior Kaplan eaf5beabf4 Align NEWS with 5.6.12 2015-08-10 11:52:23 +03:00
Lior Kaplan c1127c4de3 Add entries for phar bug fixes in 5.6.11 (also have CVE assigned) 2015-08-10 11:49:18 +03:00
Christoph M. Becker 36cbb7cc4c updated NEWS 2015-08-09 02:43:41 +02:00
wusuopu 72976e2497 Fix #66606: Sets HTTP_CONTENT_TYPE but not CONTENT_TYPE
The patch will store Content-Type header value in both HTTP_CONTENT_TYPE field and CONTENT_TYPE field.
2015-08-09 02:37:16 +02:00
Christoph M. Becker 1b4a80332c added tests for bug #66606 2015-08-09 02:36:58 +02:00
Ferenc Kovacs 1797a716ed fix NEWS 2015-08-07 08:46:10 +02:00
Stanislav Malyshev 362bbaa2dc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.29 next

Conflicts:
	configure.in
	main/php_version.h
2015-08-05 00:00:54 -07:00
Stanislav Malyshev 54187fa4b9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2015-08-04 16:45:55 -07:00
Stanislav Malyshev eb7ba73079 virtual_file_ex uses emalloc in 5.6+ 2015-08-04 16:31:57 -07:00
Stanislav Malyshev 568a35f84f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  __wakeup doesn't have to be final
2015-08-04 16:13:53 -07:00
Stanislav Malyshev ed709d5aa0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  fix test
  update NEWS
  Fix bug #70019 - limit extracted files to given directory
  Do not do convert_to_* on unserialize, it messes up references
  Fix #69793 - limit what we accept when unserializing exception
  Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
  Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
  ignore signatures for packages too
  Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
  Fixed bug #69892
  Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
  Improved fix for Bug #69441
  Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
  Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
  Fix bug #70081: check types for SOAP variables

Conflicts:
	ext/soap/php_http.c
	ext/spl/spl_observer.c
2015-08-04 15:29:13 -07:00
Christoph M. Becker 8d31e463a0 fixed test 2015-08-01 23:52:35 +02:00
Christoph M. Becker 12f099e7bc mentioned cURL file uploads in the "backward incompatible changes" section 2015-08-01 14:15:44 +02:00
Christoph M. Becker 6576d809a5 test fails with old libxml2; skip in this case 2015-07-31 19:52:42 +02:00
Christoph M. Becker cdabbd9542 test requires imagejpeg(); skip otherwise 2015-07-31 13:51:49 +02:00
Julien Pauli d7f354fa57 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Adjust Git-Rules
  5.4.44 next
2015-07-29 10:04:33 +02:00
Anatol Belski 9fdb8c2ccd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #70002 TS issues with temporary dir handling
2015-07-28 17:42:37 +02:00
Anatol Belski 54bf6352fe updated NEWS 2015-07-28 17:42:25 +02:00
Anatol Belski 1647ee7ef0 update NEWS 2015-07-28 10:29:24 +02:00
Anatol Belski 20e765b841 Fixed bug #69900 Too long timeout on pipes 2015-07-28 10:28:45 +02:00
Ferenc Kovacs e4153e9144 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  make the travis irc notification a oneliner
2015-07-26 22:06:51 +02:00
Christoph M. Becker 5be8872f44 allow to skip slow tests 2015-07-26 17:33:09 +02:00
Anatol Belski e42a29bf81 updated libs_versions.txt 2015-07-24 20:23:07 +02:00
Christoph M. Becker 05ccc1f2d4 added regression test for bug #55472, which has already been fixed as of PHP
5.5.0
2015-07-24 01:23:33 +02:00
Christoph M. Becker 1a7db40a1f Fix #53854: Missing constants for compression type
The constants have already been added long ago. This patch just adds a PHPT
which checks the recognition of the respective compression methods.
Unfortunately, I've not been able to assemble a zip with all compression
methods.
2015-07-23 21:36:14 +02:00
Christoph M. Becker 35e717e12e updated NEWS 2015-07-23 18:37:07 +02:00
Christoph M. Becker 87829c09a1 Fix #70052: getimagesize() fails for very large and very small WBMP
Very large WBMP (width or height greater than 2**31-1) cause an overflow and
circumvent the size limitation of 2048x2048 px. Very small WBMP (less than 12
bytes) cause a read error and are not recognized. This patch fixes both bugs.
2015-07-23 18:31:28 +02:00
Anatol Belski 91f985b2f9 fix config.w32 2015-07-23 07:39:25 +02:00
Anatol Belski 3d38db3576 fix C99 compat 2015-07-23 07:39:16 +02:00
Lior Kaplan 6aa44ac73a Align CVE format for #69669 2015-07-22 20:35:31 +03:00
Lior Kaplan 8560138274 Fix 69882 entry 2015-07-22 20:34:31 +03:00
Julien Pauli 3eee495570 5.6.13 now 2015-07-22 09:27:49 +02:00
Kubo2 f18ba0f9c9 Add tests for json_last_error()/json_last_error_msg() failures 2015-07-21 01:50:40 +02:00
Christoph M. Becker e3a85074ed updated NEWS 2015-07-21 01:17:51 +02:00
Christoph M. Becker f1228ebc61 Merge branch 'pull-request/1425' into PHP-5.6
* pull-request/1425:
  revised bug53156.phpt
  Fix #53156: imagerectangle problem with point ordering
2015-07-21 01:13:04 +02:00
Christoph M. Becker 8461a87454 updated NEWS 2015-07-20 23:40:23 +02:00
Christoph M. Becker e7f2356665 Fix #66387: Stack overflow with imagefilltoborder
The stack overflow is caused by the recursive algorithm in combination with a
very large negative coordinate passed to gdImageFillToBorder(). As there is
already a clipping for large positive coordinates to the width and height of
the image, it seems to be consequent to clip to zero also.
2015-07-20 23:36:32 +02:00
Christoph M. Becker 2ec8611293 revised bug53156.phpt 2015-07-20 03:05:22 +02:00
Christoph M. Becker 72b73e24a0 Fix #53156: imagerectangle problem with point ordering
Contrary to imagefilledrectangle(), imagerectangle() has the documented
limitation that the given points have to be the upper left and the lower right
corner, respectively. However, libgd already caters to upper right / lower left
pairs, and not catering to the other two combinations seems to be an oversight.
2015-07-20 02:14:29 +02:00
Christoph M. Becker 90de2aeaac Added basic test for imagewebp() and imagecreatefromwebp() 2015-07-19 23:05:07 +02:00
Christoph M. Becker 4b2d025937 updated NEWS 2015-07-19 22:39:18 +02:00
Christoph M. Becker a31fe58d80 Fix #70102: imagecreatefromwebm() shifts colors
libgd internally uses ARGB format, so we have to decode to ARGB instead of
RGBA.
2015-07-19 22:33:54 +02:00
Christoph M. Becker d3958b32ca fixed Fix #66590, which may segfault 2015-07-19 21:54:55 +02:00
Christoph M. Becker 9e08c990ac updated NEWS 2015-07-19 17:43:44 +02:00
Christoph M. Becker 96e42403d5 Fix #66590: imagewebp() doesn't pad to even length
The code in the bundled libgd uses libvpx and writes the riff manually. The
code generates the correct even size, but neglects the padding. It's possible
older versions of libwebp would decode this, but libwebp 0.4.0 does not.

Let's apply the patch supplied by one of the WebP developers.
2015-07-19 17:38:04 +02:00
Christoph M. Becker abc3598f47 updated NEWS 2015-07-18 22:50:11 +02:00
Christoph M. Becker 8c483ce36c Fix #70096: Repeated iptcembed() adds superfluous FF bytes
When there is already an APP13 marker segment in the file, iptcembed() doesn't
skip the first byte (0xFF) of this segment, what leads to unnecessary and
potentially invalid duplication of this byte. This patch fixes this issue.
2015-07-18 22:48:54 +02:00
Christoph M. Becker a66efb0b15 fixed PHPT that is always being skipped or otherwise would fail 2015-07-18 21:33:20 +02:00
Bob Weinand 37e03f6b32 Fix test; this should properly emit a fatal error, just as every other by-ref assignment to an overloaded object 2015-07-16 09:29:43 +02:00
Bob Weinand f57cb13c56 Backport fix for bug #70083 to PHP-5.6 2015-07-15 22:46:53 +02:00
Christoph M. Becker 72554891e3 Fix #53840: Misleading extension entries in php.ini
As of PHP 5.3.0 the php_pspell.dll is not delivered anymore with the Windows
binaries, and according to bug #47464 that's highly unlike to change. So it's
appropriate to remove the respective extension entry from php.ini.
2015-07-14 10:09:29 +02:00
Christoph M. Becker 140e80acc0 updated NEWS 2015-07-13 22:29:10 +02:00
Christoph M. Becker 2e34febb73 Fix #66882: imagerotate by -90 degrees truncates image by 1px
Contrary to the external libgd, the bundled libgd doesn't use optimized
rotation algorithms for negative square angles. We fix that now.

There are other improvements in gdImageRotateInterpolated() in the external
libgd. I'll leave them out for now, in the hope that we'll be able to rejoin
the two libraries rather soon.
2015-07-13 22:18:56 +02:00
Christoph M. Becker 72c2fc44e0 updated NEWS 2015-07-13 18:34:40 +02:00
Christoph M. Becker 1a4722a89e Fix #70064: imagescale(..., IMG_BICUBIC) leaks memory
A temporary image (tmp_im) is created with gdImageTrueColor() and freed with
gdFree() instead of gdImageDestroy(). Let's fix that.
2015-07-13 18:30:33 +02:00
Christoph M. Becker 25e5c8ac31 updated NEWS 2015-07-13 15:54:57 +02:00
Christoph M. Becker fa53d8463f Fix #69024: imagescale segfault with palette based image
imagescale(..., IMG_BICUBIC) is not supposed to work with palette images, so we
fix that by converting to true color if necessary. Basically the same fix has
already been applied to the external libgd[1].

[1] <https://github.com/libgd/libgd/commit/723ea520bed3b5854df87393c687323d3930edf3>
2015-07-13 15:48:48 +02:00
Christoph M. Becker 2939bce9f3 updated NEWS 2015-07-13 01:41:46 +02:00
Christoph M. Becker 094decc3c0 Fix #53154: Zero-height rectangle has whiskers
To avoid drawing the corner pixels twice, gdImageRectangle() draws the vertical
lines 2 points shorter than the actual side of the rectangle. However, this
causes "whiskers" for rectangles with height 0. This patch fixes this issue and
at the same time optimizes the algorithm by drawing only a single line for zero
height and zero width rectangles.
2015-07-13 01:33:00 +02:00
Christoph M. Becker 591fd4cdc3 updated NEWS 2015-07-12 23:13:13 +02:00
Christoph M. Becker 891ff131ef Fix #67447: imagecrop() adds a black line when cropping
A simple one-off error: imagecrop)() copied only width-1 and height-1 pixels.
2015-07-12 23:05:53 +02:00
Christoph M. Becker c0ac51dc07 updated NEWS 2015-07-12 16:38:23 +02:00
Christoph M. Becker ba7c3a1bb4 Fix #68714: copy 'n paste error
Actually, this is not really a bug fix, but rather a simplification and
optimization in the same vein as has been done with the external libgd, but
going a small step further and joining both for loops.
2015-07-12 16:32:38 +02:00
Christoph M. Becker a8dbe655e5 Added XFAIL test for bug #53640 2015-07-12 00:10:56 +02:00
Christoph M. Becker bac1fe7438 updated NEWS 2015-07-11 20:58:50 +02:00
Christoph M. Becker c40f40656e Fix #66339: PHP segfaults in imagexbm
The file parameter of the XBM image ZPP is not properly taken into account. If
it is NULL that would result in a segfault, because gdImageXbmCtx() is not
prepared to take a NULL file_name. If it is not NULL the XBM data would be
written to STDOUT, because the stream is not initialized. This patch fixes both
issues.
2015-07-11 20:54:07 +02:00
Christoph M. Becker 6ac4c57f72 updated NEWS 2015-07-11 17:50:42 +02:00
Christoph M. Becker 450fbdc740 Fix #70047: gd_info() doesn't report WebP support
Despite being documented, the array returned by gd_info() doesn't have a 'WebP
Support' key. This patch adds it.
2015-07-11 17:49:13 +02:00
Edgar R. Sandi 49c0c1299a Adding tests for getprotobyname and getprotobynumber functions 2015-07-11 00:16:42 +02:00
Ferenc Kovacs a7dc1274f0 add missing NEWS entry 2015-07-10 17:25:44 +02:00
Ferenc Kovacs ec25f69c5d add missing NEWS entry 2015-07-10 02:30:29 +02:00
Ferenc Kovacs ab66152c68 move the use-after-free fixes to 5.6.11 2015-07-09 20:01:37 +02:00
Julien Pauli b1a9b89773 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.27 release

Conflicts:
	main/php_version.h
2015-07-08 17:00:29 +02:00
Xinchen Hui c75d245e82 Revert "Fixed invalid read"
I must be confused while switching from master to 5.6

This reverts commit 94957a7091.
2015-07-08 22:34:27 +08:00
Xinchen Hui 94957a7091 Fixed invalid read 2015-07-08 19:19:37 +08:00
Xinchen Hui ca30d5bf39 Fixed bug #70012 (Exception lost with nested finally block) 2015-07-08 17:14:19 +08:00
Christoph M. Becker e68b5252a2 fixed typo in test for bug #66985 2015-07-07 23:35:28 +02:00
Stanislav Malyshev 6c884e8e84 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Better fix for bug #69958
  update news
  Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
  Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
  Fix bug #69958 - Segfault in Phar::convertToData on invalid file
  Better fix for bug #69958
  Better fix for bug #69958
  update news
  Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
  Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
  Fix bug #69958 - Segfault in Phar::convertToData on invalid file

Conflicts:
	ext/phar/phar_object.c
2015-07-07 10:12:51 -07:00
Anatol Belski c0142de470 fix C89 compat 2015-07-07 18:39:33 +02:00
Julien Pauli 4c34d57414 Fix test related to c22da81 2015-07-07 16:01:44 +02:00
Ferenc Kovacs bdb9c0da86 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add missing second argument for ucfirst to the proto
2015-07-07 15:49:44 +02:00
Xinchen Hui 26471eb69c Fixed bug #69972 (Use-after-free vulnerability in sqlite3SafetyCheckSickOrOk()) 2015-07-07 21:37:35 +08:00
Xinchen Hui e41f600365 Fixed bug #69970 (Use-after-free vulnerability in spl_recursive_it_move_forward_ex()) 2015-07-07 21:25:28 +08:00
Julien Pauli c22da81b71 Fixed double ZEND_TICKS opcode generation for declare() 2015-07-07 14:56:05 +02:00
Côme Bernigaud 022068342b Attempt at falling back on ldap_find_control for Mac OS 2015-07-06 14:54:04 +02:00
Côme Bernigaud 42f7e4c044 Updated README, added test to create LDAP base if missing and ease tests 2015-07-06 14:26:49 +02:00
Dominic b27bcd90b3 Cleaned white spaces in PHP_INI definition of phar
Removes unnecessary white spaces.
2015-07-05 01:10:22 -07:00
Stanislav Malyshev 04ca04f830 Merge branch 'pull-request/1324' into PHP-5.6
* pull-request/1324:
  fix typo, see #68476
2015-07-05 01:01:00 -07:00
Anatol Belski b281211979 fix backport mistake
in 5.6 it has to be explicitly copied to avoid double free
2015-07-03 16:21:02 +02:00
Christoph M. Becker 344ff5dd4c fixed fix #69975 wrt. ODBCVER < 0x0300 2015-07-03 13:30:39 +02:00
Anatol Belski d870683d6b backport c01943bffc into 5.6 2015-07-03 11:16:02 +02:00
Edgar R. Sandi 48d71af7ed Added more tests to improve function coverage 2015-07-03 03:02:40 +02:00
Christoph M. Becker 616661e0f8 updated NEWS 2015-07-03 00:23:44 +02:00
Christoph M. Becker 16db4d1462 Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns
The SQL Server Native Client 11.0 and maybe other ODBC drivers report
NVARCHAR(MAX) columns as SQL_WVARCHAR with size 0. This causes too small a
buffer to be emalloc'd, likely causing a segfault in the following. As we don't
know the real size of the column data, we treat such colums as
SQL_WLONGVARCHAR.

The related bug #67437 suggests that some drivers report a size of ~4GB. It is
not certain that this is really the case (there might be some integer overflow
involved, and anyway, there has been no feedback), so we do not cater for this
now. However, it would not be hard to treat all sizes above a certain threshold
in a similar way, i.e. as SQL_WLONGVARCHAR.
2015-07-03 00:15:47 +02:00
Anatol Belski 57525d01dc keep LDAP_DEPRECATED in config.w32 2015-06-30 09:30:48 +02:00
Edgar R. Sandi 1b1a86c415 Improved code coverage of explode function 2015-06-29 23:49:41 +02:00
Edgar R. Sandi d2bc45f6b3 Added basic and error tests for hex2bin function 2015-06-29 23:10:50 +02:00
Edgar R. Sandi a8d61ab7f0 adding several other testing scenarios of code without coverage in stripcslashes function 2015-06-29 19:20:23 +02:00
Edgar R. Sandi 7acdfdc84e adding another testing scenario without coverage in setlocale function 2015-06-29 18:15:03 +02:00
Dmitry Stogov ee1e67fae6 On Windows PHP may be restarted with different set of DSO extensions without SHM reset.
This may make optimisation for entities from DSO extensions inconsistent.
2015-06-29 17:45:56 +03:00
Côme Bernigaud 2e85e6d3ee Merge PR about LDAP cleaning by removing deprecated calls
Merge branch 'pull-request/1357' into PHP-5.6

* pull-request/1357:
  Putting back deprecated symbols for ldap_sort
  Removed deprecated function calls from ldap module
  Removed ifdefs of LDAP_API_FEATURE_X_OPENLDAP, fixed a warning
2015-06-29 09:31:37 +02:00
Stanislav Malyshev d7daf814b7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Move strlen() check to php_mail_detect_multiple_crlf()
  Fixed Bug #69874 : Can't set empty additional_headers for mail()
2015-06-29 00:30:55 -07:00
Côme Bernigaud 736d840c8b Putting back deprecated symbols for ldap_sort 2015-06-29 09:07:49 +02:00
Christoph M. Becker 7e97faa3e8 updated NEWS 2015-06-27 20:03:38 +02:00
Christoph M. Becker bbe28d3a55 Fixed #69655: php -S changes MKCALENDAR request method to MKCOL
The parsing of the request method in the CLI server has been faulty, so that
several unsupported methods have been recognized as other methods.
2015-06-27 20:02:21 +02:00
Christoph M. Becker b811bb3920 added skip condition for powershell requirement of test 2015-06-27 15:02:52 +02:00
Christoph M. Becker 0730fc8830 updated NEWS 2015-06-27 14:32:34 +02:00
Christoph M. Becker 1920ba6f7b Fix #64878: 304 responses return Content-Type header
According to RFC 7232 304 responses should not send a Content-Type header,
so the CLI server should comply.
2015-06-27 14:28:33 +02:00
Christoph M. Becker 6400ef192c added regression test for bug #69679
DOMDocument::loadHTML refuses to accept NULL bytes.
2015-06-27 01:08:56 +02:00
Christoph M. Becker bdf3bb668f slightly revised bug69462.phpt 2015-06-26 23:20:22 +02:00
Tomasz Sawicki af17316fcd Test for bug #69462
Test scenario for already fixed bug #69462 with segmentation fault when
SoapVar XML node name was null.
2015-06-26 23:19:29 +02:00
Tjerk Meesters 2ff3dafccf Fixed #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs
Squashed commit of the following:

commit a64c1d9bc4c129fd946a478bdcb55101e42157b7
Author: Tomasz Sawicki <falundir@gmail.com>
Date:   Wed Jun 24 08:49:37 2015 +0200

    Fix #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs

    The "key values mismatch" error is triggered in openssl_pkcs12_read by
    PKCS12_parse, because it uses X509_check_private_key to separate main
    certificate (which corresponds to private key) from extra certificates.
    Extra certificates usually comes first (p12 contents are reversed as
    stack) and X509_check_private_key triggers X509_R_KEY_VALUES_MISMATCH
    error.
    The fix pops "key values mismatch" error from OpenSSL error stack for
    each extra certificate if there are any.
2015-06-26 05:33:28 +08:00
Julien Pauli b1ec4515b0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix unknown size of void error
2015-06-25 19:13:20 +02:00
Anatol Belski 7bb52dda6a backport missing rev bfdc9e2805 2015-06-25 11:34:04 +02:00
Ferenc Kovacs 1efe5b1157 5.6.12 next 2015-06-25 00:21:45 +02:00
Julien Pauli ca82114f21 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.28 now - Security Only

Conflicts:
	configure.in
	main/php_version.h
2015-06-24 10:42:41 +02:00
Christoph M. Becker c201b63873 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Made bug44295-win.phpt locale independent
2015-06-24 01:42:22 +02:00
Christoph M. Becker e181931f77 updated NEWS 2015-06-24 00:42:24 +02:00
Christoph M. Becker 905c5f4858 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  updated NEWS
  Fixed bug #69768 (escapeshell*() doesn't cater to !)
  bump API version to 6.8
2015-06-24 00:32:13 +02:00
Christoph M. Becker 13347225ac updated NEWS 2015-06-23 19:36:59 +02:00
Christoph M. Becker e1561c490e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)
2015-06-23 19:32:57 +02:00
Christoph M. Becker 868b9328a0 Moved NEWS entry for bug #69864 to proper category 2015-06-23 17:30:31 +02:00
Christoph M. Becker b883fe1547 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Moved NEWS entry for bug #69864 to proper category
2015-06-23 17:28:22 +02:00
Côme Bernigaud 5250fc772d Removed deprecated function calls from ldap module
ldap_search -> ldap search_ext
ldap_search_s ->_ldap_search_ext_s
ldap_add_s -> ldap_add_ext_s
ldap_delete_s -> ldap_delete_ext_s
ldap_compare_s -> ldap_compare_ext_s
ldap_value_free -> ldap_memvfree

Only thing left is ldap_sort_entries, no replacement
2015-06-23 16:44:48 +02:00
Christoph M. Becker 7953ff4ea3 updated NEWS 2015-06-23 16:43:12 +02:00
Christoph M. Becker bc47f10a97 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #69864 (Segfault in preg_replace_callback)
2015-06-23 16:36:35 +02:00
Christoph M. Becker 3e1aabbfc3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  bump API version to 6.8
2015-06-23 16:22:08 +02:00
Côme Bernigaud 9bcdd2aabe Fixed two errors in LDAP tests 2015-06-23 16:09:56 +02:00
Côme Bernigaud ea49be9b37 Removed ifdefs of LDAP_API_FEATURE_X_OPENLDAP, fixed a warning 2015-06-23 15:50:14 +02:00
George Wang 9e15ce9a38 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2015-06-22 23:40:34 -04:00
George Wang 3a169f6c0d bump API version to 6.8 2015-06-22 23:39:35 -04:00
Nikita Popov e09d3155a1 Merge branch 'PHP-5.5' into PHP-5.6 2015-06-20 16:40:53 +02:00
Xinchen Hui bca005c8d9 Merge branch 'PHP-5.5' into PHP-5.6 2015-06-19 09:35:52 +08:00
Anatol Belski 962fe01473 update NEWS 2015-06-18 22:04:03 +02:00
Anatol Belski 657f93e7b9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  fixes bug #69835: phpinfo() does not report many Windows SKUs
2015-06-18 22:03:28 +02:00
Lior Kaplan 3930e1f2fa Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #69689 (Align PCRE_MINOR with current version)
2015-06-18 17:35:54 +03:00
Lior Kaplan 811816dc25 Add CVE to bugs #69545, #69646 and #69667 2015-06-18 16:56:06 +03:00
Lior Kaplan 0f49c205f4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add CVE to bugs #69545, #69646 and #69667
2015-06-18 16:52:51 +03:00
Sara Golemon c4dd65c723 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix buffer growth in sockets/conversion.c
2015-06-17 13:34:33 -07:00
Andreas Heigl eb702637a9 Implements extended error messages
This commit introduces a new constant that can be used to retrieve more
detailed error messages.

This fixes #47222

The new constant LDAP_OPT_DIAGNOSTIC_MESSAGE is defined in PHP when the
underlying library provides (and understands) it. This is the case in
the current OpenLDAP-implementation.

Tanks to Johnny Willer who provided the solution at http://stackoverflow.com/questions/28765077/get-number-of-ad-errors-with-ldap-and-php-ldap-function-return-unprecise-error/28816473#28816473
2015-06-17 15:39:07 +02:00
Côme Bernigaud e7af0fe1eb Replaced calls to deprecated openldap functions
ldap_unbind_s   -> ldap_unbind_ext
389             -> LDAP_PORT
ldap_init       -> ldap_initialize
ldap_bind_s     -> ldap_sasl_bind_s
ldap_value_free -> ber_memvfree
Also added ldap_is_ldap_url check
2015-06-17 14:36:38 +02:00
Côme Bernigaud 8836404faf Fixed LDAP tests so that base can exists
Now you can set the base in the env var LDAP_TEST_BASE.
The base has to exists. (before tests were attempting to create/delete
the base itself)
2015-06-17 13:50:14 +02:00
Christoph M. Becker e4917bc747 updated NEWS 2015-06-17 02:20:14 +02:00
Christoph M. Becker 7958a7b38f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #61221 - imagegammacorrect function loses alpha channel
2015-06-17 02:18:53 +02:00
Derick Rethans c661e7680f - Updated to version 2015.5 (2015e) 2015-06-15 10:41:30 +01:00
Derick Rethans 76c3117af5 Empty merge 2015-06-15 10:41:30 +01:00
Derick Rethans 22a43410cb - Updated to version 2015.5 (2015e) 2015-06-15 10:28:23 +01:00
Derick Rethans dab34e2433 Empty merge 2015-06-15 10:28:23 +01:00
Derick Rethans 4903f1d139 - Updated to version .-96 () 2015-06-15 10:17:24 +01:00
Derick Rethans 3f93e4485e Empty merge 2015-06-15 10:17:24 +01:00
Matteo Beccati b564aa95be Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix copy/paste error in test
2015-06-13 08:08:21 +02:00
Matteo Beccati 3bb1a4ffe3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps)
  Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading single quote)
  Fixed bug #61574 - No MSI

Conflicts:
	ext/pdo_pgsql/pgsql_driver.c
2015-06-12 02:07:02 +02:00
Matteo Beccati afa4c3e7c7 Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading single quote) 2015-06-12 00:21:48 +02:00
Christoph M. Becker 8de667b8d2 Merge branch 'PHP-5.6' of https://git.php.net/push/php-src into PHP-5.6 2015-06-11 23:55:10 +02:00
Christoph M. Becker d8223c4424 Fixed bug #61574 - No MSI
The information regarding the Windows installers (.msi) in install.txt are
obsolete, so let's remove them.
2015-06-11 22:52:30 +02:00
Nikita Popov 1acf55eb75 Fixed bug #69803 2015-06-11 22:20:05 +02:00
Ferenc Kovacs 3f471c1c69 this is in 5.6.10, not in 5.6.9 2015-06-11 20:30:56 +02:00
Nikita Popov 8405265578 Fix bug #69740 2015-06-11 17:40:10 +02:00
Anatol Belski 702e349df4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  rework that test to allow delta for rounding errors
2015-06-11 17:06:46 +02:00
Anatol Belski d777669679 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  improve test
2015-06-11 15:36:30 +02:00
Anatol Belski b19790ab34 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  added test for bug #69646
2015-06-11 12:07:32 +02:00
Stanislav Malyshev 9d162550ac Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix bad copypaste
2015-06-11 01:52:23 -07:00
Ferenc Kovacs f4d820f2ee Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  make it possible to set the re2c and yacc paths via environment variables for genfiles
2015-06-11 00:13:40 +02:00
Anatol Belski 2b0a19f4ed updated NEWS 2015-06-10 16:41:33 +02:00
Anatol Belski effbc87ff1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  fix memory leak in pdo_pgsql closeCursor (bug 69752)
2015-06-10 16:41:07 +02:00
Anatol Belski b1f3403c98 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  regenerated the ini scanner
2015-06-10 13:16:29 +02:00
Anatol Belski 2c55ae5261 updated NEWS 2015-06-10 11:26:00 +02:00
Anatol Belski 64df05d5b1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fix #69781: phpinfo() reports Professional Editions of Windows 7/8/8.1/10 as "Business"
  Revert "Fix #69781: phpinfo() reports Professional Editions of Windows 7/8/8.1/10 as "Business""
  Fix #69781: phpinfo() reports Professional Editions of Windows 7/8/8.1/10 as "Business"
2015-06-10 11:25:21 +02:00
Anatol Belski f4707ed256 updated NEWS 2015-06-10 10:44:02 +02:00
Anatol Belski ca467d5117 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  fixed bug, where a linebreak immediately after an opening quote of a value caused a segfault
  made failing test more meaningful
  added failing test
2015-06-10 10:43:23 +02:00
Ferenc Kovacs b5d5baa882 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add missing NEWS entries
2015-06-10 09:37:00 +02:00
Ferenc Kovacs 0d7f22c157 add missing NEWS entries 2015-06-10 09:36:53 +02:00
Stanislav Malyshev 60a2742fd2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add NEWS
2015-06-09 21:35:41 -07:00
Stanislav Malyshev c095af584c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68776
2015-06-09 21:34:06 -07:00
Stanislav Malyshev 1346c3df42 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
  update NEWS
2015-06-09 17:12:25 -07:00
Stanislav Malyshev 8b1919ed73 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #69646	OS command injection vulnerability in escapeshellarg
  Fix #69719 - more checks for nulls in paths
  fix test description
  Fixed Buf #68812 Unchecked return value.
2015-06-09 15:32:27 -07:00
Ferenc Kovacs 8574290d9b fix NEWS 2015-06-09 13:57:28 +02:00
Ferenc Kovacs 72d0796d66 these will be part of 5.6.11 2015-06-09 13:41:00 +02:00
Ferenc Kovacs 632c5d6250 add missing NEWS entry 2015-06-09 13:31:45 +02:00
Julien Pauli 0bfb454acb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.27 now

Conflicts:
	configure.in
	main/php_version.h
2015-06-09 10:35:42 +02:00
Remi Collet 5eecc6bcde Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test description
  Fixed Buf #68812 Unchecked return value.
2015-06-09 09:13:19 +02:00
George Wang eb15ec385e Fixed Buf #68812 Unchecked return value. 2015-06-08 15:46:56 -04:00
Lior Kaplan b861a4a4d2 NEWS entry for: Upgrade bundled sqlite to 3.8.10.2
Includes fixes for CVE-2015-3414, CVE-2015-3415, CVE-2015-3416
2015-06-08 22:39:00 +03:00
Lior Kaplan 79528c5e24 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Upgrade bundled sqlite to 3.8.10.2
2015-06-08 22:37:02 +03:00
Anatol Belski 18b3508c3c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed test related to fix for bug #67805
2015-06-08 13:28:23 +02:00
Anatol Belski 4482c03622 updated NEWS 2015-06-08 12:12:24 +02:00
Anatol Belski 3c02e6f457 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fix bug #67805 - SplFileObject setMaxLineLength.
2015-06-08 12:11:58 +02:00
Anatol Belski 9fde041a7d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS for bug #69642 fix
2015-06-05 17:59:08 +02:00
Anatol Belski fb49ffe62e updated NEWS for bug #69642 2015-06-05 17:58:39 +02:00
Gunter Grodotzki 5f80da29ee fix typo, see #68476 2015-06-04 18:27:08 +02:00
Xinchen Hui 93b7ba4c9f Merge branch 'PHP-5.5' into PHP-5.6 2015-06-04 21:08:57 +08:00
Stanislav Malyshev e96c64ed5e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #69737 - Segfault when SplMinHeap::compare produces fatal error
2015-06-01 22:53:56 -07:00
Dmitry Stogov f863d89b5c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #69732 (can induce segmentation fault with basic php code).

Conflicts:
	Zend/zend_vm_execute.h
2015-06-01 12:17:32 +03:00
Stanislav Malyshev 4758505b27 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  improve fix for Bug #69545
2015-05-31 17:30:29 -07:00
Anatol Belski 34bcd69f82 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix phpize mode for manifest embedding
2015-05-31 23:02:01 +02:00
Anatol Belski 6f1c006b6d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  split the original test to check behaviour diff on 32- and 64-bit
  recovered original meaning of SXE xpath test
2015-05-31 21:30:46 +02:00
Anatol Belski 021effbe97 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  backport the basic code to properly recognize win 8.1 and 10
  backport the manifest changes for makefile
  backport the manifest changes in js
  add default manifest
  add test
2015-05-31 19:32:21 +02:00
Stanislav Malyshev 60c925fd41 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update PCRE version (bug #69689)
  move test
  NEWS 5.4
  fix new test
  Fixed Bug #69667 segfault in php_pgsql_meta_data
  5.4.42 next
2015-05-30 21:18:50 -07:00
Anatol Belski ff30d0319a updated NEWS 2015-05-29 21:18:37 +02:00
Anatol Belski 8e02be16d7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Refactored the fix for bug #66084, by cmb@php.net
  Merge the fix for #69703 to 5.5 per request from Julien
2015-05-29 21:18:04 +02:00
Nikita Popov e7d0ca39e5 Preserve VARIADIC flag for Closure::__invoke()
The 13 arguments are for the benefit of PHP 7, where the first
twelve use the bitmask.
2015-05-29 11:07:23 +02:00
Kalle Sommer Nielsen 424005a301 Shouldn't have been committed, so revert 2015-05-28 14:37:52 +02:00
Kalle Sommer Nielsen de696d851f Fixed bug #69703 (Use __builtin_clzl on PowerPC) -- Patch by dja at axtens dot net
# Julien, even though 5.5 is still non security mode I don't think we should merge this patch but I leave the choice with you
2015-05-28 14:30:18 +02:00
Remi Collet 7611d1c41b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Relax a little this test, because random is not reliable
2015-05-28 10:37:39 +02:00
Ferenc Kovacs 482c69bf63 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  empty commit to trigger a github mirror
2015-05-28 02:09:12 +02:00
Ferenc Kovacs 4d8ae36695 move to 5.6.11-dev 2015-05-28 02:05:50 +02:00
Xinchen Hui 1f077cc4f4 Merge branch 'PHP-5.5' into PHP-5.6 2015-05-26 16:24:39 +08:00
Remi Collet c630779648 NEWS 2015-05-24 09:39:44 +02:00
Remi Collet 565de1ae64 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed Bug #69479 GD fails to build with newer libvpx
2015-05-24 09:39:20 +02:00
Anatol Belski 4e002b4412 updated NEWS 2015-05-23 23:02:09 +02:00
Anatol Belski f3cec08e65 increase the internal post data buffer
This brings speedup and fixes issues with var parsing. Default BUFSIZ
on Windows is 512 bytes which causes too much reallocation work.
2015-05-23 18:44:39 +02:00
Anatol Belski 0bc3a74334 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2015-05-22 21:27:19 +02:00
Lior Kaplan 2e2cbcc926 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add entry for bug #69354, fixed in 5.5.25
  Add entry about PCRE upgrade (rev 95fa7279)
  Add CVE for bugs in 5.5.25
2015-05-22 11:18:32 +03:00
Lior Kaplan f736934af0 Add CVE for bugs in 5.6.9 2015-05-22 11:15:36 +03:00
Remi Collet 68e368ed34 NEWS 2015-05-21 14:07:02 +02:00
Remi Collet 17d5ebe76e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #69680 (phar symlink in binary directory broken).
  Make the phar symlink relative
2015-05-21 14:06:26 +02:00
Anatol Belski 4fe938b0a9 remove duplicated declaration, fix build 2015-05-21 10:56:14 +02:00
Anatol Belski e85653051a updated NEWS 2015-05-21 09:47:59 +02:00
Anatol Belski fc94fb3e5b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  added missing GLOB_BRACE support check
  added SKIPIF section to test to make sure that GLOB_BRACE is supported
  fix #69628: complex GLOB_BRACE fails on Windows
  added PHPT to check for bug #69628
2015-05-21 09:47:30 +02:00
Anatol Belski ad4d022bdf Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix handling VAR vs VAR= in putenv
2015-05-21 08:21:53 +02:00
Remi Collet 59a78d48f0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  move test
2015-05-20 14:02:25 +02:00
Remi Collet f228bc5230 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix new test
2015-05-20 08:30:44 +02:00
Remi Collet 6da4feac35 NEWS 5.6 2015-05-20 08:11:55 +02:00
Remi Collet e41a2009d6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS 5.5
  Fixed Bug #69667 segfault in php_pgsql_meta_data
  fix test output (32bits)
2015-05-20 08:11:24 +02:00
Ferenc Kovacs 4c5efc7456 fix NEWS 2015-05-15 01:08:50 +02:00
Ferenc Kovacs e09a0b74d9 fix release dates for 5.6.9/5.6.10. spotted by @Jan-E on github 2015-05-13 15:29:08 +02:00
Julien Pauli 8fc4c9444f Updated NEWS 2015-05-13 14:29:53 +02:00
Julien Pauli 7c5de1e99e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-05-13 14:29:29 +02:00
Julien Pauli c09fad97d6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Close fd at the end, otherwise people complain
  Add file descriptor caching to mcrypt_create_iv()
2015-05-13 14:19:04 +02:00
Julien Pauli 1b12982d39 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-05-13 13:06:08 +02:00
Stanislav Malyshev 587ddf6ddc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix format
  update NEWS
  Add test for bug #69522
  Update tests
  Fix bug #69522 - do not allow int overflow
  Forgot test file
  Fix bug #69403 and other int overflows
  Fixed bug #69418 - more s->p fixes for filenames
  Fixed bug #69364 - use smart_str to assemble strings
  Fix bug #69453 - don't try to cut empty string
  Fix bug #69545 - avoid overflow when reading list

Conflicts:
	ext/standard/pack.c
2015-05-12 14:26:06 -07:00
Julien Pauli adbb301a70 Updated NEWS 2015-05-12 16:13:39 +02:00
Julien Pauli 2ddb560c2e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix for #66048
2015-05-12 16:12:51 +02:00
Nikita Popov e1cb22a23e Fix bug #69599 2015-05-12 15:08:12 +02:00
Stanislav Malyshev 33594b78ec Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #48147 - implement manual handling of  //IGNORE for broken libc
2015-05-09 18:57:18 -07:00
Dmitry Stogov 329513c3a7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #69549 (Memory leak with opcache.optimization_level=0xFFFFFFFF)

Conflicts:
	NEWS
2015-05-07 12:16:40 +03:00
Remi Collet ac3ca0280a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Relax tests failing on i386 with new zic
2015-05-05 11:23:13 +02:00
Rasmus Lerdorf 741382d968 Remove SSLv3 test dependencies
SSLv3 is going away. Debian8 already ships with an openssl
with no SSLv3 support which was causing these tests to fail.

Conflicts:
	ext/openssl/tests/session_meta_capture.phpt
2015-05-05 10:40:55 +02:00
Xinchen Hui ba1c78c410 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2015-05-05 11:06:23 +08:00
Xinchen Hui 24992a1422 Merge branch 'PHP-5.5' into PHP-5.6 2015-05-05 11:06:14 +08:00
Anatol Belski c4f8dd9071 add config vars for phpize 2015-05-04 15:59:14 +02:00
Xinchen Hui 7289981c61 Merge branch 'PHP-5.5' into PHP-5.6 2015-05-04 19:22:22 +08:00
Xinchen Hui e49a0e17b7 Merge branch 'PHP-5.5' into PHP-5.6 2015-05-04 10:34:48 +08:00
John Boehr 56fdae9018 Fix uninitialized value with extension traits 2015-05-04 10:33:26 +08:00
Stanislav Malyshev 428d0983cd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Upgrade to PCRE 8.37 due to various bugfixes
2015-04-29 22:28:04 -07:00
Ferenc Kovacs 9c7496e0dd 5.6.10 will be next 2015-04-30 00:01:55 +02:00
Julien Pauli d004c1d5ff Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.26 now

Conflicts:
	configure.in
	main/php_version.h
2015-04-29 11:21:18 +02:00
Derick Rethans ce9b6e5ee8 Merge branch 'PHP-5.5' into PHP-5.6 2015-04-29 00:28:56 +01:00
Derick Rethans 7d6d8a3369 Merge branch 'PHP-5.5' into PHP-5.6 2015-04-29 00:27:55 +01:00
Derick Rethans a1fef89abe Merge branch 'PHP-5.5' into PHP-5.6 2015-04-29 00:09:00 +01:00
Derick Rethans 43c69443bb Merge branch 'PHP-5.5' into PHP-5.6 2015-04-28 15:57:35 +01:00
Anatol Belski c4739897e7 updated NEWS 2015-04-28 15:34:11 +02:00
Anatol Belski 4af9ca544e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  backported patch for bug #69472
2015-04-28 15:32:22 +02:00
Anatol Belski 5cfb81d5b0 updated NEWS 2015-04-28 15:14:45 +02:00
Anatol Belski b78f8220e7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #69381 out of memory with sage odbc driver
2015-04-28 15:13:46 +02:00
Anatol Belski 7ccafe40c2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix VC9 build with PCRE
  Revert "Fix segfault in ext/date since 957aa2"
2015-04-28 14:38:45 +02:00
Matteo Beccati e645837ba1 Revert "Fix segfault in ext/date since 957aa2"
This reverts commit b5e5098c50.

A proper fix from Derick is underway. I apologise for stepping on his toes ;)
2015-04-28 12:56:15 +02:00
Remi Collet 4131f6bf39 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  relax tests with huge year (new zic)
  ignore second value for huge timestamp test (new zic)
  relax test for date < INT32_MIN (new zic)
  relax bigbang content (new zic)
  Make date transitions tests more flexible
2015-04-28 12:50:09 +02:00
Matteo Beccati df490dcf0c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix segfault in ext/date since 957aa2
2015-04-28 10:57:52 +02:00
Stanislav Malyshev 19ad1389aa Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Upgrade PCRE to 8.36, it fixes some crashes
2015-04-27 23:30:57 -07:00
Derick Rethans 1e18ffd2f8 Merge branch 'PHP-5.5' into PHP-5.6 2015-04-26 11:04:35 +01:00
Derick Rethans ad9aaf8093 - Updated to version 2015.4 (2015d) 2015-04-24 17:22:33 +01:00
Derick Rethans 73a07522ef Empty merge 2015-04-24 17:22:32 +01:00
Yasuo Ohgaki 02ff308e27 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Set NULL after efree
2015-04-24 16:05:50 +09:00
Lior Kaplan 4fd3c8aebb Add entry for bug #69152 in 5.6.8 2015-04-22 19:40:56 +03:00
Lior Kaplan bfa7e11c9c Format alignment 2015-04-22 18:19:45 +03:00
Lior Kaplan e48305cdb5 Bug #68846 was fixed in 5.6.8 by 934d6ed9 2015-04-22 18:10:37 +03:00
Xinchen Hui 9db4e25927 Since 5.6 stat.cwd using emalloc (Thanks to Remi) 2015-04-22 15:14:00 +08:00
Xinchen Hui 29c449ce98 Merge branch 'PHP-5.5' into PHP-5.6 2015-04-21 22:44:45 +08:00
Xinchen Hui ceb992501b Update NEWS 2015-04-21 22:37:25 +08:00
Xinchen Hui 9d9ba493a2 Merge branch 'PHP-5.5' into PHP-5.6 2015-04-21 22:37:00 +08:00
Anatol Belski 160bf9c072 updated NEWS 2015-04-19 20:33:09 +02:00
Anatol Belski 0ec5477fbd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  fix more dir separators
2015-04-19 20:32:37 +02:00
Stanislav Malyshev d66cb721d4 Merge remote-tracking branch 'github/pr/637' into PHP-5.6
* github/pr/637:
  Remove unused code from ext/json.
2015-04-18 17:56:33 -07:00
Remi Collet 1302eb7f72 relax tests with huge year (new zic) 2015-04-18 10:00:15 +02:00
Remi Collet 3bbfb96e1a ignore second value for huge timestamp test (new zic) 2015-04-18 09:37:06 +02:00
Remi Collet 3c81e945a3 relax test for date < INT32_MIN (new zic) 2015-04-18 09:28:29 +02:00
Remi Collet 984f4b09e0 relax bigbang content (new zic) 2015-04-18 09:11:39 +02:00
Remi Collet cd93b120c3 Make date transitions tests more flexible
zic in recent glibc (2.20) introduce a new transitionn
so use a range to avoid failure when total number
of transitions is different (243/244)
2015-04-18 07:47:47 +02:00
Hannes Magnusson ffb788800f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  phpweb now publishes SHA256s -- and please don't cc php-announce@ - make it seperate mail
  Fixed res leak
2015-04-17 10:14:12 -07:00
Anatol Belski 042fa25896 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix column name attribute with ODBC 3.0
  migrate SQLAllocStmt for ODBC 3.0 compliance
2015-04-17 17:13:45 +02:00
Remi Collet 342acbe1c6 skip test when xml not available 2015-04-17 15:20:22 +02:00
Nikita Popov 25e45a9350 Run gmp_random tests more quickly 2015-04-16 16:29:57 +02:00
Nikita Popov 7e049b0427 Normalize gmp_remroot() behavior to GMP 5.1 2015-04-16 16:27:42 +02:00
Nikita Popov 8e167a2a00 Fix leak in gmp_pow() 2015-04-16 16:04:19 +02:00
Ferenc Kovacs 60830f49c0 this was reverted 2015-04-15 20:04:03 +02:00
Ferenc Kovacs 4ddb92be45 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  66550 will be part of 5.5.24
2015-04-15 19:54:30 +02:00
Ferenc Kovacs ef5f4ef81f 66550 will be part of 5.6.8 2015-04-15 19:54:25 +02:00
Ferenc Kovacs 272805c898 reorder entries, Core is always the first block 2015-04-15 18:53:22 +02:00
Ferenc Kovacs ad5723acf2 add missing NEWS entry 2015-04-15 18:39:16 +02:00
Ferenc Kovacs a07f3ed2a6 add missing space to the NEWS entries to align properly 2015-04-15 18:38:48 +02:00
Ferenc Kovacs 7abb318beb add missing space to the NEWS entries to align properly 2015-04-15 18:36:52 +02:00
Remi Collet 60b3526bfb bump zip release to match pecl version 2015-04-15 17:37:12 +02:00
Julien Pauli d3d5e3db2c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-04-15 14:40:33 +02:00
Anatol Belski e53947609a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix dir separator in test
2015-04-15 11:09:54 +02:00
Xinchen Hui caf4beab2d Merge branch 'PHP-5.5' into PHP-5.6 2015-04-15 10:39:17 +08:00
Stanislav Malyshev 9d7b5e30eb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed recently introduced memory leak
  Fix Bug #69402: Reading empty SSL stream hangs until timeout
2015-04-14 11:12:58 -07:00
Daniel Lowrey b9940ab1bd Update NEWS 2015-04-14 09:37:17 -06:00
Daniel Lowrey 81f356b4ae Fix Bug #69402: Reading empty SSL stream hangs until timeout 2015-04-14 09:25:11 -06:00
Nikita Popov ed7e6d4758 Merge branch 'PHP-5.5' into PHP-5.6 2015-04-14 16:36:36 +02:00
Dmitry Stogov e8fb5201ba Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #63336 is not a bug
2015-04-14 17:16:57 +03:00
Anatol Belski bc63491da8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2015-04-14 15:21:47 +02:00
Dmitry Stogov e1821090ef Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed recently introduced memory leak
2015-04-14 15:48:20 +03:00
Xinchen Hui 5fc635548e Merge branch 'PHP-5.5' into PHP-5.6 2015-04-14 19:32:28 +08:00
Derick Rethans d887ef5a04 - Updated to version 2015.3 (2015c) 2015-04-14 10:51:12 +01:00
Derick Rethans 8f384473b4 Empty merge 2015-04-14 10:51:11 +01:00
Stanislav Malyshev 5776fceb16 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: (27 commits)
  fix non-standard C
  update NEWS
  5.4.41 next
  fix CVE num
  update NEWS
  Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode)
  fix test
  fix type in fix for #69085
  fix memory leak & add test
  Fix tests
  fix CVE num
  Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability)
  Fix test
  Additional fix for bug #69324
  More fixes for bug #69152
  Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)
  Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar)
  Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
  Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
  Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
  ...

Conflicts:
	ext/standard/http_fopen_wrapper.c
2015-04-14 01:05:01 -07:00
Remi Collet dc0f2a5bad Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix type in fix for #69085
2015-04-13 14:40:43 +02:00
Xinchen Hui dd50ec1538 Remove failing test
<nikic> [19:57:28] debian has a libmcrypt patch that makes it work
<nikic> [19:57:43] but not all other distros have it
2015-04-12 12:12:16 +08:00
Xinchen Hui 8ebc443120 Update NEWs 2015-04-10 22:48:48 +08:00
Xinchen Hui fa0608077b Merge branch 'PHP-5.5' into PHP-5.6 2015-04-10 22:48:36 +08:00
Dmitry Stogov 1f5f78d4aa Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #67314 (Segmentation fault in gc_remove_zval_from_buffer)
  Fixed bug #67314 (Segmentation fault in gc_remove_zval_from_buffer)
2015-04-08 21:24:24 +03:00
Ferenc Kovacs f5c8a79fa5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix irc notification for build failure/recover
2015-04-08 19:00:21 +02:00
Dmitry Stogov ec0b888a82 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed typo
2015-04-08 15:54:10 +03:00
Nikita Popov 7e9a1c1e3f Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	Zend/zend_compile.c
	Zend/zend_compile.h
2015-04-06 22:06:48 +02:00
Nikita Popov d819b45597 Merge branch 'PHP-5.5' into PHP-5.6 2015-04-06 21:44:52 +02:00
Dmitry Stogov 812106d0c6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68652 (segmentation fault in destructor)

Conflicts:
	NEWS
2015-04-06 18:16:08 +03:00
Stanislav Malyshev 6a7a03644a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68740 (NULL Pointer Dereference)
2015-04-05 22:48:37 -07:00
Stanislav Malyshev 2a81733c87 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #66550 (SQLite prepared statement use-after-free)
2015-04-05 22:38:20 -07:00
Stanislav Malyshev c167029eb6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
  Fix bug #68601 buffer read overflow in gd_gif_in.c
  Revert "Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4"
  Fixed bug #69293
  Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable.
2015-04-05 17:37:12 -07:00
Ferenc Kovacs e78552f3aa Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add travis failure/recover notification for our irc room
2015-04-05 22:54:57 +02:00
Anatol Belski c585b4845c updated NEWS 2015-04-04 21:50:50 +02:00
Anatol Belski b1997278fd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  added test for bug #69354
  revert skipif, this should run everywhere
  further ODBC 3.0 compliance
  more compliance with the ODBC 3.0
  test fixes
2015-04-04 21:50:18 +02:00
Dmitry Stogov baf5fdf598 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Prevent GC from changing zval or object 'color' before they are actually inserted into possible roots buffer.
2015-04-02 12:30:58 +03:00
Xinchen Hui 97123042a2 Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6 2015-04-02 09:06:46 +08:00
Ferenc Kovacs 9806a37a79 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  sigh, can't even copypaste without screwing up
2015-04-02 00:07:13 +02:00
Ferenc Kovacs e70e2d8310 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  oop, put both the error number and message for both db object to the error message
2015-04-01 23:06:22 +02:00
Ferenc Kovacs faab430141 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  test fixes
2015-04-01 22:08:11 +02:00
Stanislav Malyshev 2d9399af35 Revert "Merge branch 'PHP-5.5' into PHP-5.6"
This reverts commit aa22e80b1a, reversing
changes made to 3e7f47cb03.

Conflicts:
	ext/date/php_date.c
2015-04-01 12:49:25 -07:00
Ferenc Kovacs 978128b446 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix typo: unitialized -> uninitialized
2015-04-01 18:05:57 +02:00
Xinchen Hui 9433b33ac1 Update NEWS 2015-04-02 00:01:57 +08:00
Xinchen Hui 2533fde199 Merge branch 'PHP-5.5' into PHP-5.6 2015-04-01 23:59:45 +08:00
Lior Kaplan 3409d87eab Fix typo: unitialized -> uninitialized 2015-04-01 18:21:01 +03:00
Lior Kaplan 2fd74c7f03 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix typo: unitialized -> uninitialized
2015-04-01 18:20:26 +03:00
Ferenc Kovacs 8de838dc26 fix release date 2015-04-01 01:42:12 +02:00
Ferenc Kovacs a5e68f72a7 5.6.9 is up next 2015-04-01 01:30:51 +02:00
Lior Kaplan 04c9271805 Add changelog entries for #68677, #68739 & #68740 2015-04-01 01:55:35 +03:00
Lior Kaplan c22543b3f3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68739 (Missing break / control flow in curl)
  Fixed bug #68740 (NULL Pointer Dereference)
  Fixed bug #68677 (Use After Free in OPcache)
2015-04-01 01:54:53 +03:00
Derick Rethans 2d3868984c Merge branch 'PHP-5.5' into PHP-5.6 2015-03-31 16:35:10 +01:00
Julien Pauli 133c57198e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.25 now
2015-03-31 15:57:44 +02:00
Derick Rethans 346c8f7331 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-31 11:09:23 +01:00
Lior Kaplan 0c1c7c7ecb Align entries format 2015-03-31 09:26:34 +03:00
Lior Kaplan b3d4790976 Update CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710 2015-03-31 09:24:56 +03:00
Lior Kaplan 96e33a7e98 Add CVE for bug #69207 2015-03-31 09:23:34 +03:00
Lior Kaplan e5fd3fc99d Align NEWS entries with 5.6.7 2015-03-31 09:20:29 +03:00
Lior Kaplan 90329a32dc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Align entries format
  Update CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710
  Add CVE for bug #69207
2015-03-31 09:17:13 +03:00
Michael Wallner b7389f0f07 BFN 2015-03-30 16:27:08 +02:00
Michael Wallner a4490bb0a2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #64931
2015-03-30 16:25:47 +02:00
Michael Wallner a24aefaac2 BFN 2015-03-30 15:41:36 +02:00
Michael Wallner 3c22449649 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Bug #65467
2015-03-30 15:41:03 +02:00
Michael Wallner 64d9c98fa9 BFN 2015-03-30 14:43:02 +02:00
Michael Wallner 90a8b59e9c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix bug #67761
2015-03-30 14:42:37 +02:00
Michael Wallner 3a660bf3a5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug 64343

; Lesson learned: do not rebase on a merge commit
2015-03-30 13:48:57 +02:00
Michael Wallner ef52e44053 Fixed bug 64343
PharData::extractTo fails for tarball created by BSD tar

Phar did not know about PAX style global/file headers.
Skip them, to be able to read the contents of those archives.
2015-03-30 13:20:09 +02:00
Leigh a04ab4b54b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add RAND_egd check for compiling against LibreSSL
2015-03-27 13:26:48 +01:00
Lior Kaplan ebce0d5d5a Add CVE for bug #68901 2015-03-25 19:32:25 +02:00
Lior Kaplan 67c5ad6b6a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add CVE for bug #68901
2015-03-25 19:31:05 +02:00
Xinchen Hui d380d1cb1b Fixed Bug #69297 (function_exists strange behavior with OPCache on disabled function)
is_callable returns true for disable_functions, but function_exists
return false for it.
2015-03-25 23:34:02 +08:00
Anatol Belski 7461c52248 updated NEWS 2015-03-25 13:14:42 +01:00
Anatol Belski c9550e81da Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #69287 upgrade bundled sqlite to 3.8.8.3
  fix dir separator in test
2015-03-25 13:13:42 +01:00
Remi Collet 3924548bcb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  revert a4157423934edf7b8fdbcee163cced9bfd5748a, fix build odbc as shared
2015-03-25 10:33:31 +01:00
Xinchen Hui eb98366642 Fixed typo 2015-03-25 13:54:42 +08:00
Xinchen Hui 3ab1513ac9 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-25 13:54:30 +08:00
Xinchen Hui 3eb893396a Update NEWS 2015-03-25 12:10:25 +08:00
Xinchen Hui 86bbacfd53 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-25 12:09:35 +08:00
Anatol Belski c2ec4f90d2 updated libs versions 2015-03-23 08:38:58 +01:00
Anatol Belski 8fe9715d05 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libs versions
2015-03-23 08:38:25 +01:00
Stanislav Malyshev 3342a248a2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed #68021 - get_browser() browser_name_regex
2015-03-22 22:13:08 -07:00
Stanislav Malyshev a1bca171d2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Print checking message for all ODBC drivers
  Change default option of ODBC drivers to no to enable bulding standalone ODBC

Conflicts:
	ext/odbc/config.m4
2015-03-22 22:04:41 -07:00
Stanislav Malyshev 57f835e148 oops, forgot TSRMLS_CC 2015-03-22 21:55:34 -07:00
lesniewskister c12e031530 Reduce downstream patches
As per http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/php/5.6/patches/patch-ext_gd_libgd_gdcache_h?rev=1.1&content-type=text/x-cvsweb-markup
2015-03-22 21:33:45 -07:00
Stanislav Malyshev aa22e80b1a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Adding a new `createFromImmutable` method to the `DateTime` class to mirror the current `DateTime::createFromMutable()`
2015-03-22 21:03:46 -07:00
Trevor Suarez c2e22556ba Adding a new createFromImmutable method to the DateTime class to mirror the current DateTime::createFromMutable() 2015-03-22 20:54:25 -07:00
Juan Basso 3e7f47cb03 Renamed test case to match with reported bug 2015-03-22 20:34:59 -07:00
Juan Basso 4076a4d2a9 Fixed serialization of non string values on __sleep
Returning just N; (null) on the __sleep makes the number of fields/values be incomplete and corrupting the generated value from serialize, making impossible to unserialize it.

Conflicts:
	ext/standard/var.c
2015-03-22 20:31:40 -07:00
Stanislav Malyshev c6384a7908 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2
2015-03-22 18:54:48 -07:00
Stanislav Malyshev fce9a856e7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bacport fix bug #68741 - Null pointer dereference
  Check that the type is correct
2015-03-22 18:32:16 -07:00
Stanislav Malyshev 40037f1474 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #68760: Fix freeing null segfault. Added test for behaviour.

Conflicts:
	ext/sqlite3/tests/bug68760.phpt
2015-03-22 16:46:30 -07:00
Danack 1ec430d4ed Fix #68760: Fix freeing null segfault. Added test for behaviour. 2015-03-22 16:44:06 -07:00
Anatol Belski 63d7cd7d5b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  cosmetic fix to default odbcver
  Remove extraneous strlen() call
2015-03-23 00:07:43 +01:00
Rasmus Lerdorf 7fce3607ea Remove extraneous strlen() call 2015-03-21 08:28:40 -07:00
Derick Rethans a73d0b0fb3 - Updated to version 2015.2 (2015b) 2015-03-21 14:51:11 +01:00
Derick Rethans d025f8e019 Empty merge 2015-03-21 14:51:10 +01:00
Ferenc Kovacs b5d7bcf0db this already had an entry 2015-03-20 14:40:58 +01:00
Ferenc Kovacs 95c3a4798f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add pear to the travis build
2015-03-20 13:34:35 +01:00
Julien Pauli d55b42bd61 Updated NEWS 2015-03-20 10:53:33 +01:00
Julien Pauli b70ba86781 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-03-20 10:45:54 +01:00
Stanislav Malyshev eebd7c66ee Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add CVEs
2015-03-19 23:05:49 -07:00
Lior Kaplan a0927357a3 Add CVE ID for #68735 2015-03-19 18:25:01 +02:00
Lior Kaplan b20b0ffe4e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add CVE ID for #68735
2015-03-19 18:24:28 +02:00
Dmitry Stogov 0c3de98368 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #69152
2015-03-19 11:48:10 +03:00
Lior Kaplan 56cda02e11 Add CVE to bug #69253 2015-03-19 02:44:45 +02:00
Lior Kaplan 9bbf9fedff Align entries format 2015-03-19 02:42:35 +02:00
Lior Kaplan c824de432d Add CVE assigned to 5.6.6 bugs after the release 2015-03-19 02:40:22 +02:00
Lior Kaplan df340b5d8e Add CVE to bug #69248 2015-03-19 02:37:50 +02:00
Lior Kaplan 61d11d7e10 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Align entries format
  Add CVE to bug #69248
  Add CVE assigned to 5.5.22 bugs after the release
2015-03-19 02:36:28 +02:00
Julien Pauli c7dfd8a3a4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-03-18 11:34:56 +01:00
Julien Pauli 6262db7341 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-03-18 10:55:49 +01:00
Stanislav Malyshev 58efcc7dd8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.40 next
2015-03-17 22:39:21 -07:00
Stanislav Malyshev 225cb973e5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary

Conflicts:
	ext/zip/lib/zip_dirent.c
2015-03-17 22:03:24 -07:00
Stanislav Malyshev 749f82af02 oops, no idea how this got in 2015-03-17 17:13:50 -07:00
Stanislav Malyshev 14588c2499 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
2015-03-17 17:10:14 -07:00
Stanislav Malyshev 890b3987ab Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #69248 - heap overflow vulnerability in regcomp.c
  add test for bug #68976
2015-03-17 17:09:47 -07:00
Stanislav Malyshev c83dd84ad6 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Fix bug #69248 - heap overflow vulnerability in regcomp.c
  add test for bug #68976
2015-03-17 17:08:13 -07:00
Stanislav Malyshev dbd1d79b68 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add NEWS
2015-03-17 13:24:45 -07:00
Stanislav Malyshev 33a5532b66 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68976 - Use After Free Vulnerability in unserialize()

Conflicts:
	ext/standard/var_unserializer.c
2015-03-17 13:23:51 -07:00
Stanislav Malyshev 3d00867bba Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update news
  Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options)
2015-03-17 13:09:08 -07:00
Stanislav Malyshev 3477568b4e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix tests
  Fix bug #69207 - move_uploaded_file allows nulls in path
2015-03-17 12:58:00 -07:00
Anatol Belski f040b48358 updated NEWS 2015-03-17 09:21:38 +01:00
Anatol Belski a6a58dddc3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #65406 Enchant broker plugins are in the wrong place in windows
2015-03-17 09:20:54 +01:00
Julien Pauli 2a50877428 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix flaws in session module
2015-03-16 16:01:12 +01:00
Anatol Belski 8f898c0706 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  backport af2b0669 into 5.5
2015-03-16 08:34:14 +01:00
Anatol Belski af2b066911 libxml-2.9.2 compatibility 2015-03-15 18:38:50 +01:00
Anatol Belski 2ac31872ac Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2015-03-14 18:30:32 +01:00
Nikita Popov 846c8059e6 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-14 09:18:31 +01:00
Xinchen Hui 96bb3b838c Merge branch 'PHP-5.5' into PHP-5.6 2015-03-14 11:31:53 +08:00
Xinchen Hui 669c7104c3 Update NEWS 2015-03-14 00:53:51 +08:00
Xinchen Hui 396bc00caa Merge branch 'PHP-5.5' into PHP-5.6 2015-03-14 00:53:32 +08:00
Nikita Popov 4b930e156f Merge branch 'PHP-5.5' into PHP-5.6 2015-03-13 16:25:21 +01:00
Anatol Belski 8cc8d4830a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  create the php prefix if doesn't exist
2015-03-12 15:21:33 +01:00
Daniel Lowrey c661121459 Don't block on crypto data inside stream_select() 2015-03-11 09:44:07 -06:00
Xinchen Hui d4f727d0f8 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-11 08:20:03 +08:00
Daniel Lowrey 3f6b12795c Fix bug# 69215 (Crypto servers should send client CA list) 2015-03-10 18:13:10 -06:00
Nikita Popov 49bd45a2c1 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-10 18:19:27 +01:00
Dmitry Stogov b52a2940af Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  We don't cache custom strems with callbacks anymore
2015-03-10 19:30:32 +03:00
Xinchen Hui 25050e3b00 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-10 17:18:47 +08:00
Xinchen Hui b5589d3fb4 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-10 17:06:05 +08:00
Xinchen Hui 0584b2df3f Update NEWS 2015-03-10 15:38:34 +08:00
Xinchen Hui abb09693ac Merge branch 'PHP-5.5' into PHP-5.6 2015-03-10 15:37:14 +08:00
Xinchen Hui f6762192d2 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-10 10:44:07 +08:00
Daniel Lowrey 69691cc8ca Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix crypto stream timeout regressions
2015-03-09 15:55:33 -06:00
Xinchen Hui 4ca14f681e Merge branch 'PHP-5.5' into PHP-5.6 2015-03-09 17:23:04 +08:00
Xinchen Hui 711ee5e4e1 Update NEWs 2015-03-09 17:13:47 +08:00
Stanislav Malyshev 0f333fa93c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  added missing parentheses
  Fix #67626
  Fix #63486

Conflicts:
	main/streams/userspace.c
2015-03-08 23:41:30 -07:00
Masaki Kagaya 934d6ed900 added missing parentheses
added test case for bug #68846
replaced tab with space
added missing parentheses again
See also: http://icu-project.org/docs/papers/gb18030.html#h7
2015-03-08 23:40:56 -07:00
Julien Pauli 7d47d9fe23 Fix #67626 2015-03-08 23:40:55 -07:00
Julien Pauli 7684d72df8 Fix #63486 2015-03-08 23:40:55 -07:00
Stanislav Malyshev dcc031470a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Regression tests for SplFileInfo class setters
2015-03-08 17:13:25 -07:00
Stanislav Malyshev b0d1e23646 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add missing value for error_reporting directive
2015-03-08 17:05:51 -07:00
Remi Collet 43da0d302b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix odbc build as shared
2015-03-08 07:36:35 +01:00
Daniel Lowrey 0928bad9ac Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly) 2015-03-06 11:29:56 -07:00
Tjerk Meesters 469b5a9584 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68917 (parse_url fails on some partial urls)
2015-03-06 20:58:20 +08:00
Daniel Lowrey e82878a200 Update test to run locally instead of remotely 2015-03-05 22:00:38 -07:00
Daniel Lowrey 10bc5fd4c4 Fixed bug (#69195 Inconsistent stream crypto values across versions)
PHP 5.6.0 altered the semantics of the following constants:

- STREAM_CRYPTO_METHOD_SSLv23_CLIENT
- STREAM_CRYPTO_METHOD_SSLv23_SERVER
- STREAM_CRYPTO_METHOD_TLS_CLIENT
- STREAM_CRYPTO_METHOD_TLS_SERVER

Instead of representing the SSLv23_*() handshake methods the v23
constants were changed to allow only SSLv2 or SSLv3 connections.
Likewise, the TLS methods were modified from using only the TLSv1
handshake to allowing TLS1,1.1, and 1.2. This created a situation
in which users upgrading from previous versions faced a potential
security degradation if they did not update code to use different
constants. In the interest of compatibility across PHP versions
the original semantics have been restored with the following
caveat:

**IMPORTANT**

The SSLv23 client/server methods will no longer negotiate the use
of the insecure SSLv2 or SSLv3 protocols by default. Users wishing
to allow these protocols must explicitly add them to the method
bitmask via the appropriate flags.
2015-03-05 21:09:39 -07:00
Chris Wright e7df9d710c Fix stream_select() issue with OpenSSL buffer
Ensure data from OpenSSL internal buffer has been
transfered to PHP stream buffer before a select()
emulation operation is performed

Addresses bug #65137
https://bugs.php.net/bug.php?id=65137

Conflicts:
	ext/openssl/xp_ssl.c
2015-03-05 17:18:14 -07:00
Daniel Lowrey ca24d19a89 Really fix zts this time 2015-03-05 14:09:25 -07:00
Ferenc Kovacs 33828f002d re-arrange NEWS 2015-03-05 21:07:05 +01:00
Daniel Lowrey c985ec737d Fix ZTS 2015-03-05 12:19:15 -07:00
Daniel Lowrey 010f17534f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix ZTS build
2015-03-05 12:13:33 -07:00
Ferenc Kovacs d4d05c8919 5.6.8 up next 2015-03-05 19:07:23 +01:00
Daniel Lowrey 5939de35a8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #67403 (Add signatureType to openssl_x509_parse)
  5.5.24 now

Conflicts:
	configure.in
	main/php_version.h
2015-03-05 10:21:32 -07:00
Xinchen Hui e8e5913e5e Merge branch 'PHP-5.5' into PHP-5.6 2015-03-05 21:06:07 +08:00
Xinchen Hui 7bcdbcf98e Revert commit to zend signal by mistake 2015-03-05 19:04:43 +08:00
Xinchen Hui 56f9dc2d59 Update NEWs 2015-03-05 18:40:25 +08:00
Xinchen Hui 168be6f250 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-05 18:40:06 +08:00
Rasmus Lerdorf eaa1b3e614 This test fails with multibyte on because it spews
a conversion error on the bogus file
2015-03-05 00:45:42 -08:00
Daniel Lowrey 65a9a5ca12 Fixed bug #68265 (SAN match fails with trailing DNS dot) 2015-03-04 23:55:42 -07:00
Daniel Lowrey 1de1ff75f5 Merge branch 'PHP-5.6' of https://github.com/bjori/php-src into PHP-5.6
* 'PHP-5.6' of https://github.com/bjori/php-src:
  hexadecimal is case*in*sensitive
2015-03-04 22:55:22 -07:00
Daniel Lowrey 5dcace058a Fixed bug #68879 (IP Address fields in subjectAltNames not used) 2015-03-04 22:39:25 -07:00
Daniel Lowrey ca766e0787 Fix broken test 2015-03-04 22:37:07 -07:00
Hannes Magnusson 3c2c029bfd hexadecimal is case*in*sensitive 2015-03-04 16:03:45 -08:00
Daniel Lowrey 241f3c34b8 Fixed bug #68920 (use strict peer_fingerprint input checks) 2015-03-04 12:47:46 -07:00
Xinchen Hui a29b64fc10 Fixed bug #69159 (Opcache causes problem when passing a variable variable to a function) 2015-03-04 14:48:41 +08:00
Xinchen Hui 6183408031 Merge branch 'PHP-5.5' into PHP-5.6 2015-03-03 23:17:37 +08:00
Reeze Xia 808e562f23 Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:/php-src:
2015-03-03 16:28:01 +08:00
Reeze Xia 6cb3b941df Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Improve fix for bug 67741
  Added type checks
  Added type checks
2015-03-03 16:27:35 +08:00
Dmitry Stogov c433f19a6b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added type checks
2015-03-03 10:46:55 +03:00
Dmitry Stogov 66c883c0fd Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Update NEWS
2015-03-03 10:19:54 +03:00
Dmitry Stogov 26827a0111 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added type checks
  Fixed bug #67741 (auto_prepend_file messes up __LINE__)
  Check variable type before its usage as IS_ARRAY.
  Fixed a bug that header value is not terminated by '\0' when accessed through getenv().
2015-03-03 09:59:32 +03:00
Reeze Xia f353162ca2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS
  Fixed bug #67741 (auto_prepend_file messes up __LINE__)
  Check variable type before its usage as IS_ARRAY.
  Fixed a bug that header value is not terminated by '\0' when accessed through getenv().

Conflicts:
	NEWS
2015-03-03 14:37:06 +08:00
Reeze Xia 4e2c87edb3 Fixed bug #67741 (auto_prepend_file messes up __LINE__)
This also fixes bug #54081
2015-03-03 11:43:23 +08:00
Xinchen Hui 169ac35c66 Update NEWS 2015-03-01 23:17:57 +08:00
Xinchen Hui 672a396d4a Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	ext/standard/var_unserializer.c
2015-03-01 23:17:41 +08:00
Lior Kaplan aaaa905912 Align entries format for 5.6.7 2015-03-01 11:36:01 +02:00
Lior Kaplan 041b472d6f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Align entries format for 5.5.23
2015-03-01 11:34:11 +02:00
Reeze Xia 214350f4f4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bump header year
2015-03-01 15:08:20 +08:00
Reeze Xia 6ef477f947 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS
2015-02-28 16:45:44 +08:00
Reeze Xia 1b240ff9e3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #69141 Missing arguments in reflection info for some builtin functions
2015-02-28 16:40:06 +08:00
Nikita Popov b41b229d78 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-27 23:23:49 +01:00
Xinchen Hui 4119879a39 Update NEWS 2015-02-27 23:33:23 +08:00
Xinchen Hui 86ba1a2444 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-27 23:32:59 +08:00
Xinchen Hui 578903578c Merge branch 'PHP-5.5' into PHP-5.6 2015-02-27 12:03:00 +08:00
Xinchen Hui 414bc8ee03 Update NEWs 2015-02-27 12:01:28 +08:00
Xinchen Hui d377cb6207 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-27 12:01:05 +08:00
Xinchen Hui 4b83d02b4b Update News 2015-02-27 11:43:41 +08:00
Xinchen Hui cfaf7c3b5f Merge branch 'PHP-5.5' into PHP-5.6 2015-02-27 11:42:57 +08:00
Xinchen Hui 2d1a3ecd27 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-27 11:11:45 +08:00
George Wang 65810bf259 Fixed a bug that header value is not terminated by '\0' when accessed through getenv(). 2015-02-25 11:24:19 -05:00
Xinchen Hui 9502d67a8e Merge branch 'PHP-5.5' into PHP-5.6 2015-02-25 20:49:17 +08:00
Xinchen Hui d3615b5fb1 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	ext/opcache/tests/bug69038.phpt
2015-02-25 20:13:47 +08:00
Xinchen Hui d05575afd0 Update NEWs 2015-02-25 18:22:41 +08:00
Xinchen Hui 9641bac0f5 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-25 18:22:18 +08:00
Julien Pauli caacaee681 Updated NEWS 2015-02-23 11:23:48 +01:00
Julien Pauli 5256ffd4fe Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  curl: add new proxy constants
2015-02-23 11:23:00 +01:00
Julien Pauli ee2f749a22 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed test fails for bug68557
2015-02-23 10:35:35 +01:00
Jakub Zelenka 97d809a8a5 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	ext/json/json.c
2015-02-22 20:35:03 +00:00
Rasmus Lerdorf ffd2fda0f3 NEWS entry 2015-02-22 08:31:17 -08:00
Rasmus Lerdorf e12b72d3f7 Fix bug #68166
We can't always efree here
php_escape_html_entities can return an interned_empty_string
2015-02-22 08:14:41 -08:00
Anatol Belski 98959f6220 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
2015-02-22 16:47:56 +01:00
Anatol Belski 871d51929b updated NEWS 2015-02-22 16:47:44 +01:00
Anatol Belski e656932d0e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix Win32 SSPI initialization for digest authentication in cURL
2015-02-22 16:26:52 +01:00
Anatol Belski 3cf2b7cc2b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  revisit fix for bug #65272

Conflicts:
	ext/standard/file.c
2015-02-21 14:14:24 +01:00
Anatol Belski b21d0848c9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  split test for bug #68557 for windows
2015-02-20 16:02:07 +01:00
Julien Pauli 95be012dce Updated NEWS 2015-02-20 15:44:18 +01:00
Julien Pauli 46e5f0c6bb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-02-20 15:43:53 +01:00
Julien Pauli 13c3b78f1e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix #68557
2015-02-20 15:38:48 +01:00
Dmitry Stogov 90421b0d5b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed type mismatch
2015-02-20 10:32:34 +03:00
Ferenc Kovacs 97dd859c9c update NEWS to match the actual stuff in 5.6.6 2015-02-18 20:10:28 +01:00
Ferenc Kovacs d58e76fd69 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS to match the actual stuff in 5.5.22
2015-02-18 20:09:12 +01:00
Ferenc Kovacs 73a9c701ad update NEWS(add missing entry for the enchant fix, and reorder the entries a bit) 2015-02-18 19:52:00 +01:00
Ferenc Kovacs 3261995092 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix typo in bug#
  add CVE
  5.4.39 next
2015-02-18 19:49:23 +01:00
Ferenc Kovacs c0a5905522 update NEWS 2015-02-18 19:39:58 +01:00
Ferenc Kovacs 920de2cbe8 fix email format 2015-02-18 19:20:13 +01:00
Ferenc Kovacs 941c1a5fa8 update NEWS 2015-02-18 16:33:32 +01:00
Ferenc Kovacs 4bae11b533 update 5.6.6 release date in NEWS 2015-02-18 16:32:57 +01:00
Ferenc Kovacs 68128efa4b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #69033 (Request may get env. variables from previous requests if PHP works as FastCGI)
2015-02-18 16:32:23 +01:00
Michael Wallner 6dfc7cbe61 BFN 2015-02-18 14:08:52 +01:00
Michael Wallner ec7ba48e67 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2015-02-18 14:06:39 +01:00
Michael Wallner 23e4af185a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2015-02-18 14:05:02 +01:00
Michael Wallner 0d2a2b98c9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #65593 (Segfault when calling ob_start from output buffering callback)
2015-02-18 13:59:32 +01:00
Julien Pauli f977a9f2be Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-02-18 12:41:47 +01:00
Xinchen Hui ed1967c706 Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6 2015-02-17 21:16:53 +08:00
Xinchen Hui e22759b1e5 Replace var is introduced 2015-02-17 21:16:37 +08:00
Stanislav Malyshev 0a331f49c1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix TS build
2015-02-17 07:47:27 +01:00
Stanislav Malyshev c538a2eb12 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update news
2015-02-17 06:58:24 +01:00
Stanislav Malyshev 78389b29f9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #68942 (Use after free vulnerability in unserialize() with DateTimeZone)
  Port for for bug #68552
  Fix bug #68942 (Use after free vulnerability in unserialize() with DateTimeZone)
  - BFN
2015-02-17 06:57:50 +01:00
Xinchen Hui dec83ea4ac Update NEWS 2015-02-17 11:36:44 +08:00
Xinchen Hui 1c0fa36c61 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-17 11:36:15 +08:00
Felipe Pena f6e9ed76ae Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
2015-02-17 01:08:48 -02:00
Felipe Pena 0c01fca444 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Fixed bug #67827 (broken detection of system crypt sha256/sha512 support)
  - Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de
  Update NEWS
2015-02-17 00:28:28 -02:00
Felipe Pena a331ae4630 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  - Fixed bug #67827 (broken detection of system crypt sha256/sha512 support)
  - Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de
  Update NEWS
2015-02-17 00:28:11 -02:00
Felipe Pena abbc82f448 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Fix merge
  BFN
2015-02-16 13:09:52 -02:00
Antony Dovgal c4664d1731 Merge branch 'pull-request/995' into PHP-5.6
* pull-request/995:
  fix bug #68822 (request time is reset too early)
2015-02-16 15:15:11 +03:00
Xinchen Hui 8309988111 Fixed bug #68912 (Segmentation fault at openssl_spki_new) 2015-02-16 14:16:52 +08:00
Xinchen Hui 423a057023 Update NEWs 2015-02-15 23:00:34 +08:00
Xinchen Hui edd16831b1 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-15 22:55:42 +08:00
Michael Wallner 4137956d0e fix detection of mbstate_t with clang
AC_TRY_COMPILE expexts a function body
2015-02-15 09:25:03 +01:00
Xinchen Hui 1db720cd6d Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	ext/pgsql/pgsql.c
2015-02-14 22:18:13 +08:00
Yasuo Ohgaki d0be36cf5b Update NEWS 2015-02-14 05:40:51 +09:00
Yasuo Ohgaki a54300b3f6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add NULL byte protection to exec, system and passthru
2015-02-14 05:27:44 +09:00
Anatol Belski b3d28d14d6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix condition
2015-02-13 13:40:10 +01:00
Xinchen Hui adc4265792 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-13 13:12:44 +08:00
Anatol Belski d05070c98d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  backport gd config.w32 to support freetype 2.5
2015-02-12 20:29:24 +01:00
Xinchen Hui 3ae88e023c Merge branch 'PHP-5.5' into PHP-5.6 2015-02-12 11:28:30 +08:00
Xinchen Hui 7062465be0 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-12 10:59:59 +08:00
Lior Kaplan c741faf4bb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #55508 was fixed in 5.5.19 with 15ba757a, not in 5.5.18
  Add missing NEWS entry for revert of bug #41631
  Add missing NEWS entry for bug #68027
  Align format for bug #68799
  Bug #68361 was fixed in 5.5.20 using 327d4f9a, not in 5.5.19
  Bug #55618 was fixed in 5.5.21 using eaf107c0
  Add security bugs fixed in 5.5.18
  Add CVE ID to bug #68676
  Align email format for recent NEWS entries
2015-02-11 22:30:48 +02:00
Lior Kaplan 701a5f9de9 Add missing NEWS entry for revert of bug #41631 2015-02-11 14:02:55 +02:00
Lior Kaplan b17e2b8214 Add CVE ID to bug #68676 2015-02-11 14:01:55 +02:00
Lior Kaplan 27d6cf4860 Align email format for recent NEWS entries 2015-02-11 14:01:16 +02:00
Anatol Belski 4d8db154ad Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix dir separator in test
2015-02-10 16:59:22 +01:00
Ferenc Kovacs 5e1bb07701 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  oops, forgot sudo for make install
2015-02-10 11:18:34 +01:00
Ferenc Kovacs ac54df17df Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add make install

Conflicts:
	travis/compile.sh
2015-02-10 10:36:25 +01:00
Daniel Lowrey fb2314798e Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	ext/openssl/xp_ssl.c
2015-02-09 11:44:09 -05:00
Xinchen Hui 3d1ec33f96 Merge branch 'PHP-5.5' into PHP-5.6 2015-02-09 11:32:32 +08:00
Anatol Belski 979020fcad moved the part of the test into an appropriate place 2015-02-08 14:10:52 +01:00
Anatol Belski ffdc2c4123 Merge branch 'pull-request/1060' into PHP-5.6 2015-02-08 12:33:15 +01:00
manuel cc13d8696f Fix another invalid free of CG(interned_empty_string)
Fixes #68214
2015-02-07 19:17:31 +01:00
manuel 3550cc5fd9 add tests for #68996 2015-02-07 18:52:26 +01:00
George Wang c90cd09331 Fixed #68790 (Missing return) 2015-02-07 12:19:53 -05:00
Anatol Belski 464667153d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix setting default ODBCVER value in config.w32
2015-02-06 19:59:55 +01:00
Anatol Belski e6d16c0956 updated NEWS 2015-02-06 19:39:32 +01:00
Anatol Belski 4266f5b1c4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
2015-02-06 19:39:10 +01:00
Anatol Belski e46e208819 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68964 Allowed memory size exhausted with odbc_exec
2015-02-06 19:05:13 +01:00
manuel 13fc7f20a4 Invalid free of CG(interned_empty_string)
On failure php_escape_html_entities returns STR_EMPTY_ALLOC which is an
alias of CG(interned_empty_string) if interned strings are enabled.
Make sure we don't free this.
2015-02-06 16:53:01 +01:00
Anatol Belski 63761ab91e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Removed erroneous condition
2015-02-06 09:42:41 +01:00
Stanislav Malyshev af23980de7 turn off online tests, they fail too often on CI 2015-02-05 22:05:36 -08:00
Stanislav Malyshev 57ba83d4e0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix tests
2015-02-05 21:56:26 -08:00
Stanislav Malyshev a1c28567c6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update header handling to RFC 7230
2015-02-05 20:10:09 -08:00
Stanislav Malyshev 2c386b55f2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test to not hit php.net
2015-02-05 00:41:55 -08:00
Stanislav Malyshev d33f4c6eb8 fix test to not hit php.net 2015-02-05 00:41:51 -08:00
Xinchen Hui ae90010891 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	main/streams/memory.c
2015-02-05 16:33:20 +08:00
Julien Pauli a79f332333 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-02-04 17:45:38 +01:00
Julien Pauli 583af4979b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Revert "Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat)"
2015-02-04 17:39:34 +01:00
Julien Pauli 421d309908 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.23 now

Conflicts:
	configure.in
	main/php_version.h
2015-02-04 17:32:46 +01:00
Julien Pauli e6ea244004 5.6.7 now 2015-02-04 16:37:49 +01:00
Julien Pauli 93315c4e1d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Revert "json_decode() should generate a syntax error when given ""."
  Update NEWS
2015-02-04 12:48:57 +01:00
Michael Wallner 4c3b4dc74a make buildconf work as expected;
autoconf really needs some help with all those external m4s
2015-02-04 09:39:02 +01:00
Xinchen Hui 1bb7647c6e Fixed indent 2015-02-03 23:24:34 +08:00
Yasuo Ohgaki bffdc4c37e Update NEWS 2015-02-03 19:48:53 +09:00
Yasuo Ohgaki 436ba1c488 Fixed Bug #67988 htmlspecialchars() does not respect default_charset specified by ini_set. 2015-02-03 18:52:46 +09:00
Yasuo Ohgaki 36f73412c1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Bug #65199 pg_copy_from() modifies input array variable
2015-02-03 15:27:19 +09:00
Yasuo Ohgaki 4dd7851208 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Bug #66623 no EINTR check on flock(LOCK_EX)
2015-02-03 14:04:03 +09:00
Yasuo Ohgaki 2983ef3c48 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68063 Empty session IDs do still start sessions
2015-02-03 13:41:31 +09:00
Yasuo Ohgaki 665997bf16 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #61470 is fixed only in master
2015-02-03 12:26:25 +09:00
Daniel Lowrey f86600c167 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	ext/standard/file.c
2015-02-02 10:52:27 -05:00
Adam Harvey 05d591dfdf Merge branch 'PHP-5.5' into PHP-5.6 2015-02-02 11:31:54 +00:00
Adam Harvey db375cfd4d Merge branch 'PHP-5.5' into PHP-5.6 2015-02-02 11:11:05 +00:00
Yasuo Ohgaki 675a12bbcf Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add test for bug #61470. It is already fixed.
2015-02-02 18:39:48 +09:00
Stanislav Malyshev 969e389121 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix sizeof size
2015-02-01 12:41:33 -08:00
Derick Rethans 263fb375bd - Updated to version 2015.1 (2015a) 2015-02-01 18:31:21 +00:00
Derick Rethans 440cefd5a9 Empty merge 2015-02-01 18:31:21 +00:00
Stanislav Malyshev ac3a4e4200 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #66479: Wrong response to FCGI_GET_VALUES
2015-02-01 00:36:21 -08:00
Stanislav Malyshev 463611714c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #64938: libxml_disable_entity_loader setting is shared between threads
2015-02-01 00:09:04 -08:00
Stanislav Malyshev c5526291ce Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix group name handling
2015-01-31 23:47:25 -08:00
Stanislav Malyshev 55d5811f85 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix TSRM
2015-01-31 23:34:44 -08:00
Stanislav Malyshev 2560a21d41 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add NEWS
2015-01-31 23:20:14 -08:00
Stanislav Malyshev b64cafdb9e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added test and possible fix for https://bugs.php.net/bug.php?id=67068
2015-01-31 23:17:24 -08:00
Stanislav Malyshev 6a960b6d1b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Use better constant since MAXHOSTNAMELEN may mean shorter name
  use right sizeof for memset
2015-01-31 21:48:40 -08:00
Stanislav Malyshev 41bdd6e7cc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add mitigation for CVE-2015-0235 (bug #68925)
  Add mitigation for CVE-2015-0235 (bug #68925)
2015-01-31 19:12:20 -08:00
Yasuo Ohgaki d9a9afa499 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed typo in comment
2015-02-01 05:14:56 +09:00
Yasuo Ohgaki 7b06cc8d22 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Use bash rather than sh
2015-01-29 15:27:08 +09:00
Yasuo Ohgaki 5f28622e09 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Bug #68941 mod_files.sh is a bash-script
2015-01-29 09:29:11 +09:00
Xinchen Hui c06f1590a9 Update News 2015-01-29 00:01:13 +08:00
Xinchen Hui 5208113ad1 Merge branch 'PHP-5.5' into PHP-5.6 2015-01-29 00:01:00 +08:00
Xinchen Hui b881de9937 Merge branch 'PHP-5.5' into PHP-5.6 2015-01-27 22:25:45 +08:00
Xinchen Hui 92d56b0af6 Merge branch 'PHP-5.5' into PHP-5.6 2015-01-27 22:20:03 +08:00
Xinchen Hui 4f187dd44f Update NEWs 2015-01-27 22:13:30 +08:00
Xinchen Hui 6336fa18c4 Merge branch 'PHP-5.5' into PHP-5.6 2015-01-27 22:13:04 +08:00
Bob Weinand 666cb333f7 Merge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6
Conflicts:
	NEWS
2015-01-26 22:51:37 +01:00
Keyur Govande 168877bc78 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add NEWS
  Patch commit d9f85373e32 by moving the float_to_double function to a header file.
  Fix for bugs #68114 (Build fails on OS X due to undefined symbols) and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors).

Conflicts:
	ext/mysqlnd/config9.m4
2015-01-26 21:32:32 +00:00
Keyur Govande 4c6918ec17 Patch commit d9f85373e32 by moving the float_to_double function to
a header file.
2015-01-26 21:20:29 +00:00
Keyur Govande b34f8ef599 Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).

The patch removes support for Decimal floating point numbers and
now defaults to using similar logic as what libmysqlclient does:
convert a 4 byte floating point number into a string, and then the
string into a double. The quirks of MySQL are maintained as seen in
Field_Float::val_str()
2015-01-26 21:20:29 +00:00
Ferenc Kovacs 49cc1d4e84 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix some factual errors in the process
2015-01-22 21:28:41 +01:00
Remi Collet b318e54fac Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  move CVE to the right version
2015-01-22 13:06:50 +01:00
Anatol Belski 093a23d1c4 Fixed bug #68731 finfo_buffer doesn't extract the correct mime with some gifs
The fix for bug #67647 applies here, too.
2015-01-22 12:26:50 +01:00
Anatol Belski c9d0894ec5 Fixed bug #67647 Bundled libmagic 5.17 does not detect quicktime files correctly 2015-01-22 11:48:11 +01:00
Anatol Belski 60c2621b2a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  simplify error handling for dirs as magic
2015-01-22 10:17:14 +01:00
Anatol Belski a2e83332b9 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2015-01-22 10:04:33 +01:00
Anatol Belski a97ca0a452 updated NEWS 2015-01-22 10:01:16 +01:00
Anatol Belski d0e75bdc59 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68827 Double free with disabled ZMM
  Fixed segfault while running with moodle
2015-01-22 10:00:10 +01:00
Xinchen Hui d0928b7f97 Merge branch 'PHP-5.5' into PHP-5.6 2015-01-22 16:39:03 +08:00
Rasmus Lerdorf e242f871df Slightly modify and merge PR#105 from @MegaManSec 2015-01-21 11:40:27 -08:00
Anatol Belski 24157f396c fix timelib build configuration 2015-01-21 16:22:23 +01:00
Anatol Belski bd52f4a833 make timelib_config.h inclusion configurable 2015-01-21 13:48:38 +01:00
Julien Pauli bb2380edb7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2015-01-21 11:13:55 +01:00
Anatol Belski 9c88a214a4 backported the timelib cleanups to 5.6 2015-01-21 11:03:16 +01:00
Xinchen Hui 57ff5a4e6f Merge branch 'PHP-5.5' into PHP-5.6 2015-01-21 11:18:08 +08:00
Ferenc Kovacs ea44ccbd62 fix NEWS 2015-01-21 01:19:31 +01:00
Derick Rethans 1d09926e33 Merge branch 'PHP-5.5' into PHP-5.6 2015-01-20 21:44:25 +00:00
Stanislav Malyshev 73a5958e67 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix year
2015-01-20 13:27:51 -08:00
Stanislav Malyshev b2a254fe2d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  format
  add CVE
2015-01-20 11:59:35 -08:00
Stanislav Malyshev c9162147f2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add protection against nulls
2015-01-20 11:47:06 -08:00
Stanislav Malyshev e18ec95687 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.38 next
  Fix bug #68799: Free called on unitialized pointer
  Fix for bug #68710 (Use After Free Vulnerability in PHP's unserialize())

Conflicts:
	ext/standard/var_unserializer.c
2015-01-20 10:40:39 -08:00
Julien Pauli b5e2661fb6 Updated NEWS 2015-01-20 15:09:59 +01:00
Julien Pauli 157508d87d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
  Fix bug #68711 Remove useless checks. 'num' is unsigned and cannot be <0.
2015-01-20 15:09:34 +01:00
Derick Rethans 6f2f2ce5cf Merge branch 'PHP-5.5' into PHP-5.6 2015-01-19 22:59:31 +00:00
Juan Basso ac7cfad3b5 Fixed bug #50224 where float without decimals were converted to integer 2015-01-19 00:46:02 -08:00
Matteo Beccati 6de149e47c Updated NEWS for #68371 2015-01-18 09:13:02 +01:00
Xinchen Hui b118d7b697 Merge branch 'PHP-5.5' into PHP-5.6 2015-01-17 13:21:36 +08:00
Anatol Belski 25041d2af2 updated NEWS 2015-01-15 17:48:59 +01:00
Anatol Belski 3d6a83a7d0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  PDO_MySQL: Differentiate between linux and win32 when passing unix_socket
2015-01-15 17:48:11 +01:00
Xinchen Hui 0579e8278d bump year 2015-01-15 23:26:37 +08:00
Xinchen Hui fe8edf760c Merge branch 'PHP-5.5' into PHP-5.6 2015-01-15 23:26:24 +08:00
Daniel Lowrey 5d8acad006 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS
  Fixed bug #55618 (use case-insensitive cert name matching)
2015-01-14 18:09:07 +01:00
Xinchen Hui 0645f106e9 Update NEWS 2015-01-13 23:38:57 +08:00
Anatol Belski edb66e05db Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68771 SQL syntax error in sqlite lib
2015-01-12 17:02:18 +01:00
Anatol Belski 344a61a613 updated libs_versions.txt 2015-01-12 12:59:59 +01:00
Anatol Belski 7a2dbc0e7c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libs_versions.txt
  Fix bug #68784
  We can't output absolute S and T values for the Diophantine solution here since it can vary based on the libgmp version we are linking against and in general there are almost always multiple valid solutions
2015-01-12 12:58:37 +01:00
Rasmus Lerdorf 5065505c93 Fix bug #68784 2015-01-09 18:09:13 -08:00
Rasmus Lerdorf 46f429f8e6 We can't output absolute S and T values for the
Diophantine solution here since it can vary based
on the libgmp version we are linking against and
in general there are almost always multiple valid
solutions
2015-01-09 16:23:50 -08:00
Julien Pauli 287217a3a3 Updated NEWS 2015-01-09 16:25:02 +01:00
Julien Pauli 138b6442d4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #68260
2015-01-09 16:24:32 +01:00
Xinchen Hui 0547edb5c2 Fixed bug (try block removed while combined with xdebug) 2015-01-09 11:53:47 +08:00
Adam Harvey 16b6f6c7f4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Calling crypt() with a salt of *0 should always return *1.
  5.5.22 now

Conflicts:
	configure.in
	main/php_version.h
2015-01-08 19:16:32 +00:00
Anatol Belski 2e79820c0e fix test 2015-01-08 18:11:15 +01:00
Ferenc Kovacs b0a26ab8f8 PHP-5.6.6 is next 2015-01-06 22:58:22 +01:00
Remi Collet 0ba32e5cf9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  cleanup old unused typedef
2015-01-06 11:06:53 +01:00
Adam Harvey 27ff425b78 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Handle NULL strings in sapi_cli_server_register_variable().
  Allow CLI server test scripts to specify the name of the router file.

Conflicts:
	sapi/cli/tests/php_cli_server.inc
2015-01-06 01:27:37 +00:00
Anatol Belski 4756207e7e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix ACLs tests, make it create dir where it has to, not file
2015-01-05 19:20:07 +01:00
Remi Collet 480044a0ea NEWS 2015-01-05 17:35:36 +01:00
Remi Collet eb1a1d5feb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix bug #68751 listen.allowed_clients is broken
2015-01-05 17:35:14 +01:00
Matteo Beccati 38f1b569c2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update test after fixing bug #68371
2015-01-05 12:11:46 +01:00
Matteo Beccati e372e037dd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS for #68371
2015-01-05 11:03:31 +01:00
Matteo Beccati 3de6f80ff5 Ref #68371 - Added support for PDO::PGSQL_ATTR_DISABLE_PREPARES 2015-01-05 11:00:11 +01:00
Matteo Beccati 488d3dac2e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific attribute names
2015-01-05 10:48:18 +01:00
Stanislav Malyshev 95183cc339 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix memory leak
2015-01-04 21:08:16 -08:00
Stanislav Malyshev ec550cd783 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixes #66764 -  configure doesn't define EXPANDED_DATADIR / PHP_DATADIR correctly
2015-01-04 20:55:17 -08:00
Stanislav Malyshev 97f894e189 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix GD tests with no GD loaded
  Fixed typo
  GD: imagepalettetotruecolor tests
2015-01-04 19:57:29 -08:00
Anatol Belski 03ae6f22b6 updated libmagic.patch in 5.6 2015-01-04 17:07:32 +01:00
Anatol Belski d104f2ea88 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libmagic.patch in 5.5
  updated libmagic.patch in 5.4
2015-01-04 17:06:15 +01:00
Anatol Belski 5c0f03275e updated NEWS 2015-01-04 14:24:59 +01:00
Anatol Belski 28e44f9d44 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #68735 fileinfo out-of-bounds memory access
2015-01-04 14:23:56 +01:00
Anatol Belski c06f66563a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  removed dead code

Conflicts:
	ext/fileinfo/libmagic/readelf.c
	ext/fileinfo/libmagic/readelf.h
2015-01-04 09:42:46 +01:00
Ferenc Kovacs fe46966678 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixes #67960 - Long/short day names reversed in jddayofweek()
2015-01-02 10:15:01 +01:00
Anatol Belski ce6cbb3110 updated libmagic.patch 2014-12-30 20:22:51 +01:00
Anatol Belski a0cf63f526 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libmagic.patch
2014-12-30 20:22:08 +01:00
Anatol Belski 85b4a65520 updated NEWS 2014-12-30 19:39:14 +01:00
Anatol Belski 091ea62262 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68671 incorrect expression in libmagic
2014-12-30 19:38:08 +01:00
Adam Harvey 3ef6e3726c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Check the return value of lo_export.
2014-12-30 17:59:39 +00:00
Anatol Belski ab3a746a2d updated NEWS 2014-12-30 16:52:17 +01:00
Anatol Belski 3485925a3a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66679 Alignment Bug in PCRE 8.34 upstream
  remove BOM from NEWS
2014-12-30 16:51:06 +01:00
Stanislav Malyshev 4c0f17caca Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  FIx bug #68618 (out of bounds read crashes php-cgi)
  Fixed bug #68676 (Explicit Double Free)
2014-12-30 01:26:53 -08:00
Kalle Sommer Nielsen 24125f0f26 Fixed bug #68676 (Explicit Double Free) 2014-12-29 10:57:42 +01:00
Anatol Belski 422f323982 updated NEWs 2014-12-28 14:00:58 +01:00
Anatol Belski a72cd07f29 Fixed bug #68665 (Invalid free) 2014-12-28 13:58:01 +01:00
Keyur Govande 83e5547827 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix for failing tests. gcc 4.8.3 would optimize away the assigment.
2014-12-26 20:37:50 +00:00
Remi Collet 76d6c4f9ec NEWS 2014-12-26 08:35:08 +01:00
Remi Collet faba230153 Fix bug #68656 Report gd library version 2014-12-26 08:33:21 +01:00
Xinchen Hui 316f72ce28 Merge branch 'PHP-5.5' into PHP-5.6 2014-12-25 06:21:14 -05:00
Xinchen Hui bba4a8aad5 Fixed bug #68644 (strlen incorrect : mbstring + func_overload=2 +UTF-8 + Opcache) 2014-12-24 17:55:58 +08:00
Nikita Popov 87ccf50bad Merge branch 'PHP-5.5' into PHP-5.6 2014-12-19 21:46:38 +01:00
Remi Collet f382fbf4c1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
2014-12-17 11:00:52 +01:00
Ferenc Kovacs ffae8f1549 move this entry to the correct version 2014-12-17 02:18:29 +01:00
Ferenc Kovacs 54b3871b11 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add missing NEWS entry
  add missing NEWS entry
  5.4.37
2014-12-17 02:14:25 +01:00
Ferenc Kovacs c6a7d1eaed add NEWS entry for #68594 2014-12-17 01:59:38 +01:00
Stanislav Malyshev 681a1afd3f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update news
  add CVE
  add missing test file
  Fix bug #68594 - Use after free vulnerability in unserialize()

Conflicts:
	ext/standard/var_unserializer.c
2014-12-16 10:19:32 -08:00
Remi Collet 181f34f375 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix perms
2014-12-16 08:37:56 +01:00
Remi Collet 505adabf25 fix typo 2014-12-14 09:22:59 +01:00
Andrea Faulds 51771ed238 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix undefined behaviour in strnatcmp
  update NEWS
  move the test to the right place
  Fixed bug #68545 NULL pointer dereference in unserialize.c
2014-12-13 22:30:19 +00:00
Remi Collet 2e5de0c323 NEWS 2014-12-13 09:05:48 +01:00
Remi Collet 8bd67ce748 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix bug #68601 buffer read overflow in gd_gif_in.c
2014-12-13 09:05:33 +01:00
Julien Pauli 3769aee67c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
2014-12-12 18:24:16 +01:00
Julien Pauli 238529fc3e Updated NEWS 2014-12-12 16:51:37 +01:00
Julien Pauli a0d848f795 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
  Fix bug #68532: convert.base64-encode omits padding bytes
2014-12-12 16:50:42 +01:00
Julien Pauli 4cda98264e Updated NEWS 2014-12-12 16:12:52 +01:00
Julien Pauli d5dd29ce5c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
  Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)

Conflicts:
	Zend/zend_compile.c
2014-12-12 16:11:26 +01:00
Julien Pauli d1a2c15221 Updated NEWS 2014-12-12 14:20:41 +01:00
Julien Pauli 895b4efab0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2014-12-12 14:18:43 +01:00
Anatol Belski b1709b8ff0 updated NEWS 2014-12-12 12:17:42 +01:00
Anatol Belski c96ffaa653 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68583 Crash in timeout thread

Conflicts:
	Zend/zend_execute.h
2014-12-12 12:05:47 +01:00
Anatol Belski 21da246807 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  move the test to the right place
2014-12-10 13:22:52 +01:00
Anatol Belski a96957f0da updated NEWS 2014-12-10 11:49:13 +01:00
Anatol Belski 4a82cdce66 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68545 NULL pointer dereference in unserialize.c

Conflicts:
	ext/standard/var_unserializer.c
2014-12-10 11:47:34 +01:00
Julien Pauli e6f9059a86 Updated NEWS 2014-12-10 11:23:40 +01:00
Julien Pauli 9a1fc445bf Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
2014-12-10 11:22:46 +01:00
Remi Collet eda813fd37 NEWS 2014-12-10 08:19:04 +01:00
Remi Collet 744ada7d9d Fix bug #68526 Implement POSIX Access Control List for UDS
- add --with-fpm-acl build option which allow to manage ACL
on Unix Domain Socket
- add listen.acl_users pool option
- add listen.acl_groups pool option

Keep old behavior (chmod) if option not used or not supported.
2014-12-10 08:15:21 +01:00
Derick Rethans 9d4f4483cb Merge branch 'PHP-5.5' into PHP-5.6 2014-12-08 11:06:50 +00:00
Dmitry Stogov 278c38165c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed possible read after end of buffer and use after free.
2014-12-08 12:24:16 +03:00
Anatol Belski 41a2f7074d Fixed bug #68398 msooxml matches too many archives 2014-12-06 20:51:00 +01:00
Anatol Belski 0854fd8b81 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed test
2014-12-06 12:31:55 +01:00
Anatol Belski 08241ee3f3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  C89 compat
  add include for missing localeconv_r proto
2014-12-06 12:18:05 +01:00
Anatol Belski 8d79139980 updated NEWS 2014-12-06 12:00:39 +01:00
Anatol Belski ebaf130a15 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #65230 setting locale randomly broken
2014-12-06 12:00:17 +01:00
Matteo Beccati b120f9beb2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix compilation error (ref #68424)
2014-12-06 10:24:27 +01:00
Adam Harvey 381fd62ccf Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Revert unintentional docblock change
2014-12-05 13:58:19 -08:00
Julien Pauli 0e67973e9a Updated NEWS 2014-12-05 17:06:16 +01:00
Julien Pauli 5104c2bbc3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
  Start adding new attribute to control multi statements
2014-12-05 17:05:37 +01:00
Anatol Belski a3e4b889e7 updated NEWS 2014-12-05 15:51:26 +01:00
Anatol Belski 297f582f5c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  . Fixed bug #68120 Update bundled libsqlite

Conflicts:
	ext/sqlite3/libsqlite/sqlite3.c
2014-12-05 15:50:18 +01:00
Anatol Belski 0e09e5e6fa Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #65769 localeconv() broken in TS builds
2014-12-05 11:08:55 +01:00
Anatol Belski fa863c9ea3 updated NEWS 2014-12-05 11:08:32 +01:00
Julien Pauli cb9cc6b8e1 Updated NEWS 2014-12-05 10:12:35 +01:00
Julien Pauli ee709c5366 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
  Fixed #68479 - Added escape parameter to SplFileObject::fputcsv
2014-12-05 10:12:08 +01:00
Anatol Belski 6cf5ac7567 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix dir separators in test
2014-12-05 07:08:35 +01:00
Ferenc Kovacs 9c5d84ace1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add initial install
  switch to C travis project instead of PHP
  use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/)
2014-12-04 11:12:32 +01:00
Tjerk Meesters 52b41f24e3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed #65213 - cannot cast SplFileInfo to boolean
2014-12-04 07:21:13 +08:00
Anatol Belski 5deac25ea0 updated NEWS 2014-12-03 16:48:49 +01:00
Anatol Belski f3b4c05423 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #55541 errors spawn MessageBox, which blocks test automation
2014-12-03 16:48:07 +01:00
Dmitry Stogov cd68c4b1d2 Fixed __debugInfo() support 2014-12-03 12:13:01 +03:00
Adam Harvey e346608209 Update UPGRADING for the new variadic functions, and re-sort. 2014-12-02 16:47:31 -08:00
Ferenc Kovacs d81b7c4450 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path
2014-12-02 19:19:16 +01:00
Remi Collet 196b768928 NEWS 2014-12-02 08:40:52 +01:00
Remi Collet 6f3714a8fc Fix Bug #68536 Pack for 64bits integer is broken on bigendian.
Covered by ext/standard/tests/strings/pack64.phpt
2014-12-02 08:38:39 +01:00
Anatol Belski c45fcfd063 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  one more refix to the test
2014-12-01 19:10:18 +01:00
Anatol Belski fe4a5abf30 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix dir separator in test
2014-12-01 18:55:52 +01:00
Anatol Belski f33bd9c846 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix possible null pointer math
2014-12-01 14:43:22 +01:00
Ferenc Kovacs d964832255 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Revert "don't try to send in the test results until we restored qa.php.net" as qa.php.net is back.

Conflicts:
	.travis.yml
2014-12-01 10:14:32 +01:00
Anatol Belski c370683903 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add include for missing usleep proto
  C89 compat
  Added more useful warning messages
  Changed based on comments and make its behaviour equal to the Windows version
  Fix #53092 - dns_get_record does not return false on dns server failure
  Fix php cli (-S option) inconsistent port parsing
2014-12-01 08:30:59 +01:00
Tjerk Meesters bfe7c6988f Added more useful warning messages 2014-11-30 22:42:13 -08:00
Tjerk Meesters 904dca6392 Changed based on comments and make its behaviour equal to the Windows version 2014-11-30 22:42:13 -08:00
Tjerk Meesters d037785165 Fix #53092 - dns_get_record does not return false on dns server failure 2014-11-30 22:42:13 -08:00
nil0x42 2a73d56ef9 Fix php cli (-S option) inconsistent port parsing
Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).
2014-11-30 22:42:12 -08:00
Remi Collet cb1a297bf4 XFAIL as catch_workers_output = yes seems not reliable 2014-12-01 07:28:49 +01:00
Stanislav Malyshev e0b6e5222b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
  Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)
2014-11-30 22:22:01 -08:00
Stanislav Malyshev 85bada10c1 fix ZTS 2014-11-30 21:50:29 -08:00
Stanislav Malyshev 720ba67948 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update news
  update news
  update NEWS
  Apply error-code-salt fix to Windows too
  Bug fixes in light of failing bcrypt tests
  Add tests from 1.3. Add missing tests.
  Upgrade crypt_blowfish to version 1.3
  Apply error-code-salt fix to Windows too
  Bug fixes in light of failing bcrypt tests
  Add tests from 1.3. Add missing tests.
  Upgrade crypt_blowfish to version 1.3
2014-11-30 21:39:49 -08:00
m.bennewitz 4675b79e65 Conflicts:
ext/date/php_date.c
2014-11-30 20:49:18 -08:00
Stanislav Malyshev de65eaa8c8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixes memory leak introduced in 2b9af967
2014-11-30 18:26:39 -08:00
Stanislav Malyshev 8c08124c0e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Adds test cases for openssl EC improvements
  Adds better handling of EC keys: OPENSSL_KEYTYPE_EC
2014-11-30 18:24:23 -08:00
Dominic Luechinger 6048ac32b4 Adds test cases for openssl EC improvements 2014-11-30 18:17:48 -08:00
Dominic Luechinger 5d1cc7d135 Adds better handling of EC keys: OPENSSL_KEYTYPE_EC
When working with elliptic curve and openssl some functions are not
aware of the different handling.
Improvements:
- Fixes export of EC private keys
- Adds curve information to openssl_pkey_get_details

Conflicts:
	ext/openssl/openssl.c
2014-11-30 18:02:55 -08:00
Stanislav Malyshev aae5d4d9db Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS
  fix typo
2014-11-30 17:34:51 -08:00
Stanislav Malyshev 60d5b2ec24 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added test and review suggestion
  Fix bug #68335: rmdir doesnt work with file:// stream wrapper
2014-11-30 17:07:02 -08:00
Stanislav Malyshev f6aa6324fb fix tests for systems with no de_DE locales 2014-11-30 16:12:56 -08:00
Remi Collet e1d4ac426c Move chown to fpm_unix_set_socket_premissions()
For consistency, with fpm_unix_resolve_socket_premissions.
Compute + Use in the same source file.
To make easier future enhancement.

Also check chdir output to fix a build warning.
2014-11-29 16:49:08 +01:00
Julien Pauli 57d7b4fc56 Updated NEWS 2014-11-29 14:41:48 +01:00
Julien Pauli 736279239e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
  Fix #60509, pcntl_signal doesn't decrease ref-count of old handler
2014-11-29 14:41:06 +01:00
Julien Pauli c4f9f1ff4c Updated NEWS 2014-11-29 12:11:27 +01:00
Julien Pauli a93fb3524e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
  SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME
2014-11-29 12:11:06 +01:00
Julien Pauli 4bf299a250 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1
2014-11-29 11:39:37 +01:00
Ferenc Kovacs 7e4b77c921 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test with readline on mac
2014-11-29 01:49:23 +01:00
Julien Pauli a76f8e297d updated NEWS 2014-11-28 13:27:46 +01:00
Julien Pauli b248a7a95c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fix #65419 - Inside trait, self::class != __CLASS__
2014-11-28 13:26:53 +01:00
Anatol Belski 1552d6ae7b disable ext/openssl/tests/stream_server_reneg_limit.phpt for windows
This is using the openssl binary which, despite it's contained in the
deps, would probably miss all it's environment. It is just prone to
failure and thus is not worth it.
2014-11-28 12:24:32 +01:00
Anatol Belski b0645abdcc updated NEWS 2014-11-27 13:40:07 +01:00
Anatol Belski 088f8b528b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  refactored the mbstring config.w32
  Fixed bug #68504 --with-libmbfl configure option not present on Windows
2014-11-27 13:39:23 +01:00
Ferenc Kovacs fcf21c4d00 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  the darwin specific test fails for me with the same output which is the expected for the original test I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on qa.php.net/reports and on google which do see this test failing on mac. if this change causes you to have this test failing on Mac, please drop me a mail so we can improve the current test so it passes for everybody.
  5.5.21 now

Conflicts:
	configure.in
	main/php_version.h
2014-11-27 00:13:11 +01:00
Ferenc Kovacs 543ad4b2d3 #68446 is fixed 2014-11-26 23:12:49 +01:00
Ferenc Kovacs 247774e3fd remove the NEWS entries for the reverted stuff 2014-11-26 19:13:46 +01:00
Ferenc Kovacs aef51819ce typo fix 2014-11-26 18:41:50 +01:00
Ferenc Kovacs 0afc04b913 go back with phpdbg to the state of 5.6.3, reverting the controversial commits(remote debugging/xml protocol) 2014-11-26 18:38:36 +01:00
Ferenc Kovacs fa2a2a1059 PHP-5.6.5 is next 2014-11-26 10:21:37 +01:00
Anatol Belski fe92a811ed updated lib versions 2014-11-26 08:35:00 +01:00
Anatol Belski 1414f2c095 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated lib versions
2014-11-26 08:33:32 +01:00
Anatol Belski 4576b4d58a fix dir separator in test 2014-11-25 18:16:26 +01:00
Anatol Belski 2c8aee0bb8 fix TS build 2014-11-25 17:56:28 +01:00
Dmitry Stogov e116595e63 Better fix for bug #68446 2014-11-25 18:09:08 +03:00
Bob Weinand 0ca47ba8d8 Revert NEWS and set test to XFAIL 2014-11-25 12:27:17 +01:00
Bob Weinand aba95c2399 Revert "Fix bug #68446 (bug with constant defaults and type hints)"
This reverts commit 5ef138b0c7.
2014-11-25 12:24:29 +01:00
Stanislav Malyshev faa396c67d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  move tests into proper place
2014-11-24 12:26:50 -08:00
Anatol Belski 3578e5b250 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix dir separator in test
  fork test for windows
  update for LiteSpeed
2014-11-24 16:25:38 +01:00
Stanislav Malyshev 1db49d8c5b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update for LiteSpeed
2014-11-23 18:06:47 -08:00
Stanislav Malyshev 90445ba4a4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  tests image gd
  xmlwriter_full_end_element tests
  Tests for writeAttributeNS and xmlwriter_write_attribute_ns
2014-11-23 17:52:50 -08:00
Stanislav Malyshev a8dfb33db8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add my information to this test
  Add a test for the exception cases of readline_read_history
  added some tests to datetime and dateinterval functions
  added various tests for XSLTProcessor and one test for iconv extension
  teste basico da funcao timezone_version_get
2014-11-23 17:26:28 -08:00
Stanislav Malyshev 2c67c0246e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Test PHP Init Fail Without Params
2014-11-23 17:21:29 -08:00
marcosptf 49a133dd0b test to function addcslashes
test to function bin2hex
2014-11-23 17:19:56 -08:00
marcosptf 2917c70252 test 2014-11-23 17:19:47 -08:00
Archil Imnadze 926bd6cc7a Update CODING_STANDARDS 2014-11-23 17:14:32 -08:00
Stanislav Malyshev 34c1ba5685 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Correct two zlib tests to use a string, not a const
2014-11-23 17:12:52 -08:00
Stanislav Malyshev de075d172c update NEWS 2014-11-23 16:39:52 -08:00
Alexander Lisachenko a5aae1b66c Fix incorrect argument reflection info for array_multisort() 2014-11-23 16:38:30 -08:00
Stanislav Malyshev 5a3e236bd5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix NEWS order
2014-11-23 16:24:54 -08:00
Stanislav Malyshev faee48506d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  Update the VM generation script, per Bob.
  Update NEWS after rebase.
  Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them.
2014-11-23 16:18:52 -08:00
Stanislav Malyshev 7e4de4f8d6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update comments in php.ini
2014-11-23 16:13:58 -08:00
Stanislav Malyshev fa7615af59 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  added missing INSTALL_ROOT
2014-11-23 16:09:40 -08:00
Reeze Xia 7386b74b07 Fix php.ini-*'s comment about directive: request_order
request_order directive only support register G,P,C but not all of
the EGPCS global variables.

The doc <http://php.net/manual/en/ini.core.php#ini.request-order>
is ok.
2014-11-23 16:07:47 -08:00
Kévin Dunglas 8439eb6277 Minor: typo fix in filter_var comment 2014-11-23 15:18:47 -08:00
Dominic Luechinger 437ab7f1f4 Minor fix: Missing quotes in openssl test case for bug bug64802 2014-11-23 15:15:49 -08:00
Bob Weinand dd70a2c7ae Added NEWS entry and test for bug 68446 2014-11-24 00:08:45 +01:00
Veres Lajos 4dc994571d typo fixes - https://github.com/vlajos/misspell_fixer
Conflicts:
	ext/ftp/ftp.h
	ext/pcre/pcrelib/pcre_printint.c
	ext/pcre/pcrelib/sljit/sljitLir.c
	ext/pcre/pcrelib/sljit/sljitLir.h
	ext/pcre/pcrelib/sljit/sljitNativeARM_32.c
	ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c
	ext/pgsql/pgsql.c
	ext/phar/func_interceptors.c
	ext/soap/soap.c
	ext/standard/image.c
2014-11-23 14:33:43 -08:00
Bob Weinand 5ef138b0c7 Fix bug #68446 (bug with constant defaults and type hints) 2014-11-23 21:10:41 +01:00
Remi Collet c8dd415543 typo 2014-11-22 10:37:22 +01:00
Remi Collet 6e17a439a9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed Bug #68478 acess_log don't use prefix
2014-11-22 10:36:54 +01:00
Remi Collet 6b974874ab NEWS 2014-11-22 10:30:42 +01:00
Remi Collet 3a3f67f79b minor typo in test 2014-11-22 10:29:51 +01:00
Remi Collet fd5c421a00 add test for global / pool prefix and bug #68478 2014-11-22 10:29:05 +01:00
Remi Collet b924af8db9 Fixed Bug #68478 acess_log don't use prefix
Calling fpm_conf_process_all_pools before fpm_log_open
allow to use fpm_evaluate_full_path and so to honor
global prefix or pool prefix for access.log
2014-11-22 10:25:53 +01:00
Stanislav Malyshev 515fa6160d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Revert "made lsapi_main.c compatible with PHP7/phpng ."
  Updated NEWS
2014-11-22 00:41:06 -08:00
Julien Pauli 9a06628c80 Updated NEWS 2014-11-21 16:17:49 +01:00
Julien Pauli ab3525c401 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #68185 - Inconsistent insteadof definition

Conflicts:
	Zend/zend_compile.c
2014-11-21 15:50:27 +01:00
Anatol Belski 64b9277867 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed test
2014-11-21 13:57:46 +01:00
Remi Collet 1e14f805f9 add test for fastcgi_finish_request() 2014-11-21 11:28:20 +01:00
Anatol Belski 0581e877a5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  added test for things done so far for bug #66265
  partially fixed bug #66265
  forked bug67052.phpt for Windows
2014-11-21 10:24:53 +01:00
Remi Collet b97fd60b42 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix bug #68463 listen.allowed_clients can silently result in no allowed access
  Raise a warning when listen = hostname used and is resolved as multiple addresses
2014-11-21 07:56:48 +01:00
Remi Collet d10df70f4e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  move zlog_set_level() again
  Change pm.start_servers default warning to notice
2014-11-21 07:50:04 +01:00
Remi Collet 5234c2941f add test for #68391 2014-11-21 07:36:34 +01:00
Remi Collet 4ab05e8f69 NEWS 2014-11-21 07:35:49 +01:00
Remi Collet 61f6cd0da5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed bug #68391 Returns the pool config files in order
2014-11-21 07:35:10 +01:00
Adam Harvey 245d01892a Merge branch 'PHP-5.5' into PHP-5.6 2014-11-20 16:19:03 -08:00
George Wang b664909397 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-11-20 16:56:28 -05:00
George Wang 620db04e91 made lsapi_main.c compatible with PHP7/phpng . 2014-11-20 16:50:15 -05:00
Remi Collet 15d8601866 NEWS 2014-11-20 15:16:39 +01:00
Remi Collet 6e1e113b91 adapt test for error message introduce in fix for #68463 2014-11-20 15:15:54 +01:00
Remi Collet 5c6ccb2d8f Fix bug #68463 listen.allowed_clients can silently result in no allowed access
Add a "There are no allowed addresses for this pool"
2014-11-20 15:14:34 +01:00
Remi Collet 7ef559ff80 run a few request in this test 2014-11-20 14:45:17 +01:00
Anatol Belski e25b23d1c9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  split msgfmt_format_intlcalendar_variant*.phpt for ICU 54.1
  split formatter_format*.phpt for ICP 54.1
  split dateformat_timezone_arg_variations*.phpt for ICU 54.1
  split dateformat_get_set_timezone_variant*.phpt for ICU 54.1
  fix icu version to test
  split ext/intl/tests/dateformat_get_set_calendar_variant*.phpt for 54.1
  split dateformat_formatObject_datetime_variant*.phpt for ICU 54.1
  split dateformat_formatObject_calendar_variant*.phpt for ICU 54.1
  split dateformat_create_cal_arg_variant2.phpt for ICU 53.1 and 54.1
  clone dateformat_calendars_variant3.phpt for ICU 54.1
  split collator_get_sort_key_variant3.phpt for icu 54.1
  split ext/intl/tests/collator_create3.phpt for icu >= 54.1

Conflicts:
	ext/intl/tests/dateformat_create_cal_arg_variant3.phpt
	ext/intl/tests/dateformat_formatObject_calendar_variant3.phpt
	ext/intl/tests/dateformat_formatObject_datetime_variant3.phpt
	ext/intl/tests/dateformat_get_set_calendar_variant3.phpt
	ext/intl/tests/dateformat_get_set_timezone_variant3.phpt
	ext/intl/tests/dateformat_timezone_arg_variations3.phpt
	ext/intl/tests/msgfmt_format_intlcalendar_variant3.phpt
2014-11-20 13:36:37 +01:00
Remi Collet 9fd54bd9d8 Raise a warning when listen = hostname used and is resolved as multiple addresses
Using getaddrinfo is perhaps not a good idea... if we are not able
to listen on multiple addresses...

At least this message should help to diagnose problem, ex
... Found address for localhost, socket opened on ::1
... Found multiple addresses for localhost, 127.0.0.1 ignored
2014-11-20 10:15:15 +01:00
Remi Collet 914787491d NEWS 2014-11-20 08:15:13 +01:00
Remi Collet 1939097ede Fixed #68458 Change pm.start_servers default warning to notice
Add another test
014 checks that no "notice" are traced when log_level=warning
015 checks that "notice" are traced when log_level=notice
2014-11-20 08:12:27 +01:00
David Zuelke a128cbad57 fix test description 2014-11-20 08:11:44 +01:00
David Zuelke 49be4af42b tests for #895 2014-11-20 08:11:44 +01:00
David Zuelke befce20c84 move zlog_set_level() again
from fpm_unix_init_main() to fpm_conf_post_process() this time (see #894),
because otherwise nothing in fpm_conf_init_main() obeys log levels
2014-11-20 08:11:43 +01:00
David Zuelke 909d44f20d Change pm.start_servers default warning to notice
Unlike other settings, this has a perfectly reasonable default, calculated using
a dynamic formula. If the default was hardcoded to "2" or something, then it
would make sense to have a warning, since that could potentially be bad, but for
a dynamically calculated value based on other mandatory settings, a notice ought
to be enough.
2014-11-20 08:11:43 +01:00
Remi Collet 7e0ccb6d12 Factorization and consistency
- create a fpm_use_error_log() to check when file or stderr should be used
- use it everywhere for consistency
- add some comments
2014-11-20 07:49:54 +01:00
Peter Cowburn 48c0cf7df6 NEWS 2014-11-19 17:03:15 +00:00
Chris McCafferty 1e92b24a2a Fix #68355: Inconsistency in example php.ini comments
There are some arbitrary differences between php.ini-production and
php.ini-development. This patch corrects the differences.
2014-11-19 16:57:47 +00:00
Remi Collet a521d7e1be NEWS 2014-11-19 16:49:23 +01:00
Remi Collet c5a1c5f5a4 Fixed bug #68452 php-fpm man page is oudated (-O) 2014-11-19 16:49:05 +01:00
Remi Collet 4a36482378 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed bug #68452 php-fpm man page is oudated (-g, -R, -z)
  NEWS
  Fixed bug #68381 Set FPM log level earlier during init
2014-11-19 16:48:21 +01:00
Remi Collet c40e665ecd NEWS 2014-11-18 17:45:50 +01:00
Remi Collet f164df0b7b add test for bug #68381 2014-11-18 17:45:50 +01:00
David Zuelke 9a43410871 Fixed bug #68381 Set FPM log level earlier during init
The log level will be ignored throughout log events in fpm_unix_init_main, until
the very end when zlog_set_level is finally called.

In particular, fpm_unix_conf_wp may throw notices like this:

> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when…

Which will still appear even if log_level in php-fpm.conf is set to warning+
2014-11-18 17:45:49 +01:00
Remi Collet ec26d7a80f simplify fpm tests 2014-11-18 13:11:53 +01:00
Remi Collet 51394dff3f Add test for bug #68442
Add another helper function fpm_display_log

Restore change from c996a989 badly reverted in 8c0cc49
2014-11-18 11:08:49 +01:00
Remi Collet 8c0cc49b9b Add various tests for FPM
- covering recent bugs (68420, 68421, 68423, 68428)
- for UDS
- for ping and status URI
- for multi pool and multi mode
2014-11-18 08:07:45 +01:00
Remi Collet a740f9e783 Include small MIT FastCGI client library from
https://github.com/adoy/PHP-FastCGI-Client

Add run_request function to easily run a FastCGI call,
which is needed for new tests.
2014-11-18 08:01:18 +01:00
Remi Collet d8868b654e Add new FPM test for IPv4/IPv6
Use 9000+PHP_INT_SIZE as poprt
- to avoid using default 9000
- to allow multipole 32/64 bits simultaneous run
2014-11-17 15:22:04 +01:00
Remi Collet c996a9899e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update fpm configuration for #68428
  fix incompatible pointer types
2014-11-17 09:43:26 +01:00
Remi Collet d9fd670fdc update fpm configuration for #68428 2014-11-17 09:43:23 +01:00
Anatol Belski 873a460c7c fix incompatible pointer types 2014-11-17 09:33:58 +01:00
Remi Collet 82c71158c1 NEWS 2014-11-17 09:23:47 +01:00
Remi Collet 45b17d0f96 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed bug #68428 allowed_client is IPv4 only
2014-11-17 09:23:26 +01:00
Remi Collet f22e0c0a6a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  comment about ipv4-mapped in fpm conf
  Improve fix bug #68421 access.format='%R' doesn't log ipv6 address
2014-11-17 06:58:28 +01:00
Remi Collet 10a957ed35 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  improve comments about FPM listen option
2014-11-16 18:00:24 +01:00
Remi Collet 51acb9dddd NEWS 2014-11-15 08:14:43 +01:00
Remi Collet e52295988c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
2014-11-15 08:14:09 +01:00
Remi Collet 9871cf78f6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Bug #68420 listen=9000 listens to ipv6 localhost instead of all addresses
2014-11-15 08:11:32 +01:00
Remi Collet 548352aa1e NEWS 2014-11-14 19:14:42 +01:00
Remi Collet 546fb3407d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
2014-11-14 19:14:02 +01:00
Remi Collet b7bc907cfd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #68421 access.format='%R' doesn't log ipv6 address
2014-11-14 19:10:19 +01:00
Remi Collet d66640a334 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #68423i PHP-FPM will no longer load all pools
2014-11-14 17:32:46 +01:00
Remi Collet 063a06b8e5 NEWS for 1b15620744 2014-11-14 10:58:27 +01:00
Remi Collet 1b15620744 Fix build with gmp < 4.2
See 3d6d863ccb
and acd7fcf55f
2014-11-13 13:08:00 +01:00
Matteo Beccati 86127a077f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed NEWS
2014-11-12 16:54:17 +01:00
Ferenc Kovacs 00e763f499 update NEWS 2014-11-12 14:51:18 +01:00
Ferenc Kovacs fea84a1c9c update NEWS 2014-11-12 14:45:39 +01:00
Ferenc Kovacs 5f15d6f0d8 update NEWS 2014-11-12 14:28:45 +01:00
Matteo Beccati 07655ffe7e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #53829 Compiling PHP with large file support will replace function gzopen by gzopen64
2014-11-12 11:22:48 +01:00
Yasuo Ohgaki 9e072d9565 Remove unneeded md5 hashing from PHP-5.6 branch.
It's removed from master already by my previous commit.
2014-11-12 13:43:54 +09:00
Stanislav Malyshev 1b143f4033 fix loop - size_t is unsigned so can not be negative 2014-11-11 16:33:02 -08:00
Stanislav Malyshev 4571cc2195 fix copypaste error 2014-11-11 16:33:02 -08:00
Ferenc Kovacs 74d6c23b39 update NEWS 2014-11-12 00:25:16 +01:00
Ferenc Kovacs a2e7b9162c update NEWS 2014-11-12 00:21:04 +01:00
Ferenc Kovacs 654bb8faf3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  update NEWS
2014-11-12 00:20:54 +01:00
Derick Rethans a19d96fc58 Merge branch 'PHP-5.5' into PHP-5.6 2014-11-11 14:01:26 -03:00
Xinchen Hui 399ec40a76 Update NEWS 2014-11-11 16:24:59 +08:00
Xinchen Hui e003c56c74 Merge branch 'PHP-5.5' into PHP-5.6 2014-11-11 16:23:18 +08:00
Rasmus Lerdorf bff7dc70d8 Fix skipif test here 2014-11-10 10:42:17 -08:00
Rasmus Lerdorf 19992250cf Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Update NEWS
  Fixed bug #68370 ("unset($this)" can make the program crash)
  Fix opcache.revalidate_freq per-request behavior
  Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
  Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-10 10:36:46 -08:00
Xinchen Hui eacf998af2 Update NEWS 2014-11-10 13:47:50 +08:00
Xinchen Hui b9e44888c0 Merge branch 'PHP-5.5' into PHP-5.6 2014-11-10 13:47:14 +08:00
Dmitry Stogov e6581d52cc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix opcache.revalidate_freq per-request behavior
2014-11-07 10:17:48 +03:00
Dmitry Stogov e120438c8c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
  Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-07 09:54:05 +03:00
Rasmus Lerdorf 2375d659d7 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src: (142 commits)
  Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
  Update NEWS
  Fixed bug #68331 - This was partial patch for https://wiki.php.net/rfc/session-lock-ini
  fix dir separator in test
  arg1-3 are not variable names to use; removed useless buffer variable
  update NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP
  Initialize the offset table - PCRE may sometimes miss offsets
  set default response code to 200
  set default response code to 200
  set default response code to 200
  Fixed bug #66584 Segmentation fault on statement deallocation
  Add credit
  fix ZTS build
  Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
  Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
  Fixed Bug #68104 (Segfault while pre-evaluating a disabled function)
  Temporarily disable wait/xml protocol...
  don't try to send in the test results until we restored qa.php.net
  Fix uninitialized value...
  ...
2014-11-06 10:19:45 -08:00
Matteo Beccati 8fccf0bac9 Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving) 2014-11-06 16:34:47 +01:00
Yasuo Ohgaki c9c8f86539 Update NEWS 2014-11-06 13:54:16 +09:00
Yasuo Ohgaki 4dd3fbfcd2 Fixed bug #68331 - This was partial patch for https://wiki.php.net/rfc/session-lock-ini 2014-11-06 13:06:29 +09:00
Anatol Belski d4050f42fd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix dir separator in test
2014-11-05 15:43:13 +01:00
Bob Weinand 342d56b23d arg1-3 are not variable names to use; removed useless buffer variable 2014-11-04 16:59:32 +01:00
Stanislav Malyshev c511e0560f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP
2014-11-03 11:43:51 -08:00
Stanislav Malyshev 90ba99a2c2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Initialize the offset table - PCRE may sometimes miss offsets
  set default response code to 200
  set default response code to 200
  fix NEWS & version
  NEWS
  Fix bug #68283: fileinfo: out-of-bounds read in elf note headers
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib
2014-11-03 11:38:29 -08:00
George Wang bba11e3255 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-11-03 11:44:13 -05:00
George Wang 4435161456 set default response code to 200 2014-11-03 11:43:04 -05:00
Matteo Beccati e12d69df0c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66584 Segmentation fault on statement deallocation
2014-11-01 19:20:43 +01:00
Xinchen Hui 00b50850eb Add credit 2014-11-01 22:29:55 +08:00
Anatol Belski 1b1f7c627a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix ZTS build
2014-10-31 19:53:39 +01:00
Matteo Beccati e797db8909 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
  Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
2014-10-31 18:57:59 +01:00
Xinchen Hui d017c4bf3a Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6 2014-10-31 17:36:33 +08:00
Xinchen Hui d9d181e5ad Fixed Bug #68104 (Segfault while pre-evaluating a disabled function) 2014-10-31 17:32:23 +08:00
Bob Weinand 113f1fd6d5 Temporarily disable wait/xml protocol... 2014-10-30 23:09:57 +01:00
Ferenc Kovacs 067852ca61 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  don't try to send in the test results until we restored qa.php.net
  Don't treat warnings as failures in the junit output

Conflicts:
	.travis.yml
2014-10-30 18:14:37 +01:00
Bob Weinand b9d1dc329f Merge phpdbg into PHP-5.6 2014-10-30 13:17:58 +01:00
Bob Weinand 4fd66387a9 Fix uninitialized value... 2014-10-30 12:15:27 +01:00
Anatol Belski 73e2dd3381 add DLL export to the output globals 2014-10-30 10:27:20 +01:00
Xinchen Hui 9e1da42af1 Use macro 2014-10-30 11:52:29 +08:00
Xinchen Hui 7b4993dd16 Fixed build.... (shouldn't it be zend_output_globals?) 2014-10-30 11:42:02 +08:00
Anatol Belski fc904569ea fix output globals importing 2014-10-29 20:03:28 +01:00
Anatol Belski 5d76185792 export output globals
needed by phpdbg
2014-10-29 20:02:41 +01:00
Anatol Belski 4b8f411d31 use portable strndup implementation 2014-10-29 19:49:20 +01:00
Anatol Belski f842b8f4be unix sockets aren't available on windows 2014-10-29 19:39:46 +01:00
Anatol Belski fdbfcc0b51 dll export APIs needed by phpdbg 2014-10-29 19:32:52 +01:00
Anatol Belski 79a4339f1b fix sapi/phpdbg/config.w32 2014-10-29 19:28:21 +01:00
Matteo Beccati 8bd58502ca Don't treat warnings as failures in the junit output
This matches Travis and the actual return code.
2014-10-29 14:34:58 +01:00
Bob Weinand 68b5dd2ba9 Merge phpdbg into PHP-5.6 2014-10-29 11:43:01 +01:00
Bob Weinand 6545a5c234 Merge php-src into phpdbg 2014-10-29 11:40:56 +01:00
Matteo Beccati eb4e4b7bca Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed test to work with recent libcurl versions
  PHP 5.5.20 now

Conflicts:
	configure.in
	main/php_version.h
2014-10-29 11:32:12 +01:00
Bob Weinand 919bd3eb0c Enable shared builds for webhelper 2014-10-29 11:28:09 +01:00
Remi Collet 89e613cf01 cleanup uneeded json 2014-10-29 07:26:41 +01:00
Remi Collet 7dd871438f cleanup uneeded json 2014-10-29 07:26:41 +01:00
Bob Weinand beb767dbe0 Merge phpdbg into PHP-5.6 2014-10-28 23:06:50 +01:00
Bob Weinand a5415456d4 Merge phpdbg into PHP-5.6 2014-10-28 23:06:50 +01:00
Bob Weinand 31ada13463 Removed last HAVE_JSON check 2014-10-28 23:06:32 +01:00
Bob Weinand 45e2dc692b Merge phpdbg into PHP-5.6 2014-10-28 22:44:29 +01:00
Bob Weinand be5d389768 Merge phpdbg into PHP-5.6 2014-10-28 22:44:29 +01:00
Bob Weinand 234df7d2ca Fix versions & config.m4 2014-10-28 22:33:41 +01:00
Bob Weinand 4bc7a91be7 Merge ../phpdbg into PHP-5.6
Conflicts:
	sapi/phpdbg/config.m4
2014-10-28 22:15:05 +01:00
Bob Weinand 6150d9342c Merge ../phpdbg into PHP-5.6
Conflicts:
	sapi/phpdbg/config.m4
2014-10-28 22:15:05 +01:00
Bob Weinand d25cc7f090 Use serialize instead of json for transfer 2014-10-28 22:14:35 +01:00
Bob Weinand 69b999eb7e Add webhelper in config.w32 2014-10-28 22:11:30 +01:00
Bob Weinand 9ba0654ad7 Merge php-src into phpdbg
Conflicts:
	config.m4
2014-10-28 21:15:47 +01:00
Remi Collet 36fef6dcd9 fix phpdbg build when src tree != build tree 2014-10-28 19:12:41 +01:00
Remi Collet 9028846c63 fix phpdbg build when src tree != build tree 2014-10-28 19:12:41 +01:00
Bob Weinand 2a24763f6c Merge ../phpdbg into PHP-5.6 2014-10-28 17:42:38 +01:00
Bob Weinand 7561e6b6e3 Remove the ugly hack via a temp file to store breakpoints 2014-10-28 17:25:48 +01:00
Bob Weinand 297baa0c18 Remove the ugly hack via a temp file to store breakpoints 2014-10-28 17:25:48 +01:00
Bob Weinand 82640b7363 Typo (notfoundc => notfound) 2014-10-28 17:25:46 +01:00
Bob Weinand fd8a70b1ee Typo (notfoundc => notfound) 2014-10-28 17:25:46 +01:00
Bob Weinand c895fbea22 Fix quitting on a second run 2014-10-28 17:25:46 +01:00
Bob Weinand 76bd799eb7 Fix quitting on a second run 2014-10-28 17:25:46 +01:00
Bob Weinand b7d83ff8a6 Fix wrong exec length on relative paths 2014-10-28 17:25:45 +01:00
Bob Weinand c34fd92466 Fix wrong exec length on relative paths 2014-10-28 17:25:45 +01:00
Bob Weinand a8ac22452d Fix possibly unclosed <stream> tags 2014-10-28 17:25:45 +01:00
Bob Weinand cc3587f4a3 Fix possibly unclosed <stream> tags 2014-10-28 17:25:45 +01:00
Bob Weinand 9990089f28 Fix potential segfaults and unresolved breaks 2014-10-28 17:25:43 +01:00
Bob Weinand 79c66e7cd2 Fix potential segfaults and unresolved breaks 2014-10-28 17:25:43 +01:00
Bob Weinand 64774c7ddb *Always* clean up and run destructors 2014-10-28 17:25:43 +01:00
Bob Weinand fe5f5d40f2 *Always* clean up and run destructors 2014-10-28 17:25:43 +01:00
Bob Weinand 49e31265ed Remove the ugly hack via a temp file to store breakpoints 2014-10-28 17:20:21 +01:00
Julien Pauli c7f074b163 5.6.4 now 2014-10-28 16:00:19 +01:00
Bob Weinand b24640f463 Typo (notfoundc => notfound) 2014-10-28 13:55:56 +01:00
Bob Weinand b8dd98178c Fix quitting on a second run 2014-10-28 13:55:14 +01:00
Bob Weinand 24a88e3906 Fix wrong exec length on relative paths 2014-10-28 13:27:20 +01:00
Bob Weinand 2b3ea0a2bd Fix possibly unclosed <stream> tags 2014-10-28 13:20:43 +01:00
Bob Weinand da3d6f3d64 Fix potential segfaults and unresolved breaks 2014-10-28 12:38:07 +01:00
Bob Weinand cce9550e48 *Always* clean up and run destructors 2014-10-28 12:27:19 +01:00
Remi Collet 47acdcb176 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Ensure we have enough input data before parsing date
2014-10-28 08:50:48 +01:00
Stanislav Malyshev c5659cb8bd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #68095 - invalid read in php_getopt()
2014-10-27 19:09:39 -07:00
Bob Weinand 44079a0c82 Merge phpdbg into PHP-5.6 2014-10-27 14:07:26 +01:00
Bob Weinand 0ede82d466 Merge phpdbg into PHP-5.6 2014-10-27 14:07:26 +01:00
Bob Weinand 2297a9aa01 Fix resolving breakpoints of already loaded files 2014-10-27 13:55:20 +01:00
Bob Weinand 8b98ffea5f Never exist xml mode... 2014-10-27 13:27:54 +01:00
Bob Weinand 35d90d3858 Merge phpdbg into PHP-5.6
Conflicts:
	sapi/phpdbg/phpdbg.c
	sapi/phpdbg/phpdbg_prompt.c
2014-10-27 13:11:13 +01:00
Bob Weinand 6eab2b9101 Merge phpdbg into PHP-5.6
Conflicts:
	sapi/phpdbg/phpdbg.c
	sapi/phpdbg/phpdbg_prompt.c
2014-10-27 13:11:13 +01:00
Bob Weinand b4db856d37 Fix failing quit when quitting during execution 2014-10-27 11:02:08 +01:00
Bob Weinand 9139d031d8 Fix segfault when cleaning without execution context 2014-10-27 11:01:43 +01:00
Bob Weinand 5e8359d360 Fix listening on port 2014-10-27 10:49:16 +01:00
Anatol Belski 08684a9828 Merge branch 'master' of github.com:krakjoe/phpdbg
Conflicts:
	phpdbg_prompt.c
2014-10-27 10:19:59 +01:00
Anatol Belski 0e7987c61a improve the current sigio handling on win32 2014-10-27 10:08:58 +01:00
Remi Collet cc91072f0e NEWS 2014-10-27 07:51:50 +01:00
Remi Collet 0146505187 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Conflicts:
	ext/gmp/gmp.c
2014-10-27 07:50:42 +01:00
Bob Weinand 50756b515c Do not execute anything after quit or clean command 2014-10-27 00:00:19 +01:00
Bob Weinand e7ddcbcb86 Do not execute anything after quit or clean command 2014-10-27 00:00:19 +01:00
Bob Weinand 190f4f9f18 Fix last commit, and do not output unnecessary information 2014-10-27 00:00:18 +01:00
Bob Weinand 26babfb357 Fix last commit, and do not output unnecessary information 2014-10-27 00:00:18 +01:00
Bob Weinand 3ab7734b88 Stabilize execution, always run destructors and extended file breakpoints 2014-10-27 00:00:16 +01:00
Bob Weinand 510676fbbf Stabilize execution, always run destructors and extended file breakpoints 2014-10-27 00:00:16 +01:00
Bob Weinand 69bc61de41 Fix nullptr dereference in clean without exec context 2014-10-27 00:00:15 +01:00
Bob Weinand af9c6afa6f Fix nullptr dereference in clean without exec context 2014-10-27 00:00:15 +01:00
krakjoe 41537cdddc remove dodgy param parser, bring userland breakpoint api inline with PHP7 2014-10-27 00:00:14 +01:00
krakjoe de656f8a49 remove dodgy param parser, bring userland breakpoint api inline with PHP7 2014-10-27 00:00:14 +01:00
krakjoe 51c1cc4ff5 disable output buffering by default 2014-10-27 00:00:14 +01:00
krakjoe fa3a01374d disable output buffering by default 2014-10-27 00:00:14 +01:00
Bob Weinand cc70ec1e67 Add question to reset execution in run/exec/clean 2014-10-27 00:00:13 +01:00
Bob Weinand 2bcc8d8394 Add question to reset execution in run/exec/clean 2014-10-27 00:00:13 +01:00
Bob Weinand f4748ff9ff Do not execute anything after quit or clean command 2014-10-26 23:33:54 +01:00
Bob Weinand 29edee4e70 Fix last commit, and do not output unnecessary information 2014-10-26 22:21:18 +01:00
Bob Weinand 05711d9961 Stabilize execution, always run destructors and extended file breakpoints 2014-10-26 20:43:49 +01:00
Derick Rethans 25e3560546 Merge branch 'PHP-5.5' into PHP-5.6 2014-10-26 10:54:09 -04:00
Bob Weinand 1ff04117c3 Fix nullptr dereference in clean without exec context 2014-10-26 10:48:45 +01:00
krakjoe 65eaab52b6 remove dodgy param parser, bring userland breakpoint api inline with PHP7 2014-10-26 07:24:35 +00:00
krakjoe 5feb96520a disable output buffering by default 2014-10-26 07:08:29 +00:00
Bob Weinand 918466c262 Add question to reset execution in run/exec/clean 2014-10-26 03:50:28 +01:00
Bob Weinand e4e39d852a Merge phpdbg into PHP-5.6 2014-10-25 18:59:48 +02:00
Bob Weinand 24babb0194 Merge phpdbg into PHP-5.6 2014-10-25 18:59:48 +02:00
Bob Weinand bbcee18b4b Fix phpdbg output when outputting via php with active output handlers 2014-10-25 18:48:43 +02:00
Bob Weinand be5242e0fe Set engine back to initial state after fatal-ed ev command 2014-10-25 15:29:54 +02:00
Bob Weinand e995ad1131 Fix eventual stack overflow after clean cmd 2014-10-25 15:28:41 +02:00
Bob Weinand b79e9044f9 Fix listing of files with no absolute path 2014-10-25 15:06:34 +02:00
Anatol Belski c1639b3e52 stdint will be included in the win32 variant, so don't do it twice 2014-10-25 13:01:17 +02:00
Anatol Belski 3794431b78 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libmagic.patch in 5.5
2014-10-25 12:04:27 +02:00
Anatol Belski 7e5bd4ec69 updated libmagic.patch in 5.6 2014-10-25 12:03:49 +02:00
Remi Collet e75e003ae4 NEWS 2014-10-25 11:30:53 +02:00
Remi Collet cefa310cf9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix bug #68283: fileinfo: out-of-bounds read in elf note headers
2014-10-25 11:30:29 +02:00
Bob Weinand c03ac47baf Added some NEWS 2014-10-24 19:26:04 +02:00
Bob Weinand 062284e4fb Merge phpdbg into PHP-5.6 2014-10-24 19:22:45 +02:00
Bob Weinand 9b4d9ac6c7 Merge phpdbg into PHP-5.6 2014-10-24 19:22:45 +02:00
Bob Weinand 3639942891 Make xml valid (missing space between attrs) 2014-10-24 14:42:18 +02:00
Bob Weinand dc61a5c359 Fix info classes file name in xml 2014-10-24 14:29:06 +02:00
Bob Weinand 87c055e95e Add note about <eval> tag for errors in xml.md 2014-10-24 14:18:02 +02:00
Bob Weinand 9053b8a4d4 Name the tag <eval> if the error id during ev cmd 2014-10-24 14:16:49 +02:00
Bob Weinand b0089e3c2f Do not print out xml as PHP print... 2014-10-24 13:11:14 +02:00
Bob Weinand 9ce03bc7da Fix output to wrong function 2014-10-24 12:55:44 +02:00
Bob Weinand 56b3eda377 Fixed parameter order on %.*s 2014-10-24 12:32:48 +02:00
Bob Weinand 23a408a51b Too much copypaste... 2014-10-23 20:14:12 +02:00
Bob Weinand f025482678 Add xml formatted deep dump of return value from ev 2014-10-23 17:19:26 +02:00
Bob Weinand 28dcdb2d13 Fix some compiler warnings 2014-10-23 13:23:37 +02:00
Bob Weinand 6ee2dc47f3 Move phpdbg_print and helper functions to phpdbg_out.* 2014-10-23 13:16:00 +02:00
Bob Weinand 4a836ced7e Do not use int8_t when it is useless... 2014-10-23 13:02:50 +02:00
Bob Weinand 504448bce3 Fixed frame numbering in xml output 2014-10-23 12:38:35 +02:00
Bob Weinand d61a12799c Do not display dots in xml output for i v/i d 2014-10-23 12:23:48 +02:00
Bob Weinand 801080cf7e Try fixing 5.4 and 5.5 build, again 2014-10-22 19:58:52 +02:00
Remi Collet 411984c0e9 NEWS 2014-10-22 15:27:21 +02:00
Remi Collet ef2a2fa3a1 Fix bug #68224 buffer-overflow in /ext/fileinfo/libmagic/readcdf.c caught by AddressSanitizer
Upstream commit
https://github.com/file/file/commit/f28fbb947e3aa55fc40b09820f59ebff6f66f213
2014-10-22 15:24:59 +02:00
Anatol Belski 242387e51b add comment 2014-10-21 17:43:23 +02:00
Anatol Belski d7229b2bb6 restart listening on socket
if remote sent somthing else than ctrl+c while performing something blocking
2014-10-21 16:56:06 +02:00
Anatol Belski b8368a7bcf some minor fixes 2014-10-21 16:19:31 +02:00
Anatol Belski 6fcf7ede49 added phpdbg_eol.* sources 2014-10-21 16:18:44 +02:00
Anatol Belski a741d3b266 basic EOL implementation for CRLF 2014-10-21 15:50:55 +02:00
Anatol Belski 0f3448ef8b start sigio watcher only for run and eval for now
there myght be more needing that
2014-10-21 11:47:22 +02:00
Anatol Belski 63a450281a reworked the current EOL stuff 2014-10-21 11:47:21 +02:00
Anatol Belski e011f0ca60 prepare setting EOL with command or INI 2014-10-21 11:47:20 +02:00
Anatol Belski 55936dc23d correct place to start the sigio watcher
plus started with the eol command
2014-10-21 11:47:19 +02:00
Anatol Belski da40b116a6 further improvements to windows/sigio 2014-10-21 11:47:18 +02:00
Anatol Belski 3dec59f00d basic sigio surrogate for windows 2014-10-21 11:47:17 +02:00
Bob Weinand bafe6a9f7a Always show the prompt (now also: <prompt> tag) 2014-10-20 22:05:05 +02:00
Bob Weinand dfdc19fb2a Fix off-by-one bug in text messages (msg/<phpdbg>) 2014-10-20 21:52:47 +02:00
Bob Weinand 27629577b0 Add xml.md info for info constants 2014-10-20 21:22:16 +02:00
Bob Weinand d410b23f90 Ensure that %.*s uses the full string (INCLUDING \0) 2014-10-20 21:17:45 +02:00
Bob Weinand 3e5a4c6f30 Add info constants (alias: i d) command 2014-10-20 21:14:13 +02:00
Bob Weinand 6c6b356f63 Add values of scalars to info vars/globals 2014-10-20 16:05:37 +02:00
Anatol Belski e0b247bc87 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  initialize lineno before calling compile file file in phar
  News entry for new curl constants
2014-10-20 15:54:33 +02:00
Bob Weinand fa1c26f022 Fix for ports >= 1<<15 2014-10-20 09:47:35 +02:00
Bob Weinand 2916a14018 Fix reading from remote on some *nixes 2014-10-20 08:46:22 +02:00
Bob Weinand 07670ff871 Fix TSRMLS_* and a few warnings 2014-10-19 21:20:43 +02:00
Anatol Belski 795cb98ac6 revert PHP_EOL changes 2014-10-19 20:09:39 +02:00
Anatol Belski 362c87f4b0 don't use timeout for the remote prompt, recv() will block until input arrives 2014-10-19 18:30:07 +02:00
Anatol Belski 0acafba89d improve server sock creation and support ipv6 2014-10-19 13:40:45 +02:00
Anatol Belski 75bc207653 add comment 2014-10-19 11:16:56 +02:00
Anatol Belski 0929b7a4e4 increase default recv timeout to 30 seconds 2014-10-19 11:16:01 +02:00
Anatol Belski 2be895e4fe more EOL fixes 2014-10-19 11:10:13 +02:00
Anatol Belski 52686b3226 use MSG_PEEK flag for recv() everywhere 2014-10-19 11:03:17 +02:00
Anatol Belski e853fec3fd fixed EOL transferred to the client side, fixed strftime fmt string
the windows telnet gets broken output when receiving no '\r'
2014-10-19 10:39:44 +02:00
Anatol Belski d5fb8e5830 increase stack to avoid overflow crash on SIGINT
but should actually check, maybe something is causing a recursive
stack exhaustion
2014-10-19 02:14:31 +02:00
Anatol Belski 1137d9cb2b several fixes to the new io stuff 2014-10-19 01:32:46 +02:00
Anatol Belski 52d2ead59d override stdin and stdout to be remote, stderr is untouched however
is this ok? some functions want to write a log there ...
2014-10-19 01:31:00 +02:00
Anatol Belski 47388e6362 move these to use the mixed read/write routines 2014-10-19 01:30:00 +02:00
Anatol Belski dd551706a9 add basic stuff to generalize IO 2014-10-19 00:12:23 +02:00
Anatol Belski 0cfd77185b enable php_stdiop_write for windows
yet it's unclear whether it'll be usable, but otherwise it breaks
compilation as some places depend on it
2014-10-18 22:59:49 +02:00
Anatol Belski 3af83e196c export functions needed for phpdbg 2014-10-18 22:55:14 +02:00
Anatol Belski 3ca381ee8b fix dll export 2014-10-18 22:45:17 +02:00
Anatol Belski f67bd30131 C89 compat 2014-10-18 22:43:56 +02:00
Bob Weinand 8525c40eac Fix for 5.4/5.5 2014-10-18 21:54:44 +02:00
Bob Weinand 6932bbfd52 Merge branch 'xml-protocol'
Conflicts:
	phpdbg.c
	phpdbg_list.c
2014-10-18 21:12:25 +02:00
Bob Weinand bdb18d9f48 Fix execution of immediately following commands 2014-10-18 20:42:54 +02:00
Bob Weinand 24972fa986 Fixed potential segfault in backtrace of internal funcs 2014-10-17 22:20:54 +02:00
Bob Weinand f0e67720d4 Remove accidentally added null-byte in attributes 2014-10-17 19:39:09 +02:00
Bob Weinand afe01e4956 Fix negative list offsets 2014-10-17 19:32:02 +02:00
Matteo Beccati 8c5e2e66bc Fixed bug #68199 (PDO::pgsqlGetNotify doesn't support NOTIFY payloads) 2014-10-17 16:22:52 +02:00
Rasmus Lerdorf d748c9f990 News entry for new curl constants 2014-10-16 21:38:19 -07:00
Rasmus Lerdorf 5606466624 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  TLS 1.0, 1.1 and 1.2 Curl constants - bug #68247
2014-10-16 21:28:20 -07:00
Rasmus Lerdorf 0d27b3ea69 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src: (129 commits)
  NEWS
  cleanup NEWS
  removing the NEWS entry as we had to revert this fix for now
  Revert "Merge branch 'PHP-5.5' into PHP-5.6"
  Revert "fix TS build"
  Revert "Merge branch 'PHP-5.4' into PHP-5.5"
  Revert "Bug #67965: Fix blocking behavior in non-blocking crypto streams"
  Revert "Bug #41631: Fix regression from first attempt (6569db8)"
  NEWS
  Fixed Bug #65171 imagescale() fails
  Fixed bug #68234
  Revert "Bug #41631: Observe socket read timeouts in SSL streams"
  PHP-5.6.3 is next
  update NEWS, 5.6.2 will be a security-only release
  Fix return code (merges are hard :( )
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  ...
2014-10-16 21:27:49 -07:00
Bob Weinand a80f0b982a Fix lexing of -r \d+ in raw-string commands 2014-10-16 12:27:26 +02:00
Bob Weinand 68694e3141 Fix invalid dereference 2014-10-16 11:04:45 +02:00
Bob Weinand 22f1c8a062 Fix segfault in exceptions with xml 2014-10-15 22:00:33 +02:00
Bob Weinand b28e3d01d7 Fix ctrl characters handling 2014-10-15 20:30:16 +02:00
Remi Collet a3beb42ded NEWS 2014-10-15 19:49:22 +02:00
Remi Collet 3d9f460313 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  cleanup NEWS
2014-10-15 19:48:25 +02:00
Ferenc Kovacs cfa1028d7e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed Bug #65171 imagescale() fails
  Revert "Bug #41631: Observe socket read timeouts in SSL streams"

Conflicts:
	ext/openssl/xp_ssl.c
2014-10-15 19:42:51 +02:00
Ferenc Kovacs 2109f5bfe3 removing the NEWS entry as we had to revert this fix for now 2014-10-15 19:36:13 +02:00
Ferenc Kovacs feadaaed56 Revert "Merge branch 'PHP-5.5' into PHP-5.6"
This reverts commit 98e67add15, reversing
changes made to 2cdc1a2b74.
2014-10-15 19:34:07 +02:00
Ferenc Kovacs 4fb998d42f Revert "fix TS build"
This reverts commit 84a4041ba4.
2014-10-15 19:33:47 +02:00
Ferenc Kovacs 7b8222aa44 Revert "Merge branch 'PHP-5.4' into PHP-5.5"
This reverts commit 30a73658c6, reversing
changes made to 7fac56e072.
2014-10-15 19:33:31 +02:00
Ferenc Kovacs 528e4166a6 Revert "Bug #67965: Fix blocking behavior in non-blocking crypto streams"
This reverts commit f86b2193a4.
2014-10-15 19:32:46 +02:00
Ferenc Kovacs ff91a48f6e Revert "Bug #41631: Fix regression from first attempt (6569db8)"
This reverts commit 372844918a.
2014-10-15 19:32:14 +02:00
Tjerk Meesters 836a5dfddb Fixed bug #68234
Certificate will now expire in 2034
2014-10-15 21:12:13 +08:00
Ferenc Kovacs 646b4cca85 PHP-5.6.3 is next 2014-10-15 14:08:32 +02:00
Ferenc Kovacs b85b87fabc update NEWS, 5.6.2 will be a security-only release 2014-10-15 14:07:40 +02:00
Stanislav Malyshev 47a1447cc8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix return code (merges are hard :( )
2014-10-14 11:43:34 -07:00
Stanislav Malyshev 3e4cef131e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-14 10:45:47 -07:00
Stanislav Malyshev f9ba0a157f Fix bug #68113 (Heap corruption in exif_thumbnail()) 2014-10-14 10:45:36 -07:00
Stanislav Malyshev 71b63fc701 Fix bug #68089 - do not accept options with embedded \0
Conflicts:
	ext/curl/interface.c
2014-10-14 10:45:35 -07:00
Stanislav Malyshev 88eb7ea47d Fixed bug #68044: Integer overflow in unserialize() (32-bits only) 2014-10-14 10:44:57 -07:00
Stanislav Malyshev 2142d78281 Fix bug #68027 - fix date parsing in XMLRPC lib 2014-10-14 10:44:39 -07:00
Tjerk Meesters fb35d7c56e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #68128
2014-10-14 22:50:07 +08:00
Stanislav Malyshev 4773c1dfdc update NEWS and UPGRADING 2014-10-14 00:36:36 -07:00
Stanislav Malyshev 8615e42942 Merge branch 'pull-request/839' into PHP-5.6
* pull-request/839:
  Upated NEWS
  Address issues raised by @nikic
  Make sure min < max
  Mersenne Twister was added in GMP 4.2
  Add test files
  Add gmp_random_bits(bits) and gmp_random_range(min, max)
  Change GMPs default PRNG to Mersenne Twister
2014-10-14 00:33:16 -07:00
Bob Weinand c812ee9c35 Fix invalid efree() on null pointer and add help for -x 2014-10-14 09:16:30 +02:00
Dmitry Stogov 7acba332fe We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST. 2014-10-13 14:07:37 +04:00
Anatol Belski 449fd307e4 enable console options for remote on win 2014-10-12 20:05:26 +02:00
Anatol Belski d5ce62c17c basic rework for remote on win 2014-10-12 19:53:05 +02:00
Anatol Belski a5607c4b5a fix config.w32 2014-10-12 19:31:38 +02:00
Anatol Belski c96a6b4493 DLL export several APIs needed for phpdbg 2014-10-12 19:22:03 +02:00
Tjerk Meesters 37a685ff2b More fixes for nodelist array access
- testing for null property read
- no zval copying if the type is already long
- memory fix for master
2014-10-12 12:47:58 +08:00
Bob Weinand 1486a9ebf7 Fix some compiler warnings 2014-10-12 00:30:09 +02:00
Bob Weinand e19c789979 Maybe-fix for krakjoe/phpdbg#120, fixed remote on darwin 2014-10-11 23:36:12 +02:00
Bob Weinand 3445e0e59e Fix issue krakjoe/phpdbg#122 (segfault in helpaliases) 2014-10-11 00:20:30 +02:00
Ard Biesheuvel 3e13c6dcb2 update NEWS
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2014-10-10 11:45:24 +02:00
Ard Biesheuvel 8aa952410a Merge branch 'PHP-5.5' into PHP-5.6 2014-10-10 11:44:52 +02:00
Tjerk Meesters a88feb139c Added note to UPGRADING regarding 64-bit support in pack()/unpack() 2014-10-10 07:33:06 +08:00
Tjerk Meesters 30f8a9baff RFC: 64 bit format codes for pack() and unpack() 2014-10-10 07:00:38 +08:00
Leigh 63fd969300 Add 64 bit formats to pack() and unpack() 2014-10-09 21:02:42 +01:00
Tjerk Meesters 59f39dea66 Refactored DOMNodeList array dereferencing implementation 2014-10-09 23:07:12 +08:00
Bob Weinand 9dfc5d5511 Escape control characters 2014-10-09 16:06:10 +02:00
Bob Weinand e72b00b1ec Only show req attribute if given 2014-10-09 14:54:47 +02:00
Bob Weinand f4f9e39faa Fix ev/run/sh parsing 2014-10-09 14:54:08 +02:00
Bob Weinand 0bcb32ae47 Fixed segfault when listing and last line is empty
Conflicts:
	phpdbg_list.c
2014-10-09 12:51:04 +02:00
Bob Weinand a54de936d0 Fixed segfault when listing and last line is empty 2014-10-09 12:43:53 +02:00
Bob Weinand 31b6024c65 Updated xml.md 2014-10-09 12:35:54 +02:00
Bob Weinand a7918213e7 Always output request id in containers 2014-10-09 12:24:52 +02:00
Bob Weinand eeafa4e518 Merge branch 'master' into xml-protocol 2014-10-09 12:01:43 +02:00
Bob Weinand ca7f2f5f43 Ports are unsigned short, use unsigned to display 2014-10-09 12:01:25 +02:00
Bob Weinand b426897c9c Fix regression in list
It showed the entire remaining file before...
2014-10-09 11:52:57 +02:00
Bob Weinand 96de7c4b0a Reduce variabledetails+variable to just one variable tag 2014-10-09 11:47:52 +02:00
Tjerk Meesters 72bd28a5da Updated NEWS for #67949 2014-10-09 16:18:14 +08:00
Tjerk Meesters 8a3b41cd39 Merge branch 'pr/846' into PHP-5.6
* pr/846:
  DOMNodeList elements are accessible through array notation
2014-10-09 15:55:10 +08:00
Tjerk Meesters cac55bad1a Updated NEWS for #68129 2014-10-09 08:24:30 +08:00
Tjerk Meesters f92c9b3ced Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS for #68129
  Fixed bug #68129
2014-10-09 08:24:05 +08:00
Bob Weinand 9db6a93b69 Add <intros> tag around <intro /> tags 2014-10-09 00:25:25 +02:00
Bob Weinand 07bbe62742 Put stack_verify in error buffer too 2014-10-08 23:44:22 +02:00
Bob Weinand fa89d8b3f9 Fix escaping of < 2014-10-08 23:42:20 +02:00
Dmitry Stogov aec519199b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added info about ext/opcache
2014-10-08 21:49:53 +04:00
Bob Weinand 0ef8b4caf3 Revert WS change from "[\r\n\t ]+" to "[\t ]+" 2014-10-08 00:35:17 +02:00
Bob Weinand 89a0d3c2b2 Merge branch 'master' into xml-protocol
Conflicts:
	phpdbg_lexer.c
	phpdbg_prompt.c
2014-10-08 00:27:12 +02:00
Bob Weinand eabcdb2eb2 Fix bug which causes inf loop on \r\n 2014-10-08 00:15:21 +02:00
Keyur Govande 3bd8ac6710 Add to NEWS 2014-10-07 21:22:54 +00:00
Keyur Govande 92f108801e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add to NEWS
  Fix for bug #68087 (ODBC not reading DATE columns correctly)
2014-10-07 21:22:07 +00:00
Keyur Govande 6f634ebb8c Add to NEWS 2014-10-07 21:09:47 +00:00
Keyur Govande bcda6c9392 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add to NEWS
  Fix for bug #68114 (Build fails on OS X due to undefined symbols)
2014-10-07 21:08:18 +00:00
Leigh 106fab00bc Upated NEWS 2014-10-07 14:28:02 +01:00
Leigh aa679295e4 Merge branch 'PHP-5.6' of https://github.com/php/php-src into gmp-random 2014-10-07 14:25:44 +01:00
krakjoe 4b3a11debb make build work moar 2014-10-07 12:36:03 +01:00
Bob Weinand 8bc2881260 Merge branch 'master' into xml-protocol
Conflicts:
	phpdbg.c
	phpdbg.h
	phpdbg_cmd.c
	phpdbg_cmd.h
	phpdbg_frame.c
	phpdbg_info.c
	phpdbg_list.c
	phpdbg_print.c
	phpdbg_prompt.c
	phpdbg_utils.c
	phpdbg_utils.h
	phpdbg_watch.c
2014-10-07 13:08:30 +02:00
krakjoe f545ef48eb fix case insensitivity for registered functions 2014-10-07 11:30:26 +01:00
krakjoe 556ed2d3f4 fix mistake in help 2014-10-07 10:28:21 +01:00
Bob Weinand 6f584e22fe Merge branch 'webdata_transfer' 2014-10-07 00:45:29 +02:00
Bob Weinand 2422c70c4f &quot; => &amp;quot; in md document 2014-10-06 22:34:41 +02:00
Bob Weinand 699497e99f Add request id to <backtrace> 2014-10-06 13:20:04 +02:00
Bob Weinand abd75ea2c5 Fix frames output 2014-10-06 11:46:39 +02:00
Bob Weinand fb76316819 Add request_id possibility for xml output 2014-10-06 11:26:08 +02:00
Bob Weinand 8b6d707df0 Use PHP 5.4 compatible zend_execute in #if 2014-10-05 13:57:35 +02:00
Bob Weinand 2f6317c483 Fix infinite recursion issues (segfaults) 2014-10-05 13:33:31 +02:00
Bob Weinand 38e981bbdc Fix infinite recursion issues (segfaults) 2014-10-05 13:29:56 +02:00
Bob Weinand bedd503c3f Consistency in breakpoint tags, <run> => <stop> 2014-10-05 12:33:24 +02:00
Bob Weinand 9cc73b5c75 Fix precision handling in strings 2014-10-05 11:57:14 +02:00
Bob Weinand c55dbad546 Disable automatic resetting of imported auto_globals 2014-10-05 02:27:51 +02:00
Bob Weinand f48fc67c86 Fix (system) ini entry transfer 2014-10-05 00:16:19 +02:00
Bob Weinand 62465b6d82 Fix issues with path names and cwd 2014-10-04 23:30:57 +02:00
Bob Weinand 19cdad194b Add transfer of output back to webserver and merge master in
Conflicts:
	config.m4
	phpdbg.c
	phpdbg.h
	phpdbg_cmd.c
	phpdbg_prompt.c
2014-10-04 23:21:34 +02:00
Johannes Schlüter 79ca53b62b Merge branch 'PHP-5.5' into PHP-5.6 2014-10-04 20:06:44 +02:00
Johannes Schlüter 61d29990b4 Merge branch 'PHP-5.5' into PHP-5.6 2014-10-04 20:00:10 +02:00
Bob Weinand 9d96cde268 LIBREADLINE => HAVE_LIBREADLINE 2014-10-04 17:02:44 +02:00
Derick Rethans 0e5f475f5e Merge branch 'PHP-5.5' into PHP-5.6 2014-10-04 15:59:17 +01:00
Bob Weinand 490aa1f984 Use or instead of and for libedit and readline 2014-10-04 16:31:34 +02:00
George Wang 0e18003374 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-10-03 16:43:35 -04:00
George Wang 5b08e56eca Fixed a bug that causes crash when environment variable is access while parsing php.ini 2014-10-03 16:42:27 -04:00
Nikita Popov 56da3638c4 Merge branch 'PHP-5.5' into PHP-5.6 2014-10-03 21:42:28 +02:00
Nikita Popov 8617f2fa8d Merge branch 'PHP-5.5' into PHP-5.6 2014-10-03 21:27:07 +02:00
Bob Weinand 323e59adfc Added support for a restricted ev (variables only) in async safe contexts 2014-10-03 12:43:32 +02:00
Ferenc Kovacs 79e05bf557 NEWS entry for previous commit 2014-10-03 11:39:53 +02:00
Ferenc Kovacs 200e407b24 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS entry for previous commit
  add IPv6 support to php-fpm
2014-10-03 11:39:09 +02:00
Sara Golemon f41a7b926a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add hash to EXTENSIONS file
2014-10-02 18:55:29 -07:00
Bob Weinand 8af0870d72 Made some functions async safe and provide interactive shell in signal handler
Fixes also (as a side-effect) a possible bug in list function when included files become unreachable after loading by caching the file contents
This is already pretty stable; a (restricted) ev and sh may follow.
2014-10-03 01:29:41 +02:00
Ferenc Kovacs 7a529790b2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  we also have xz release tarballs since 5.5
  5.5.19 now

Conflicts:
	configure.in
	main/php_version.h
2014-10-02 22:32:18 +02:00
Bob Weinand 7911b6405c Remove accidental insertion of a single "s" 2014-10-02 11:18:36 +02:00
Ferenc Kovacs 26f4e40622 update NEWS about the release date of 5.6.1 2014-10-01 11:15:59 +02:00
Remi Collet 3e6f176733 only no_NO.ISO-8859-1 have to be ignored 2014-10-01 10:14:14 +02:00
krakjoe 7cbd8f8b8a remove bogus locale use from test 2014-10-01 10:12:06 +02:00
Remi Collet f584b67eaa Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  use $PHP_LIBDIR instread of "lib" in skel example
2014-10-01 09:26:46 +02:00
Anatol Belski df4d559881 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test filename
2014-09-29 20:30:43 +02:00
Anatol Belski cc3849f039 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  one more test to illustrate transfer of an arbitrary data amount throug pipes
2014-09-29 20:19:31 +02:00
Anatol Belski 70ff3ad7d1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix tests on linux
  better test cleanup
2014-09-29 18:12:56 +02:00
Anatol Belski 231a311ecb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  increase the polling period to not to break existing behaviours
2014-09-29 17:28:27 +02:00
Anatol Belski 7e16bb263f updated NEWS 2014-09-29 16:28:12 +02:00
Anatol Belski 87a37f4090 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #51800 proc_open on Windows hangs forever
2014-09-29 16:27:33 +02:00
Stanislav Malyshev a8e84b1b21 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Set an LDAP error code when failing ldap_bind due to null bytes
2014-09-28 12:25:49 -07:00
Bob Weinand b183494f37 Send a \x03 during execution to interrupt (POSIX only) 2014-09-28 02:57:12 +02:00
Johannes Schlüter 16b4167fdd Merge branch 'PHP-5.5' into PHP-5.6 2014-09-27 02:18:29 +02:00
Florian MARGAINE 9469db9311 DOMNodeList elements are accessible through array notation
Fixes #67949
2014-09-27 01:27:46 +02:00
Derick Rethans 71c39612d5 Merge branch 'PHP-5.5' into PHP-5.6 2014-09-26 16:27:05 +01:00
Stanislav Malyshev b465f00d42 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix date
  update NEWS
  Revert xp_ssl.c to the state of 5.4.32 due to regressions
2014-09-26 01:01:39 -07:00
Remi Collet d19356948a NEWS 2014-09-26 09:07:12 +02:00
Remi Collet 97cab239d7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed bug #68103 Dupplicate entry in Reflection
2014-09-26 09:06:51 +02:00
Bob Weinand aeb7508959 Fix typo: inactivee => inactive 2014-09-25 22:01:31 +02:00
Bob Weinand 6e698f1fa5 Push first draft of xml protocol documentation 2014-09-25 21:26:57 +02:00
Bob Weinand 7beb17f2fd Make set commands more consistent 2014-09-25 21:25:18 +02:00
Bob Weinand 1ad0287499 Make phpdbg_prompt.c xml messages more consistent 2014-09-25 15:28:25 +02:00
Bob Weinand c30c40c359 Make print command xml output more consistent 2014-09-25 02:04:12 +02:00
Bob Weinand 5ba53cac06 Fix tests 2014-09-25 01:29:08 +02:00
Bob Weinand 67787d7b6d Merge branch 'master' into xml-protocol
Conflicts:
	phpdbg_utils.c
2014-09-25 01:22:33 +02:00
Bob Weinand a4c4c3593b Fix test after adding script ended notice 2014-09-25 00:59:17 +02:00
Bob Weinand 2bd1a74690 Always add a newline before a warning or a notice 2014-09-25 00:55:17 +02:00
Bob Weinand abafb7b4f9 Better naming in list command and inform about filename 2014-09-25 00:22:58 +02:00
Bob Weinand 9bd171888b Use more consistent naming in info command for xml protocol 2014-09-25 00:21:27 +02:00
Leigh adf8f0f284 Address issues raised by @nikic
- Thread safety on rand init function.
 - Ret false on validation failure
 - Add _dep of temp_a to temp_b
 - Special case int sized min values
 - More tests!
2014-09-24 22:01:09 +01:00
Ferenc Kovacs d27f3e7b64 update the certificate used for the test, as it expired recently 2014-09-24 13:40:52 +02:00
Remi Collet 44921ca75d typo 2014-09-24 10:42:20 +02:00
Remi Collet 8d2de21b1c NEWS 2014-09-24 10:36:29 +02:00
Remi Collet 0d776ef87b Fix bug #68074 Allow to use system cipher list instead of hardcoded value 2014-09-24 10:34:55 +02:00
Ferenc Kovacs 213d9ee62d the order of the blocks should be Core, then exts in alphabetical order 2014-09-24 09:40:52 +02:00
Ferenc Kovacs 8673394ecc add missing NEWS entry for the phpdbg compilation fix 2014-09-24 09:39:14 +02:00
Ferenc Kovacs 60dda65306 add NEWS entry for #68088 2014-09-24 09:09:34 +02:00
Leigh 3e9a31748d Make sure min < max 2014-09-24 07:56:46 +01:00
Leigh acd7fcf55f Mersenne Twister was added in GMP 4.2 2014-09-23 23:16:26 +01:00
Leigh 31e27fc89a Add test files 2014-09-23 22:54:40 +01:00
Leigh 831bb9260c Add gmp_random_bits(bits) and gmp_random_range(min, max) 2014-09-23 22:12:23 +01:00
Leigh 3d6d863ccb Change GMPs default PRNG to Mersenne Twister
Since we don't allow users to seed the RNG, there is no BC issue with changing the generator.
2014-09-23 19:51:56 +01:00
Bob Weinand 3b81337f80 Fix accidental short-circuiting when comparing fds (& warnings) 2014-09-23 18:29:36 +02:00
Bob Weinand 79ea51f360 Use consistently "num" for an nth opline number 2014-09-23 17:04:39 +02:00
Bob Weinand beb9520039 Merge branch 'master' into xml-protocol
Conflicts:
	phpdbg_prompt.c
2014-09-23 16:51:18 +02:00
Bob Weinand 92fe2d0a85 Add info globals command 2014-09-23 16:48:37 +02:00
Bob Weinand e2329bc704 Add notification at script end 2014-09-23 13:04:53 +02:00
Tjerk Meesters 1765548bce PR 837: Fixed typo in php.ini-development and php.ini-production
Fixed typo in comment for 'mbstring.detect_order'
2014-09-23 18:10:32 +08:00
Sebastian Zartner 876792c756 Fixed typo 2014-09-23 07:45:03 +02:00
Bob Weinand 7f9e036077 Fix breakpoints and listing 2014-09-22 23:28:07 +02:00
Bob Weinand ca635e4884 A few general segfault fixes 2014-09-22 00:52:22 +02:00
Bob Weinand bbeccd7474 First draft of an xml protocol 2014-09-21 04:17:19 +02:00
Ard Biesheuvel 8312836c74 Merge branch 'PHP-5.5' into PHP-5.6 2014-09-20 16:42:12 -07:00
Nikita Popov 308c0a727e Merge branch 'PHP-5.5' into PHP-5.6 2014-09-20 21:47:59 +02:00
Anatol Belski 6213d9fc91 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix possible array underflow
2014-09-19 20:13:46 +02:00
Matteo Beccati 24ed330a22 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed freetype test on multiple environments
2014-09-16 10:22:49 +02:00
Remi Collet a410067d78 NEWS 2014-09-15 13:32:13 +02:00
Remi Collet 47bc380ecf Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed bug #65641 PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache
2014-09-15 13:31:26 +02:00
Anatol Belski 7f0f04e606 updated NEWS 2014-09-15 10:29:00 +02:00
Anatol Belski e8780e27fd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
2014-09-15 10:28:22 +02:00
Bob Weinand e0e990229d Use full duplex stdin/stdout socket 2014-09-15 09:58:14 +02:00
Remi Collet a390d579bb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e34c8
  Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e34c8
2014-09-15 08:24:20 +02:00
Bob Weinand 29d8aad2f6 Merge phpdbg into PHP-5.6 2014-09-15 05:48:09 +02:00
Bob Weinand 0cb365fb98 Merge phpdbg into PHP-5.6 2014-09-15 05:48:09 +02:00
Bob Weinand 05c73757ed Fix bug #111 (compile error without ZEND_SIGNALS) 2014-09-14 12:24:56 +02:00
Anatol Belski bcdbd47117 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed the cast and incompatible pointer warning
2014-09-12 14:36:54 +02:00
Anatol Belski 13280a9e36 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
2014-09-11 23:31:16 +02:00
Julien Pauli 8ff79d3e89 5.6.2 now 2014-09-11 18:37:25 +02:00
Anatol Belski 0b89bb83ba Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix precision when fetching float through mysqlnd
2014-09-10 19:31:59 +02:00
Bob Weinand cccc75eef9 Do not unload phpdbg module in any case 2014-09-10 17:01:08 +02:00
Bob Weinand 554b30389e Fix segfaults, reorder files and set filename to exec 2014-09-10 16:03:26 +02:00
Bob Weinand c35bb34608 Add webhelper extension and support for loading extensions
New phpdbg commands:
dl [path] - loads module / Zend extension
wait - waits for incoming connection from a phpdbg_webhelper module

Webhelper module is a UNIX domain socket to which a SAPI with the phpdbg_webhelper module loaded will write to the socket information about its whole environment.
phpdbg can then run the request locally [TODO: write the request back to the sender]
2014-09-10 16:03:26 +02:00
Bob Weinand 6464b3ffae Don't run travis against master (phpng) 2014-09-10 15:57:05 +02:00
Michael Wallner 4f2563329b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  make LTP version check a blacklist
2014-09-10 13:31:22 +02:00
Matteo Beccati 0b648a424f FR #67990 - Added nowait argument to sem_acquire 2014-09-10 07:31:25 +02:00
Stanislav Malyshev 3571a68ab9 update NEWS 2014-09-09 16:11:32 -07:00
Daniel Lowrey edb2799333 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #41631: Fix regression from first attempt (6569db8)
  Bug #67965: Fix blocking behavior in non-blocking crypto streams
2014-09-09 10:24:40 -06:00
Tjerk Meesters da7c87e2f8 Updated NEWS for #67985 2014-09-09 18:04:09 +08:00
Tjerk Meesters 7e9daf60c1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed #67985 - Incorrect last used array index copied to new array after unset
2014-09-09 18:03:10 +08:00
Michael Wallner 8d1099ac05 duplicate value's string for the SAPI filter
reported by sesser; tyrael, do you take care of the bug/NEWS?
2014-09-09 06:54:23 +02:00
George Wang 4bdd9aabdd Fine tuned the order of adding request variables. 2014-09-09 00:01:03 -04:00
Adam Harvey 0cbfdc9df5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #67972 (SessionHandler Invalid memory read create_sid()).
  Update LSAPI to 6.7, added support for 'filter_input'. Fixed a crash in CLI mode.
  5.5.18 now

Conflicts:
	configure.in
	main/php_version.h
2014-09-08 19:28:15 +00:00
Nikita Popov 03797a73b2 Split GMP tests testing multiple functions
Also drop dummy test
2014-09-04 21:18:37 +02:00
Nikita Popov 9586b15229 Give proper names to GMP test files 2014-09-04 21:10:41 +02:00
Nikita Popov 15c139b99a Throw warnings when using zero modulus in gmp_powm
Also fixes a leak in this case.
2014-09-04 20:55:09 +02:00
Nikita Popov f10d194c8c Add GMP tests for some uncovered branches 2014-09-04 20:03:29 +02:00
Tjerk Meesters af3bd57d33 Updated NEWS for #67955 2014-09-04 07:00:14 +08:00
Tjerk Meesters fa08ff9245 Fixed #67955: SoapClient prepends 0-byte to cookie names 2014-09-04 06:58:04 +08:00
George Wang b85b78db4f Update LSAPI to 6.7, added support for 'filter_input'.
Fixed a crash in CLI mode.
2014-09-03 11:29:44 -04:00
Philip Hofstetter 9befa8c5f7 fix bug #67955
this fixes a regression from 6c2a806820.

smart_str_appendl is expecting the length as the length of the string,
but key_length is the byte length of the key, including the 0
terminator.

As such, the cookie name appeneded to the header would now also include
the 0 terminator of the key name which then would be sent to the server.
2014-09-03 14:35:40 +02:00
Matteo Beccati 627704b38e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed test with freetype >= 2.4.12
2014-09-03 09:45:09 +02:00
Stanislav Malyshev 3e7d11b632 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.34 is next
2014-09-02 15:04:00 -07:00
Stanislav Malyshev 0c6e2b5219 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback"
2014-09-02 14:19:03 -07:00
Stanislav Malyshev 63f42adbb2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #67644 - Memory corruption & crash during ob_start function callback
2014-09-02 12:32:40 -07:00
Nikita Popov 834daa455b Fixed bug #50175
0x and 0b prefix is now only handled if either no base is given
or if the base is 16 (0x) or 2 (0b). Always handling it is incorrect
because 0x and 0b are perfectly valid numbers in other bases.
2014-09-02 19:04:55 +02:00
Nikita Popov 7533243f0c Fix C89 build and small cleanup 2014-09-02 18:52:13 +02:00
Leigh 47d630e7f0 Implement gmp_import() and gmp_export() 2014-09-02 14:19:18 +02:00
Tjerk Meesters f54451cf39 Make DOMNode::textContent writeable 2014-09-02 06:34:18 +08:00
Tjerk Meesters 8da58e36b4 Updated UPGRADING 2014-09-02 06:32:56 +08:00
Tjerk Meesters 83bacd2fe0 Updated NEWS 2014-09-02 06:32:56 +08:00
Stanislav Malyshev 57f82819e9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
  Fix typo from commit 32314f6b6
  Fix destruction order in zend_shutdown (bug #65463, #66036)
2014-09-01 12:20:34 -07:00
Derick Rethans f89b7ec389 Merge branch 'PHP-5.5' into PHP-5.6 2014-09-01 16:40:54 +01:00
Tjerk Meesters f0ba3e265a Updated UPGRADING for #38409 2014-09-01 22:15:53 +08:00
Tjerk Meesters 65c1e14cb9 Updated NEWS for #38409 2014-09-01 22:13:38 +08:00
Tjerk Meesters 1bf996b324 Added test case 2014-09-01 22:04:25 +08:00
Tjerk Meesters 5270ee1aef Making ini parser typed
- Added ZEND_INI_SCANNER_TYPED mode for parse_ini_string() and parse_ini_file()
- Added NULL_NULL token to separate it from BOOL_FALSE and BOOL_TRUE
- Added zend_ini_copy_typed_value() function for zval initialisation
- Updated RETURN_TOKEN() to observe scanner_mode
2014-09-01 22:04:06 +08:00
Nikita Popov d7368c2531 Fix bug #67938: Segfault when extending interface method with variadic
We only want to check extra optional args if the proto function is
variadic, not when we're adding extra variadic args.
2014-08-30 20:43:34 +02:00
Anatol Belski daefca44b5 updated NEWS 2014-08-30 04:06:00 +02:00
Anatol Belski c301467f9b Fixed bug #67731 finfo::file() returns invalid mime type for binary files 2014-08-30 04:04:42 +02:00
Lior Kaplan 13b45a36f0 Add missing CVE IDs for 5.6.0 2014-08-29 11:42:12 +03:00
Lior Kaplan 210e35a2fa Align entiries format to "Fixed bug #..." 2014-08-29 11:42:12 +03:00
Lior Kaplan 49d6472f9f Use #66356 instead of #66714, as the latter is only a regression fix from the former. 2014-08-29 11:42:12 +03:00
Lior Kaplan cd38d72eee Add an entry for bug#66060 (fixed in 5.5.8) 2014-08-29 11:42:12 +03:00
Stanislav Malyshev 08c63e2a56 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix NEWS for fcgi fix merge
  restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
2014-08-28 23:12:41 -07:00
Lior Kaplan a8b97086d7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  config.guess: add ppc64le / ppcle support by Anton Blanchard <anton@samba.org>
  libtool: powerpc*le-linux support by Alan Modra <amodra@bigpond.net.au>
2014-08-28 00:48:28 +03:00
Nikita Popov fc5f931663 Fix bug #67917 (gmp compound assignment operator leak) 2014-08-27 22:16:20 +02:00
Chris Wright db03216e62 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix stream_select() issue with OpenSSL buffer
2014-08-27 16:06:28 +01:00
Anatol Belski 4d667eeaf3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed DBG_INF macro name
2014-08-27 12:11:35 +02:00
Julien Pauli 1d6e9e8fb7 reworked NEWS for 5.6.0GA 2014-08-27 10:47:44 +02:00
Ferenc Kovacs f39ff29366 fix the NEWS 2014-08-27 04:51:24 +02:00
Ferenc Kovacs bd3e758cf8 add the NEWS entries from the last stable release 2014-08-27 04:23:55 +02:00
Ferenc Kovacs 7ec03b481a almost forgot to bump this 2014-08-27 04:18:23 +02:00
Ferenc Kovacs b165be9ae1 from now on, this should be 5.6.1-dev 2014-08-27 04:14:23 +02:00
Ferenc Kovacs f7b7c14594 update NEWS to reflect what makes into 5.6.0 final 2014-08-27 04:07:37 +02:00
Ferenc Kovacs 86b2d7b523 remove the -dev suffix from the Zend version 2014-08-27 03:52:46 +02:00
Ferenc Kovacs e0a177d676 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update the GIT-RULES with the 5.6 and the release branches
2014-08-27 00:47:57 +02:00
Ferenc Kovacs dbe8c37476 better heading for UPGRADING.INTERNALS 2014-08-26 00:31:36 +02:00
Daniel Lowrey ffab52ad7d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS
2014-08-25 19:50:02 +02:00
Daniel Lowrey 546a32e2b3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #67850: Build when OpenSSL compiled without SSLv3 support

Conflicts:
	ext/openssl/xp_ssl.c
2014-08-25 18:16:38 +02:00
Lior Kaplan 6e87b01e95 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #67730: Add tests by Ryan Mauger <ryan@rmauger.co.uk>
2014-08-25 00:30:40 +03:00
Ferenc Kovacs 86966a092b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  this test depends on the simplexml ext, not just on xml
2014-08-24 00:09:31 +02:00
Tjerk Meesters ce9bdae33f Fixed #67694: Regression in session_regenerate_id() 2014-08-23 09:18:02 +08:00
Michael Wallner 3b82c4e520 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix bug #67865
  updated NEWS to fit last release
  NEWS
  Fix bug #67878 program_prefix not honoured in man pages
2014-08-21 22:45:33 +02:00
Remi Collet 76c2a9f4f4 NEWS 2014-08-21 09:14:39 +02:00
Remi Collet e02616866f Fix bug #67878 program_prefix not honoured in man pages
- add @program_prefix@ in php, phpize and php-config man pages
- set date to 2014
- fix "SEE ALSO" alignment
2014-08-21 09:14:38 +02:00
Anatol Belski d3ca974ff5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  avoid clash when stdint.h was included after win32/php_stdint.h
2014-08-21 09:09:29 +02:00
Stanislav Malyshev 89d3a356d1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2014-08-20 14:44:33 -07:00
Stanislav Malyshev 2dfabd8b51 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2014-08-20 14:43:22 -07:00
Stanislav Malyshev 6424bf659d fix test 2014-08-20 14:42:48 -07:00
Remi Collet 42e1df9b01 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
2014-08-20 15:17:20 +02:00
Remi Collet f4120e53c8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed variable corruption under win x64
2014-08-20 15:10:54 +02:00
Lior Kaplan 96f812e411 Add NEWS entry for bug #67730 2014-08-20 01:34:57 +03:00
Lior Kaplan ac0c864c63 Add CVE ID for bug #67539 2014-08-20 01:18:15 +03:00
Lior Kaplan 6aa7466492 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add NEWS entry for bug #67492
  Add NEWS entry for bug #67730
  Add NEWS entry for bug #67730
  Add CVE ID for bug #67539
2014-08-20 01:16:04 +03:00
Sara Golemon a309dda777 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Switch use of strtok() to gd_strtok_r()
2014-08-19 13:22:14 -07:00
Stanislav Malyshev fae17a00f5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.32
  fix potentially missing NUL termination
  Fix bug #67730 - Null byte injection possible with imagexxx functions
  Fixed bug #67717 - segfault in dns_get_record
  Fix bug #67716 - Segfault in cdf.c
  5.4.32 RC1
2014-08-19 01:34:25 -07:00
Remi Collet cdd987b16c NEWS 2014-08-19 08:41:42 +02:00
Remi Collet 230804b08d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fixed Sec Bug #67717 segfault in dns_get_record CVE-2014-3597
2014-08-19 08:41:14 +02:00
Derick Rethans 77cc6aabb7 Merge branch 'PHP-5.5' into PHP-5.6 2014-08-18 20:27:44 +01:00
Ferenc Kovacs d07f49118a improve the grammar for my recent UPGRADING note 2014-08-18 18:47:07 +02:00
Ferenc Kovacs 003c2c1005 mention the changes regarding ReflectionClass::newInstanceWithoutConstructor in UPGRADING
see the discussion on the mailing list and in the pull request for details:
https://github.com/php/php-src/pull/733
2014-08-18 16:59:03 +02:00
Lior Kaplan f1d0e50ea8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Correct typo in comments: 'initialized'
2014-08-17 21:34:03 +03:00
Lior Kaplan 56d02d564e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  typofixes
2014-08-17 15:51:15 +03:00
Keyur Govande c6d9bf2946 Update NEWS 2014-08-15 23:49:07 +00:00
Keyur Govande 032dee4982 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS
  Fix another failing test
  Add NEWS
  Fix failing tests
  Patch for bug #67839 (mysqli does not handle 4-byte floats correctly)

Conflicts:
	ext/mysqli/tests/mysqli_change_user.phpt
2014-08-15 23:47:06 +00:00
Stanislav Malyshev 3e6cfeed8f add NEWS for 5.6 too 2014-08-14 18:16:33 -07:00
Stanislav Malyshev 23122ba69c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #67716 - Segfault in cdf.c
  Fix bug #67716 - Segfault in cdf.c
2014-08-14 17:22:06 -07:00
Stanislav Malyshev ed7ab762de Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2014-08-14 17:08:37 -07:00
Stanislav Malyshev 41fccab023 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  split the glob() test to test different basedir
  fixed glob() edge case on windows, ref bug #47358
  - fix bug #47358, glob returns error, should be empty array()
2014-08-14 17:05:12 -07:00
Johannes Schlüter a68f63156c Merge branch 'PHP-5.5' into PHP-5.6 2014-08-14 17:25:22 +02:00
Ferenc Kovacs 7c5af1adf9 new NEWS block for the next release 2014-08-14 02:17:55 +02:00
Tjerk Meesters 4950209a74 Updated NEWS for #66091 2014-08-13 20:20:54 +08:00
Tjerk Meesters 4647016abe Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS for #66091
  Fixed #66091

Conflicts:
	ext/date/php_date.c
2014-08-13 20:20:10 +08:00
Tjerk Meesters b0f7cc8756 Updated NEWS for #66091 2014-08-13 20:16:22 +08:00
Tjerk Meesters c5f619ba6f Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Fixed #66091

Conflicts:
	ext/date/php_date.c
2014-08-13 20:15:52 +08:00
Ferenc Kovacs 844e2e81f5 Merge branch 'pr-765' into PHP-5.6
* pr-765:
  NEWS entry for e6d93a1 / d73d44c
  restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
  Revert "Merge branch 'pull-request/694' into PHP-5.6"
2014-08-12 14:47:03 +02:00
Anatol Belski 00fe640b19 updated NEWS 2014-08-12 11:52:50 +02:00
Anatol Belski f50c50a1f8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  updated NEWS
  backported the fix for bug #41577
2014-08-12 11:52:07 +02:00
Ferenc Kovacs 54e8595f34 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix the failing date tests introduced with the latest timezonedb update Derick confirmed on irc that the new/current behavior is the correct and that the tests should be updated to reflect it
2014-08-12 10:38:35 +02:00
Xinchen Hui 1f496744ed Merge branch 'PHP-5.5' into PHP-5.6 2014-08-11 17:47:36 +08:00
David Zuelke 37c08f466e NEWS entry for e6d93a1 / d73d44c 2014-08-09 08:30:50 +02:00
David Zuelke e6d93a11ad restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606 2014-08-09 08:26:33 +02:00
David Zuelke d73d44c237 Revert "Merge branch 'pull-request/694' into PHP-5.6"
This reverts commit d96de86b5b, reversing
changes made to b1e32a4f7a.
2014-08-09 08:14:23 +02:00
Adam Harvey cd63740db7 Add __debugInfo() to UPGRADING.
RMs: this is an UPGRADING only change, and should be safe for RCs.

Developers: please remember to update UPGRADING, otherwise there's a good
chance your shiny new feature won't be documented! (As has happened here.)
2014-08-08 12:00:13 -07:00
Anatol Belski 8b8297170e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix TS build
2014-08-07 19:50:45 +02:00
Daniel Lowrey 6e8de9b418 Update NEWS 2014-08-07 12:40:52 -04:00
Daniel Lowrey dc53eba23b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS
  Update NEWS
2014-08-07 12:39:52 -04:00
Daniel Lowrey 98e67add15 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #41631: Observe socket read timeouts in SSL streams

Conflicts:
	ext/openssl/xp_ssl.c
2014-08-07 12:07:55 -04:00
Anatol Belski 2cdc1a2b74 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  wrap int8_t and int16_t with #ifdef to avoid possible clashes
2014-08-07 15:22:28 +02:00
Derick Rethans 33e9bb79a3 Merge branch 'PHP-5.5' into PHP-5.6 2014-08-07 10:22:14 +01:00
Bob Weinand 4628760f70 Removed Countable::count() change info from UPGRADE.INTERNALS too 2014-08-06 21:13:58 +02:00
Ferenc Kovacs 791c87ae48 Revert "Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option"
This reverts commit a51bf0cadf.
2014-08-06 20:33:48 +02:00
Andrey Hristov 847c65e967 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	NEWS
	configure.in
	main/php_version.h
2014-08-06 17:03:39 +03:00
Andrey Hristov e6a6a5d9dc Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Conflicts:
	NEWS
2014-08-06 16:59:56 +03:00
Andrey Hristov 9959ead309 Use callback structure 2014-08-06 16:50:27 +03:00
Andrey Hristov 3dc9bef819 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	ext/fileinfo/data_file.c
	ext/fileinfo/libmagic/softmagic.c
	ext/fileinfo/magicdata.patch
2014-08-06 16:25:12 +03:00
Stanislav Malyshev 9e3bc19932 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.33-dev now
2014-08-05 21:29:27 -07:00
Daniel Lowrey a51bf0cadf Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option 2014-08-05 23:13:04 -04:00
Michael Wallner 29eb0ea686 BFN 2014-08-05 15:48:35 +02:00
Michael Wallner b2157ca540 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  BFN
  Fixed Bug #67724
2014-08-05 15:48:12 +02:00
Remi Collet 3cc2d5df0d typo 2014-08-04 11:09:18 +02:00
Remi Collet 71a3076560 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  typo
  typo
2014-08-04 11:09:04 +02:00
Remi Collet 3bb5682ed1 NEWS 2014-08-04 10:50:56 +02:00
Remi Collet 6dcc3f9840 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fixed Bug #66901 php-gd 'c_color' NULL pointer dereference
2014-08-04 10:50:33 +02:00
Anatol Belski d730675be5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  backport the fix for bug #67739
2014-08-04 09:58:47 +02:00
Stanislav Malyshev 12d76b8cce Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add test
  Fix bug #67705 (extensive backtracking in rule regular expression)

Conflicts:
	ext/fileinfo/data_file.c
	ext/fileinfo/libmagic/softmagic.c
	ext/fileinfo/magicdata.patch
2014-08-04 00:12:43 -07:00
Stanislav Malyshev 28786a2f82 Fix bug #67705 (extensive backtracking in rule regular expression) 2014-08-04 00:09:15 -07:00
Andrey Hristov f5deb18b20 Merge branch 'PHP-5.5' into PHP-5.6 2014-07-31 21:28:09 +03:00
Peter Cowburn 6a4f0b14eb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #51096 - Remove unnecessary ? for first/last day of
2014-07-31 14:34:50 +01:00
Tjerk Meesters 8f345a7148 Moved streams related functions to xp_ssl.c 2014-07-31 12:17:17 +08:00
Keyur Govande 4383ac04a0 Remove duplicate NEWS 2014-07-30 18:48:43 +00:00
Keyur Govande 33c4b9d5a6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS
  Update NEWS
2014-07-30 18:41:13 +00:00
Keyur Govande 752c40d2ec Update NEWS 2014-07-30 18:38:48 +00:00
Michael Wallner b3b25e1b70 BFN 2014-07-30 20:14:03 +02:00
Michael Wallner ceadf783fe Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  BFN
  Fixed bug #67715 (php-milter does not build and crashes randomly).
2014-07-30 20:13:39 +02:00
Rasmus Lerdorf 7fe21ce0f3 Merge commit '8b9719d' into PHP-5.6
* commit '8b9719d':
  We need to turn off any strict mode here for this warning to show up
2014-07-30 12:23:36 -04:00
Bob Weinand d5ddd2dbb2 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
2014-07-30 17:57:07 +02:00
Bob Weinand 354ee12b73 Revert "Fix bug #67064 in a BC safe way"
This reverts commit 1a4a9eede5.

Conflicts:
	ext/standard/array.c
	ext/standard/tests/array/bug67064.phpt
2014-07-30 17:18:05 +02:00
Tjerk Meesters f925892920 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS for #67693
  Fixed bug #67693 - incorrect push to the empty array
2014-07-30 18:27:29 +08:00
Ferenc Kovacs 8e13e50267 add missing entry to NEWS 2014-07-30 11:47:14 +02:00
Ferenc Kovacs d325a1c523 add missing entries to NEWS 2014-07-30 11:26:55 +02:00
Ferenc Kovacs 858c076810 add NEWS block for the next RC 2014-07-30 10:51:28 +02:00
Ferenc Kovacs d649b785d6 NEWS entry for #67713 2014-07-30 10:45:35 +02:00
Ferenc Kovacs 89b54c2aa5 Merge branch 'newInstanceWithoutConstructor' into PHP-5.6
* newInstanceWithoutConstructor:
  update the exception message to better match the actual check
  ReflectionClass::newInstanceWithoutConstructor() should be allowed to instantiate every class except those internal classes with a final __construct()
2014-07-30 10:23:29 +02:00
Ferenc Kovacs d18b16244c update the exception message to better match the actual check 2014-07-30 10:16:01 +02:00
Ferenc Kovacs d586441d90 ReflectionClass::newInstanceWithoutConstructor() should be allowed to instantiate every class except those internal classes with a final __construct() 2014-07-30 10:08:56 +02:00
Dmitry Stogov 43e956a9a1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed usage after free
2014-07-30 10:40:06 +04:00
Keyur Govande f0278589e1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Undo inadvertent commit of php_version
  Corrected patch for bug #60616
2014-07-30 02:41:01 +00:00
Tjerk Meesters a7dad26c4b Wildcards should only be used in the first name component; fixed comment style 2014-07-29 19:15:01 +08:00
Keyur Govande 9720d92c67 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #60616 (odbc_fetch_into returns junk at end of multi-byte char fields)
2014-07-28 23:16:52 +00:00
Stanislav Malyshev 180db42a90 fix SOAP for uninitialzed object 2014-07-28 11:38:06 -07:00
Stanislav Malyshev 7f865ffdd8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix NEWS
2014-07-28 00:39:00 -07:00
Stanislav Malyshev c41ca94824 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix missing type checks in various functions

Conflicts:
	ext/openssl/openssl.c
2014-07-28 00:37:32 -07:00
Stanislav Malyshev 90a0d58af8 Fix SPL objects initialization checks 2014-07-26 18:59:16 -07:00
Stanislav Malyshev 403eca4173 Add object initialization checks for sqlite3 classes 2014-07-26 16:57:45 -07:00
Ferenc Kovacs a68ef0a117 Revert "Fix bug #66568: the second arg for unserialize is optional." as we already reverted the introduction of the second arg.
This reverts commit aefc8f22b3.

Conflicts:
	NEWS
2014-07-25 13:15:27 +02:00
Stanislav Malyshev 3345722354 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  Fixed bug #67539 (ArrayIterator use-after-free due to object change during sorting)
  Fixed Bug #67538 (SPL Iterators use-after-free)
2014-07-24 22:58:29 -07:00
Xinchen Hui bad5502ca9 Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6 2014-07-25 10:52:46 +08:00
Xinchen Hui 235d0241d1 Merge branch 'PHP-5.5' into PHP-5.6 2014-07-25 10:52:41 +08:00
Johannes Schlüter 8d1ec3814e Merge branch 'PHP-5.5' into PHP-5.6 2014-07-24 18:01:35 +02:00
Johannes Schlüter 210315d5a5 Merge branch 'PHP-5.5' into PHP-5.6 2014-07-24 16:58:50 +02:00
Tjerk Meesters aab23cf38e Updated NEWS for #67666 2014-07-24 14:39:18 +08:00
Tjerk Meesters 38e714ece5 Fixed #67666 - Subject altName doesn't match wildcards 2014-07-24 14:36:31 +08:00
Dmitry Stogov ea1d5dcacb Removed second zval_copy_ctor() 2014-07-24 01:16:00 +04:00
Dmitry Stogov d909b6330e Fixed crash on self-referencing constant expression (part of a constant AST) 2014-07-24 00:37:15 +04:00
Dmitry Stogov c49a06168e Fixed support for constant arrays in context of "const" statement (Zend/tests/constant_expressions_arrays.phpt failed when opcache.protect_memort was set) 2014-07-23 22:47:58 +04:00
Bob Weinand e3605383cd Merge pull request #106 from EagleEyeJohn/patch-1
Update README.md
2014-07-22 04:49:41 +02:00
Anatol Belski a6ecb873b9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix nmake snap when ext name is different in target dll
2014-07-21 14:47:40 +02:00
Anatol Belski f6d941e4b4 force atoll macro usage on windows 2014-07-21 09:52:52 +02:00
Lior Kaplan b131b03dc2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Enable $ replacement in exif, ldap, pdo_pgsql and tidy
  Update NEWS
2014-07-21 01:49:31 +03:00
Remi Collet d55f23ea5a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  See bug #67635
2014-07-20 11:15:59 +02:00
Remi Collet 0ec8f19975 NEWS 2014-07-19 18:47:14 +02:00
Remi Collet d5d16b6278 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  improve previous, add message during configure
  Fixed bug #67635 php links to systemd libraries without using pkg-config
2014-07-19 18:46:46 +02:00
Xinchen Hui 1d2f232bd2 Merge branch 'PHP-5.5' into PHP-5.6 2014-07-19 17:19:39 +08:00
Xinchen Hui cd95347cbc Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6 2014-07-19 13:12:42 +08:00
Xinchen Hui 9bef96d96e Merge branch 'PHP-5.5' into PHP-5.6 2014-07-19 13:12:36 +08:00
Yasuo Ohgaki f19eb82f7c Update NEWS 2014-07-19 10:13:15 +09:00
Yasuo Ohgaki d0d5a1c444 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66827 Session raises E_NOTICE when session name variable is array
2014-07-19 09:59:51 +09:00
Anatol Belski 47e640164a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  implemented copy libs of core exts in phpize mode
2014-07-18 18:40:58 +02:00
Rasmus Lerdorf f8f6bd7a08 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  fix copy the ext dll into the prefix path in phpize mode
  fix default prefix in phpize mode
  fix file with zero size usage in phpize mode
  Update NEWS
  Fixed bug #66608 (Incorrect behavior with nested "finally" blocks)
  Enable build without atoll (e.g old AIX flavours)
  Enable build without atoll (e.g old AIX flavours)
  implemented usage of the non core ext deps in phpize mode
  implemented force usage of generated .h and .js deps in phpize mode
  basic routines for phpize mode to
  Easier to read
  Add some trace info as well as update CLIENT_ flags
  Fix my name in the given credit
  Update NEWS for PR#723 merge
  Add ifdef on ecdh for single_ecdh_use
  fix C89 compat
  This test depends on expose_php being on
  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
2014-07-18 08:14:08 -07:00
Anatol Belski f9d5d2abaa Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix copy the ext dll into the prefix path in phpize mode
  fix default prefix in phpize mode
  fix file with zero size usage in phpize mode
2014-07-18 11:42:24 +02:00
Xinchen Hui 0d01891799 Update NEWS 2014-07-18 15:51:10 +08:00
Xinchen Hui 550b3e4306 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	Zend/zend_vm_def.h
	Zend/zend_vm_execute.h
2014-07-18 15:48:56 +08:00
Lior Kaplan 84673485f5 Enable build without atoll (e.g old AIX flavours) 2014-07-17 23:10:08 +03:00
Lior Kaplan c186ce8fef Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Enable build without atoll (e.g old AIX flavours)
2014-07-17 23:09:54 +03:00
Anatol Belski 0662a0b068 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  implemented usage of the non core ext deps in phpize mode
2014-07-17 21:49:08 +02:00
John Nicholls 44d61576b9 Update README.md
correct spelling of "exert"
2014-07-17 15:43:24 +01:00
Anatol Belski 9308df4f62 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  implemented force usage of generated .h and .js deps in phpize mode
2014-07-17 09:32:31 +02:00
Anatol Belski f86177c96f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  basic routines for phpize mode to
  This test depends on expose_php being on
  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
2014-07-16 21:35:04 +02:00
Andrey Hristov 23554aae19 Easier to read 2014-07-16 19:50:28 +03:00
Andrey Hristov 06f5f65c94 Add some trace info as well as update CLIENT_ flags 2014-07-16 19:24:39 +03:00
Lior Kaplan ef95840550 Fix my name in the given credit 2014-07-16 17:45:23 +03:00
Daniel Lowrey 33de1dece8 Update NEWS for PR#723 merge 2014-07-16 00:14:22 -04:00
Lior Kaplan cbcbf73fe8 Add ifdef on ecdh for single_ecdh_use
Allows build with OpenSSL < 0.9.8
2014-07-16 00:10:29 +03:00
Anatol Belski 236365a016 fix C89 compat 2014-07-14 20:27:59 +02:00
Rasmus Lerdorf 935bc5795f This test depends on expose_php being on 2014-07-14 08:21:57 -07:00
Rasmus Lerdorf 5d391be285 The test output is dependent on expose_php ini 2014-07-14 07:17:59 -07:00
Rasmus Lerdorf b270cc9284 1.2 is a problematic float to print out
Lower the default display precision for this test
2014-07-14 07:17:39 -07:00
Rasmus Lerdorf 8d359bbcca Test output relies on expose_php being on 2014-07-14 07:17:12 -07:00
Anatol Belski 41009b40e0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  added headers install to phpize mode
2014-07-14 09:53:34 +02:00
Daniel Lowrey f3bf887e6d Bug #67609: TLS connections fail behind HTTP proxy 2014-07-12 10:51:44 -04:00
Tjerk Meesters b3948b1d05 Updated NEWS for #67594 2014-07-12 15:11:05 +08:00
Tjerk Meesters 4e3d9a52ac Merge branch 'PHP-5.5' into PHP-5.6 2014-07-12 15:09:47 +08:00
Tjerk Meesters c3f5e2a1f9 Updated NEWS for 34407 2014-07-12 11:14:18 +08:00
Tjerk Meesters 18feaf9416 Merge branch 'PHP-5.5' into PHP-5.6 2014-07-12 11:10:15 +08:00
George Wang ca8c94c917 fixed broken merged code 2014-07-11 14:57:55 -04:00
George Wang 84373a69dc Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-07-11 14:40:54 -04:00
George Wang 79d8be35f9 Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index. 2014-07-11 14:38:18 -04:00
Anatol Belski c79a6a0613 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix makefile in phpize mode
2014-07-11 15:07:22 +02:00
Anatol Belski e0d6ed6b21 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixe output_as_table() when no ext was enabled
2014-07-11 09:38:44 +02:00
Anatol Belski 63abaa6d69 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix end of stream exception when generating makefile
2014-07-10 22:35:23 +02:00
Anatol Belski fbc21af87b Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Conflicts:
	sapi/litespeed/lsapilib.h
2014-07-10 22:15:52 +02:00
Anatol Belski 552cfcc578 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  force ext_dep.js prepend to configure.js in phpize mode
  cleanup file headers.
  Do not kill children process in pre-fork mode when parent process quit.
  update to LSAPI 6.6
  Update LiteSpeed SAPI code to V6.4
  cleanup file headers.
  Do not kill children process in pre-fork mode when parent process quit.
  update to LSAPI 6.6
  Update LiteSpeed SAPI code to V6.4

Conflicts:
	sapi/litespeed/lsapi_main.c
	sapi/litespeed/lsapilib.c
2014-07-10 22:03:45 +02:00
George Wang 7f41a34c23 cleanup file headers. 2014-07-10 15:53:47 -04:00
George Wang ad7eae7512 Do not kill children process in pre-fork mode when parent process quit. 2014-07-10 15:53:20 -04:00
George Wang f0b7db6c4e update to LSAPI 6.6
Conflicts:
	sapi/litespeed/lsapi_main.c
2014-07-10 15:52:45 -04:00
George Wang 232661bf88 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-07-10 14:14:38 -04:00
George Wang 72e14bfb40 update year & copyright 2014-07-10 14:14:11 -04:00
Anatol Belski 71f4b1e4d9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  turn off PGO in phpize mode
  Fixed typo in Makefile.frag
  Fixed typo in Makefile.frag
2014-07-10 19:37:12 +02:00
Anatol Belski a8076b9312 explicitly PHP_ANALYZER=no when no known keyword was passed 2014-07-10 15:20:34 +02:00
Stanislav Malyshev f0f6d24bc8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.31
  fix unstable test
  5.5.16 now
2014-07-08 21:42:20 -07:00
Stanislav Malyshev 0ba74fccff update NEWS 2014-07-08 15:05:05 -07:00
Stanislav Malyshev 062f1482c3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix unstable test
2014-07-08 14:32:27 -07:00
Stanislav Malyshev f559976be6 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  fix unstable test
2014-07-08 14:31:40 -07:00
Stanislav Malyshev 35259e1d53 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #67587: Redirection loop on nginx with FPM
2014-07-08 12:55:02 -07:00
Christian Weiske e65e013e15 Fix bug #67587: Redirection loop on nginx with FPM
Redirection will work correctly as long as PATH_INFO is available,
e.g. via the following nginx configuration:

    set $path_info $fastcgi_path_info;
    fastcgi_param PATH_INFO $path_info;
2014-07-08 12:54:57 -07:00
Anatol Belski b9ead7c67d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  updated NEWS
2014-07-08 10:08:24 +02:00
Anatol Belski 0d80e6cba0 updated NEWS 2014-07-08 10:08:10 +02:00
Anatol Belski 8b3cc726be Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Backported the patch from bug #67407 into 5.5+
  Backported the patch from bug #67407 into 5.4
  NEWS
  NEWS
  Fix Bug #67530 	error_log=syslog ignored

Conflicts:
	sapi/fpm/fpm/fpm_stdio.c
2014-07-08 09:57:36 +02:00
Remi Collet 208ae5498d NEWS 2014-07-08 08:33:48 +02:00
Remi Collet 71a27605f4 5.6 have fpm_globals.force_stderr 2014-07-08 08:33:48 +02:00
Remi Collet 60fd4d445c Fix Bug #67530 error_log=syslog ignored
As for Bug #64915
Systemd use --nodaemonize but need to error_log to file or syslog to be honoured
2014-07-08 08:33:47 +02:00
Adam Harvey 70e9d3e2f9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
2014-07-07 20:45:01 +00:00
Stanislav Malyshev 41448bff7c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  create locales and re-add test

Conflicts:
	.travis.yml
2014-07-07 10:42:13 -07:00
Stanislav Malyshev 31b395ac68 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  rm test for now
2014-07-07 09:33:05 -07:00
Stanislav Malyshev 432bb7abe5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  change locale - looks like not everybody has sl_SI
2014-07-07 01:36:24 -07:00
Stanislav Malyshev 04a227dd16 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #66921 - Wrong argument type hint for function intltz_from_date_time_zone
  fix format
2014-07-07 00:50:07 -07:00
Stanislav Malyshev effb2b7a13 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting)
  Make sure the generator script also creates a newline at the end of file
  Add newline at end of file to prevent compilation warning
2014-07-07 00:38:38 -07:00
Bob Weinand 0378b4caac Reference bug report instead of github issue in NEWS file 2014-07-06 13:34:03 +02:00
Stanislav Malyshev 7bb86f8a6b add more exts for Travis 2014-07-05 19:59:26 -07:00
Bob Weinand 715aea43e4 Update NEWS 2014-07-06 01:20:46 +02:00
Bob Weinand 18c9f8fbb9 Merge sapi/phpdbg into PHP-5.6 2014-07-06 01:17:50 +02:00
Bob Weinand 17658fa7b8 Merge sapi/phpdbg into PHP-5.6 2014-07-06 01:17:50 +02:00
Bob Weinand ba65286fa4 Merge pull request #104 from andytson/feature/rpm-build-fix
Fix phpdbg.1 man page installation when build != src directory
2014-07-06 01:16:03 +02:00
Andy Thompson 07d2272297 Fix phpdbg.1 man page installation when build != src directory 2014-07-05 13:05:05 +01:00
Michael Wallner 88c1ce3203 BFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir) 2014-07-03 20:40:41 +02:00
Michael Wallner 155b5d1725 reorder 2014-07-03 20:40:41 +02:00
Michael Wallner deee0011e1 restore API compatibility 2014-07-03 20:40:41 +02:00
Michael Wallner 438b6c5258 finish 2014-07-03 20:40:40 +02:00
Michael Wallner 40bcd909d8 refactor php_stream_temp_create{,_ex} and use it for the php://input stream 2014-07-03 20:40:40 +02:00
Michael Wallner 11e401ab59 refactor _php_stream_fopen_{temporary_,tmp}file() 2014-07-03 20:40:40 +02:00
Michael Wallner 04c6a5b377 fix length overflow of HTTP_RAW_POST_DATA 2014-07-03 20:40:40 +02:00
Xinchen Hui 989cdabe25 Update NEWS 2014-07-03 14:59:14 +08:00
Xinchen Hui 4e16054b7a Merge branch 'PHP-5.5' into PHP-5.6 2014-07-03 14:58:53 +08:00
Xinchen Hui 1f6b877f7a Fixed section 2014-07-03 10:51:24 +08:00
Xinchen Hui 1ffd32b952 Merge branch 'PHP-5.5' into PHP-5.6 2014-07-03 10:51:10 +08:00
Ferenc Kovacs 6ca71b451e also add Remi to the QA credits 2014-07-02 23:35:31 +02:00
Ferenc Kovacs 58598ead2c add Stas and Julient to the QA credits 2014-07-02 23:32:50 +02:00
Ferenc Kovacs 3be6f0dc79 update the credits 2014-07-02 23:26:41 +02:00
Nikita Popov a91d1bb9a3 Merge branch 'PHP-5.5' into PHP-5.6 2014-07-02 22:40:45 +02:00
Ferenc Kovacs 1ef67b8486 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  adding a reproduce script for bug #49184
2014-07-02 22:38:53 +02:00
Nikita Popov 4827806b9e Merge branch 'PHP-5.5' into PHP-5.6 2014-07-02 22:35:00 +02:00
Adam Harvey c580d9b69c Fix ext/pgsql builds against libpq 7.3.
Fixes bug #67555 (Cannot build against libpq 7.3).
2014-07-02 12:30:06 -07:00
Nikita Popov 1ea4b17af2 Merge branch 'PHP-5.5' into PHP-5.6 2014-07-02 17:36:27 +02:00
Bob Weinand 1163a7ce24 Mark test as XFAIL until fixed 2014-07-02 17:25:47 +02:00
Bob Weinand 33699a4dab Messed up syntax of tests 2014-07-02 12:43:27 +02:00
Bob Weinand 09d1a8aaab Add tests for constant expression arrays
Adding one failing (!) test for now about circular constant references embedded in a constant AST, must be fixed before PHP 5.6 release.
2014-07-02 12:33:46 +02:00
Xinchen Hui 05cc46a96b Update NEWs 2014-07-02 17:58:37 +08:00
Xinchen Hui f48f311533 Merge branch 'PHP-5.5' into PHP-5.6 2014-07-02 17:58:11 +08:00
Anatol Belski 9e2d08923f Merge branch 'PHP-5.5' into PHP-5.6 2014-07-02 11:36:00 +02:00
Anatol Belski b69f369d3d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  backported the VC12 fix for ARG_MAX
2014-07-02 11:12:32 +02:00
Michael Wallner 122ee0a1cf Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix integer overflow in {stream,file}_{get,put}_contents()
2014-07-02 09:56:05 +02:00
Ferenc Kovacs d5d95f8935 add some missing NEWS entries 2014-07-02 02:18:48 +02:00
Ferenc Kovacs 996fc57515 NEWS block for 5.6.0RC3 2014-07-02 01:39:26 +02:00
Adam Harvey d1adf55c15 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix ext/pgsql builds with libpq < 7.3.
2014-07-01 13:25:55 -07:00
Anatol Belski 765b0ee715 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libs_version.txt
  updated libs_version.txt
2014-07-01 10:34:55 +02:00
Anatol Belski 3fd792b3b9 updated libmagic.patch in 5.6+ 2014-07-01 10:28:43 +02:00
Anatol Belski 48746387b3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libmagic.patch
2014-07-01 10:28:20 +02:00
Dmitry Stogov 2330be5641 Fixed possible crash because of race conditions on modifying constants in shared memory 2014-07-01 00:13:34 +04:00
Ferenc Kovacs 023d53fea5 remove the NEWS entry for the reverted fpm fix 2014-06-30 18:39:06 +02:00
Ferenc Kovacs d810c2139f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  remove the NEWS entry for the reverted fpm fix
  remove the NEWS entry for the reverted fpm fix
  Revert "Fix Bug #67530 	error_log=syslog ignored"
2014-06-30 18:38:54 +02:00
Ferenc Kovacs 3ec93ee19f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  --enable-fpm for the travis build
2014-06-30 12:30:49 +02:00
Ferenc Kovacs 6d8d5e9310 fix the last fpm NEWS entry, the other bug is related, but not the same what we fixed here 2014-06-30 02:32:06 +02:00
Ferenc Kovacs e7c88637c2 NEWS 2014-06-30 01:35:02 +02:00
Ferenc Kovacs d1fb869e78 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix bug #67091: make install fails to install libphp5.so on FreeBSD 10.0
2014-06-30 01:34:47 +02:00
Ferenc Kovacs 19e5852ad8 adding NEWS entry for the fix for bug #65641 2014-06-30 01:02:22 +02:00
Ferenc Kovacs d96de86b5b Merge branch 'pull-request/694' into PHP-5.6
* pull-request/694:
  Fix SetHandler proxy:fcgi:// incompatibilities
2014-06-30 00:51:59 +02:00
Felipe Pena 82f0b934a9 - CS 2014-06-29 09:57:57 -03:00
Bob Weinand b1e32a4f7a Updated NEWS file for recent phpdbg fixes 2014-06-29 12:54:33 +02:00
Bob Weinand 856801b84f Merge sapi/phpdbg into PHP-5.6 2014-06-29 12:49:10 +02:00
Bob Weinand 1dd3bab1df Merge sapi/phpdbg into PHP-5.6 2014-06-29 12:49:10 +02:00
Bob Weinand 58c69746e5 Fixed issue krakjoe/phpdbg#94 - List behavior is inconsistent 2014-06-29 12:43:51 +02:00
Bob Weinand 4fde0c258e Fix issue krakjoe/phpdbg#97 - list now appends a newline if there is none
The prompt should always ensure it is on a newline
2014-06-29 12:18:39 +02:00
Xinchen Hui 959a006d61 Fixed test 2014-06-29 18:00:31 +08:00
Bob Weinand d298425323 Inform about back command existence in help - Fixes krakjoe/phpdbg#100
No way to list the current stack/frames
2014-06-29 11:55:42 +02:00
Bob Weinand 16ae792988 Fix issue krakjoe/phpdbg#98
break if does not seem to work
2014-06-29 11:42:40 +02:00
Bob Weinand ef77d84061 Merge pull request #102 from dshafik/fix-96
Fix typo in `finish` help
2014-06-29 11:28:44 +02:00
Bob Weinand debc20df80 Merge pull request #101 from dshafik/fix-95
Replace incorrect `E` command with `ev` in watch help
2014-06-29 11:28:33 +02:00
Bob Weinand 986a89ae1b Fix issue krakjoe/phpdbg#99
register function has the same behavior as run
2014-06-29 11:26:27 +02:00
Bob Weinand 219beac36b Fix readline/libedit (Thanks to @remicollet) 2014-06-29 11:26:03 +02:00
Davey Shafik 2e66754408 Replace incorrect E command with ev in watch help
Fixes #95
2014-06-29 04:44:02 -04:00
Davey Shafik 4ac8966030 Fix typo in finish help
Fixes #96
2014-06-29 04:32:01 -04:00
Ferenc Kovacs 99967ac075 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  removing the format added by mistake, props to Solar Designer for spotting this.
2014-06-27 16:29:35 +02:00
Remi Collet f201d061ba NEWS 2014-06-27 09:51:34 +02:00
Remi Collet 37aa57cd1b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fix Bug #67531 	syslog cannot be set in pool configuration
  Fix Bug #67530 	error_log=syslog ignored
2014-06-27 09:51:15 +02:00
Stanislav Malyshev 1255aa9130 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update the date
  better explanation
2014-06-26 21:18:06 -07:00
Stanislav Malyshev 1d81a1c354 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  more extensive note on unserialize() change
  more extensive note on unserialize() change
2014-06-26 10:40:36 -07:00
Bob Weinand 05955fbce5 Merge sapi/phpdbg into PHP-5.6 2014-06-25 13:56:45 +02:00
Bob Weinand 09b2510df6 Merge sapi/phpdbg into PHP-5.6 2014-06-25 13:56:45 +02:00
Bob Weinand 858b45d4ad Merge branch 'master' of https://github.com/oerdnj/phpdbg into master
Rewritten author line and included instructions to make install the man page
2014-06-25 13:31:24 +02:00
Stanislav Malyshev 78c3ca105b remove bug67072_2 test for 5.6+ since we'd have cleaner solution 2014-06-24 11:24:07 -07:00
Stanislav Malyshev b4c046d156 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix test - because of big #67397 we don't allow overlong locales anymore
2014-06-24 11:23:48 -07:00
Stanislav Malyshev 03b3013ca9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  5.4.30
  Better fix for bug #67072 with more BC provisions
  Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
  update CVE
  Fix bug #67492: unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion
  Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1))
  Fix bug #67349: Locale::parseLocale Double Free
  add CVEs
  Fix potential segfault in dns_get_record()
  Fix bug #66127 (Segmentation fault with ArrayObject unset)
  5.4.30 rc1
2014-06-24 10:30:56 -07:00
Stanislav Malyshev cfe06eb2b1 Better fix for bug #67072 with more BC provisions 2014-06-24 10:30:03 -07:00
Stanislav Malyshev 84f9fe0fdc Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability 2014-06-24 10:29:26 -07:00
Stanislav Malyshev b03993dde9 Fix bug #67492: unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion 2014-06-24 10:29:26 -07:00
Stanislav Malyshev f48b8f3339 Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1)) 2014-06-24 10:29:25 -07:00
Stanislav Malyshev 844a046945 Fix bug #67349: Locale::parseLocale Double Free 2014-06-24 10:29:09 -07:00
Xinchen Hui 9d49492fd6 Fixed bug #67368 (Memory leak with immediately dereferenced array in class constant) 2014-06-24 13:53:05 +08:00
Stanislav Malyshev 6b8cef7847 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Better fix for bug #67072 with more BC provisions
  Better fix for bug #67072 with more BC provisions

Conflicts:
	ext/standard/var_unserializer.c
	ext/standard/var_unserializer.re
2014-06-23 22:15:01 -07:00
Ondřej Surý 62b6cdbbd7 Add initial manual page for phpdbg.1 2014-06-23 11:35:42 +02:00
Remi Collet b3ef019b62 NEWS 2014-06-23 10:39:06 +02:00
Remi Collet 7efbccd60f Better fix for phpdbg + libedit
- fix include
- disable coloured prompt only with libedit
2014-06-23 10:21:19 +02:00
Remi Collet 0da5d94a6c Better fix for phpdbg + libedit
- fix include
- disable coloured prompt only with libedit
2014-06-23 10:21:19 +02:00
Remi Collet 679d08e8ba Fix https://github.com/krakjoe/phpdbg/issues/91
Enable edit feature when build with libedit.

Notice: coloured prompt only enable with READLINE
2014-06-23 10:21:19 +02:00
Remi Collet 0febafcfbe Fix https://github.com/krakjoe/phpdbg/issues/91
Enable edit feature when build with libedit.

Notice: coloured prompt only enable with READLINE
2014-06-23 10:21:19 +02:00
Ferenc Kovacs 53158f2c32 testcase for 67468 (only for debug build, as I could not create a stable segfault without loading other exts like pgsql) 2014-06-23 10:10:17 +02:00
Ferenc Kovacs 3058b87783 mention 67468 fix in NEWS 2014-06-23 10:08:32 +02:00
Andreas Ferber c5e6c2a5f5 Fix Bug #67468 Segfault in highlight_file()/highlight_string() when pgsql.so module is loaded
str_efree() must be used in zend_highlight() and zend_indent() to free
string data assigned to a zval to account for interned strings.
2014-06-23 09:51:44 +02:00
Dmitry Stogov f08a5bfadc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed MarinaDB support
2014-06-20 13:58:26 +04:00
Remi Collet e9c9169e05 skip this test which fails without network 2014-06-20 06:45:16 +02:00
Ferenc Kovacs 2f43bc73b6 add missing entry to NEWS 2014-06-19 02:29:27 +02:00
Ferenc Kovacs 00677cd771 add missing entry to NEWS 2014-06-19 02:18:26 +02:00
Ferenc Kovacs dd9f81dd47 add NEWS block for 5.6.0RC2 2014-06-19 01:34:25 +02:00
Andrey Hristov a886a0cf93 Add support for gb18030/MySQL 5.7 2014-06-18 21:53:34 +03:00
Andrey Hristov 6dd0e8e0fc Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-06-18 18:32:51 +03:00
Andrey Hristov f201bf2305 Fix another problem with MySQL 5.7 2014-06-18 18:30:37 +03:00
Remi Collet bf7fed7e41 new test, missing in ea466a3 2014-06-18 15:59:45 +02:00
Andrey Hristov 23f77050eb Merge branch 'PHP-5.5' into PHP-5.6 2014-06-18 16:42:42 +03:00
Lior Kaplan b0b47a2064 Update copyright year to 2014 2014-06-18 00:18:47 +03:00
Lior Kaplan 9f727692b6 Update copyright year to 2014
Align with online version at http://www.php.net/license/3_01.txt
2014-06-18 00:16:23 +03:00
Lior Kaplan 1222f51ebd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update copyright year to 2014
  Update copyright year to 2014
  Update copyright year to 2014
  Update copyright year to 2014
2014-06-18 00:14:18 +03:00
Remi Collet ba34f0c2e8 NEWS 2014-06-17 09:41:10 +02:00
Remi Collet ea466a316f Fix Request #67453 Allow to unserialize empty data.
SplDoublyLinkedList, SplObjectStorage and ArrayObject have empty
constructor (no arg), so it make sense to allow to unserialize empty
data.

This allow the hack (used in various place, including PHPUnit) to
instanciate class without call to constructor to work.
2014-06-17 09:38:54 +02:00
Lior Kaplan 55d97085a4 Update copyright year to 2014 2014-06-16 23:34:50 +03:00
Lior Kaplan b538816b0b Update copyright year to 2014 2014-06-16 23:34:50 +03:00
Lior Kaplan 11b18347d8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update copyright year for re2c generated files
  Update copyright year to 2014
  Update copyright year for re2c files as well
2014-06-16 23:32:10 +03:00
Bob Weinand 3c2b42ac41 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	Zend/zend_compile.c
2014-06-16 11:18:45 +02:00
Remi Collet 6788f14f5e fix failed test 2014-06-16 10:52:26 +02:00
Remi Collet fc36277eb6 Fix test on modern distro where old unsecure algo are disabled in openssl config.
Testing recent algo should be enough to check this function.
2014-06-16 09:42:55 +02:00
Bob Weinand 7cef3a57ad Merge branch 'PHP-5.5' into PHP-5.6 2014-06-16 00:42:50 +02:00
Bob Weinand 0913c15092 Merge branch 'PHP-5.5' into PHP-5.6 2014-06-15 23:55:44 +02:00
Bob Weinand f92143f740 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	NEWS
	Zend/zend_compile.c
2014-06-15 23:06:15 +02:00
Bob Weinand 05d7facb40 Update NEWS 2014-06-15 15:50:36 +02:00
Bob Weinand 79230e5561 Merge sapi/phpdbg into PHP-5.6 2014-06-15 15:47:14 +02:00
Bob Weinand f677889a9a Merge sapi/phpdbg into PHP-5.6 2014-06-15 15:47:14 +02:00
Stanislav Malyshev da3ef175b9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  update NEWS
2014-06-15 01:07:48 -07:00
Stanislav Malyshev b303f19cff update NEWS 2014-06-15 01:07:39 -07:00
kovacs.ferenc e9c2e7d6e6 fix bugsnet #67212: phpdbg uses non-standard TIOCGWINSZ 2014-06-14 23:48:24 +02:00
kovacs.ferenc fbb7bdc21e change the default terminal width from 100 to 80, as that is the most common value 2014-06-14 23:48:24 +02:00
Derick Rethans a06dabb5e9 Merge branch 'PHP-5.5' into PHP-5.6 2014-06-13 23:26:47 +01:00
Matteo Beccati df5551ba4f Fix bug #67433 SIGSEGV when using count() on an object implementing Countable 2014-06-13 13:14:12 +02:00
krakjoe ab353c0a55 remove all references 2014-06-13 07:35:11 +01:00
Adam Harvey 84f339546a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Follow 308 Permanent Redirect responses.
2014-06-12 18:17:18 -07:00
Adam Harvey e082199d8e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add 308 and 426 to the HTTP response code map in the CLI server.
2014-06-12 17:57:36 -07:00
Adam Harvey 82231b5d89 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Keep 308-399 HTTP response codes when header('Location:') is called.
2014-06-12 17:40:51 -07:00
David Zülke db537b1f3f Fix SetHandler proxy:fcgi:// incompatibilities
Apache 2.4.10+ will allow the following:

```
<FilesMatch \.php$>
SetHandler proxy:fcgi://localhost:9000
</FilesMatch>
```

This is much easier than using `ProxyPassMatch` (which prevents rewriting and other stuff) and rewrites (which are a bag of hurt because when combined with user-land `.htaccess` rewrites, there's always rewrite loops, prefix breakage etc (I've tried, for weeks).

It's basically the future of using Apache (via `mod_proxy_fcgi`) together with PHP-FPM. It's also available for older versions as a standalone module, very easy to install: https://gist.github.com/progandy/6ed4eeea60f6277c3e39

However, the two bits of code this commit deletes interfere with that. They both cover CGI-only mode and were copied from that SAPI into the FPM source. See e.g. https://bugs.php.net/bug.php?id=47042

The first deleted part mangled `SCRIPT_NAME` if something like

```
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) index.php/$1 [L]
```

is used (i.e. rewriting to `PATH_INFO`. The second part drops `PATH_INFO` if there was a `REDIRECT_URL` (with CGI mode, `SCRIPT_FILENAME` in Apache is the path to the PHP binary, and `PATH_INFO` contains the name of the script to run).

Clearly, neither applies in the case of FPM, so both are safe to delete.
2014-06-12 21:45:22 +02:00
Bob Weinand d337fb0b62 Make run-tests.php PHP-5.4 compatible 2014-06-12 18:49:02 +03:00
Adam Harvey af26a28ac0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS entry for "Fix potential segfault in dns_get_record()"
  NEWS entry for Fix potential segfault in dns_get_record(
  5.5.15 now

Conflicts:
	configure.in
	main/php_version.h
2014-06-11 21:43:39 +00:00
Sara Golemon 1ba338624b NEWS entry for Fix potential segfault in dns_get_record() 2014-06-11 14:24:50 -07:00
Bob Weinand 65c2001acd Fixed order in travis script 2014-06-12 00:18:47 +03:00
Bob Weinand 181323eecd Check for all phpdbg compitble php versions 2014-06-11 23:08:55 +02:00
Sara Golemon e2ef56f760 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix potential segfault in dns_get_record()
2014-06-11 13:51:53 -07:00
Bob Weinand 3d48c7e5ec Fix issue #89 — Compile failure in PHP 5.4
zend_hash_get_current_key_zval_ex isn't defined in PHP 5.4. (used in phpdbg_watch.c)
2014-06-11 23:35:12 +03:00
Ferenc Kovacs c38ab260fe Revert "Add optional second arg to unserialize()"
This reverts commit cfd1045822.
2014-06-11 14:43:09 +02:00
Stanislav Malyshev ff74b9b2fc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
2014-06-10 23:24:36 -07:00
Stanislav Malyshev 2ed66ed21c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #66127 (Segmentation fault with ArrayObject unset)
  5.4.31 next
2014-06-10 23:20:07 -07:00
Xinchen Hui ebe6854dbc Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	Zend/zend_execute_API.c
2014-06-10 21:58:16 +08:00
Remi Collet e72ab79196 NEWS 2014-06-10 14:36:31 +02:00
Remi Collet 0a7e131128 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fixed Bug #67413 	fileinfo: cdf_read_property_info insufficient boundary chec
2014-06-10 14:36:02 +02:00
Remi Collet fde5790fd6 NEWS 2014-06-10 14:24:22 +02:00
Remi Collet 9ee147e6ff Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Bug #67412 	fileinfo: cdf_count_chain insufficient boundary check
2014-06-10 14:24:07 +02:00
Remi Collet b999947dcd NEWS 2014-06-10 14:16:58 +02:00
Remi Collet 1d6286c049 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fixed Bug #67411 	fileinfo: cdf_check_stream_offset insufficient boundary check
2014-06-10 14:16:39 +02:00
Remi Collet 7f8fa470f1 NEWS 2014-06-10 14:05:34 +02:00
Remi Collet 5e7cb43890 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fixed Bug #67410 fileinfo: mconvert incorrect handling of truncated pascal string size
2014-06-10 14:05:02 +02:00
Remi Collet e2493a3a08 fix merge from php 5.5 (already fixed, differently) 2014-06-10 10:38:39 +02:00
Bob Weinand 60d89e47b2 Add line in run-tests.php help 2014-06-09 15:38:38 +02:00
Ferenc Kovacs 5ec5c80dc4 enable phpdbg for the travis build, and also run the testsuite for it 2014-06-09 15:30:09 +02:00
Bob Weinand 5e6c5e9569 Merge sapi/phpdbg into PHP-5.6 2014-06-09 10:06:29 +02:00
Bob Weinand 6adc30028c Merge sapi/phpdbg into PHP-5.6 2014-06-09 10:06:29 +02:00
Bob Weinand 158b03fdef Finish fixing phpdbg on ZTS build 2014-06-09 09:49:21 +02:00
Stanislav Malyshev be133d4eeb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #67399 (putenv with empty variable may lead to crash)
  Fixed bug #67399 (putenv with empty variable may lead to crash)
2014-06-08 23:10:11 -07:00
Stanislav Malyshev 336b5f59b6 Fixed bug #67399 (putenv with empty variable may lead to crash) 2014-06-08 23:10:04 -07:00
Matteo Beccati 6eaadc0228 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed DOM tests when using libxml2 versions patched against CVE-2014-0191
2014-06-09 07:07:17 +02:00
Stanislav Malyshev df03bcf135 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add news
  Bug 49898 __getCookies() method implementation
2014-06-08 19:47:38 -07:00
Stanislav Malyshev 706324bf48 update news 2014-06-08 19:47:14 -07:00
Sobak 00c362c1f6 Removed another cvsclean file 2014-06-08 19:28:06 -07:00
Sobak 244c289f9c Removed cvsclean and svnclean tools 2014-06-08 19:27:58 -07:00
Boro Sitnikovski cfccdc6362 Bug 64744
Show the type of the non-object for more descriptive errors
2014-06-08 19:14:58 -07:00
Stanislav Malyshev d2783fbf6c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix order
  fix order
2014-06-08 19:04:47 -07:00
Stanislav Malyshev 1607ff8b9e add news 2014-06-08 19:03:31 -07:00
Stanislav Malyshev 8f527fbf14 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug 666222
  Fix bug 666222
2014-06-08 19:02:24 -07:00
Stanislav Malyshev 19edbc9720 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed identation on file
  Fix align indentation
2014-06-08 15:54:32 -07:00
Bob Weinand 144077edb8 Fix segfault in tests with lexer
There's still a bug in parsing commands
2014-06-09 00:38:06 +02:00
Bob Weinand 7cfe696371 Fix ZTS build 2014-06-09 00:02:10 +02:00
Stanislav Malyshev 3d9f922c03 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added support for parsing ssl certificates using GeneralizedTime format.
2014-06-08 14:19:50 -07:00
krakjoe 0490850957 remove phpdbg directory from source tree on travis 2014-06-08 22:16:06 +01:00
Stanislav Malyshev e35945490f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Remove superfluous echos.
2014-06-08 13:53:01 -07:00
Bob Weinand 4c79fe6afa Updated parser & leer to be usable with re2c
Fixes some weird temporary compilation errors too
2014-06-08 20:34:30 +00:00
Ferenc Kovacs 1e2a4a67dd use ./tokenizer_data_gen.sh to for adding T_POW & T_POW_EQUAL 2014-06-08 00:01:01 +02:00
Ferenc Kovacs 016b1f089e Fix bug #67392: token_name() does not return name for T_POW and T_POW_EQUAL token 2014-06-07 15:27:54 +02:00
Remi Collet bcef1beb8f move NEWS entry in the right place 2014-06-06 17:19:35 +02:00
Nikita Popov 6d1885342c Fix bug #67392: dtrace breaks argument unpack 2014-06-06 17:09:49 +02:00
Remi Collet 50b980f547 NEWS 2014-06-06 14:19:21 +02:00
Remi Collet cc6c7dd8ff Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fix bug #67390 insecure temporary file use in the configure script
2014-06-06 14:19:05 +02:00
Remi Collet 6a5d5d1db4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  drop exec perm on doc files
2014-06-05 17:45:59 +02:00
Remi Collet b16950b5d3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test for 5.4/5.5
2014-06-05 17:34:32 +02:00
Remi Collet 218df7e058 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add test for previous fix
2014-06-05 14:00:29 +02:00
Remi Collet ce22c03a72 NEWS 2014-06-05 13:46:55 +02:00
Remi Collet 2b3f4cc29e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fix regression introduce in fix for bug #67118
2014-06-05 13:46:41 +02:00
Stanislav Malyshev 3d969932bf Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update news
  update NEWS
  fix gcov data with some locales (again)
2014-06-04 01:11:07 -07:00
Bob Weinand b264783d63 Merge sapi/phpdbg into PHP-5.6 2014-06-04 02:18:39 +02:00
Bob Weinand 848df6fcbe Merge sapi/phpdbg into PHP-5.6 2014-06-04 02:18:39 +02:00
Bob Weinand 7b9367971d Fix tests 2014-06-04 02:15:50 +02:00
Bob Weinand 79519f7e30 Fix possible segfault depending on memory location... 2014-06-04 02:15:34 +02:00
Nuno Lopes 2766926e29 fix gcov data with some locales (again) 2014-06-03 17:21:45 -04:00
Bob Weinand 13421c55ff Update NEWS 2014-06-03 21:18:24 +00:00
Bob Weinand 3200d99763 Merge sapi/phpdbg into PHP-5.6 2014-06-03 21:15:02 +00:00
Bob Weinand 466cd2aa7d Merge sapi/phpdbg into PHP-5.6 2014-06-03 21:15:02 +00:00
Bob Weinand 467b19a948 Fixed startup segfault in non-debug builds
Fixes issue #87
2014-06-03 21:03:42 +00:00
Anatol Belski b416537917 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed regression introduced by patch for bug #67072
2014-06-03 20:51:51 +02:00
Anatol Belski f3f22ff5c6 Fixed bug #67329 fileinfo: NULL pointer deference flaw by processing certain CDF files 2014-06-03 11:37:20 +02:00
Remi Collet 9e16493e72 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  (re)add cve number in NEWS, from 5.4.29
2014-06-03 11:28:43 +02:00
Remi Collet 0e25448e6b NEWS 2014-06-03 11:09:52 +02:00
Remi Collet e61f7727d4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fix bug #67326	fileinfo: cdf_read_short_sector insufficient boundary check
2014-06-03 11:09:29 +02:00
Ferenc Kovacs 6538dab85f add NEWS block for 5.6.0RC1 2014-06-03 10:27:42 +02:00
Xinchen Hui f41ab36e5c Update NEWs 2014-06-01 19:42:39 +08:00
Xinchen Hui c4e7c7d50e Merge branch 'PHP-5.5' into PHP-5.6 2014-06-01 19:42:20 +08:00
Adam Harvey b8042acdde Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Check for zero-length keys in spl_array_skip_protected and don't skip them.
  added CVEs in NEWS
2014-05-29 17:56:32 +00:00
Anatol Belski fb991bd7fd updated libmagic.patch for 5.6+ 2014-05-27 22:39:54 +02:00
Anatol Belski e844055761 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libmagic.patch for 5.4+
2014-05-27 22:38:30 +02:00
Stanislav Malyshev 13a3826687 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  Fix bug #67249: printf out-of-bounds read
  5.5.13 release date
2014-05-27 12:11:59 -07:00
Matteo Beccati eb2bd85004 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Escape non-printable characters in the junit XML output
2014-05-27 12:04:26 +02:00
Matteo Beccati cc3a1af62a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed broken XML junit output due to escaping of CDATA sections
2014-05-27 11:07:32 +02:00
Stanislav Malyshev 49662be30b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #50444: PDO-ODBC changes for 64-bit
2014-05-26 22:18:08 -07:00
Stanislav Malyshev 4c64bb27b1 update NEWS 2014-05-26 18:11:07 -07:00
Stanislav Malyshev bc87ba8ee6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  backport this piece from 5.6, related to the #66307 fix
  Fixed bug #66307 Fileinfo crashes with powerpoint files
  Fix bug #67328 (fileinfo: numerous file_printf calls resulting in performance degradation)
  Fix bug #67327: fileinfo: CDF infinite loop in nelements DoS
  fix my last commit with some locales
2014-05-26 18:06:58 -07:00
Nuno Lopes f105e1589d fix my last commit with some locales 2014-05-26 15:08:00 -04:00
Xinchen Hui b0b0be176f Merge branch 'PHP-5.5' into PHP-5.6 2014-05-26 15:40:50 +08:00
Dmitry Stogov 24a86dbb6f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed issue #183 (TMP_VAR is not only used once)
2014-05-26 10:12:10 +04:00
Matteo Beccati 370256ad4b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix broken Junit output with --disable-cgi
2014-05-25 00:08:41 +02:00
Xinchen Hui 666197b8cc Added folder mark 2014-05-24 21:11:13 +08:00
Adam Harvey 80a2716b56 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Further test fixes for the fdb2709 breakage.
  Fix broken test caused by fdb2709.
2014-05-23 15:23:15 +00:00
Adam Harvey 34900eb289 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix run-tests.php with Valgrind >= 3.10.0.
2014-05-22 22:37:57 +00:00
Adam Harvey 549331a925 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Add microseconds to the serialised form of DateTime objects.
2014-05-21 15:05:08 -05:00
Matteo Beccati b41ad9bfcb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Improved test for bug #62479
2014-05-21 18:59:14 +02:00
Stanislav Malyshev 7df1e42d8a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix typo in ODBC code
  gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
  5.5.14 now
  Fix bug #67060: use default mode of 660

Conflicts:
	configure.in
	main/php_version.h
2014-05-18 23:46:30 -07:00
Dmitry Stogov 1d1fdfb51d Support for __debugInfo (Joe Watkins) 2014-05-18 20:55:40 +04:00
Dmitry Stogov 3fff53fc57 Optimize ZEND_POW (Rouven Weßling) 2014-05-18 20:48:16 +04:00
Nuno Lopes 1759905a23 gcov: tentative fix for broken coverage data after fix for opcache coverage
slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
2014-05-18 11:23:21 -04:00
Bob Weinand 17039ed362 PHP 5.4/5.5 compability in phpdbg_watch.c 2014-05-18 11:38:55 +02:00
Tjerk Meesters d4295eb26a Prevent recursion in ZF2 Parameters class 2014-05-16 16:49:47 +08:00
Ferenc Kovacs 7b9c1b6576 adding NEWS block for beta4 2014-05-14 09:14:04 +02:00
Stanislav Malyshev 5a169310f0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.30 next
2014-05-13 22:22:03 -07:00
Stanislav Malyshev 3a90a8b888 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  enable email notifications
2014-05-13 17:14:56 -07:00
Stanislav Malyshev de20e2224b update NEWS 2014-05-13 17:09:16 -07:00
Stanislav Malyshev 7a14a460cf Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  update NEWS
2014-05-13 17:08:22 -07:00
Stanislav Malyshev 292b2fd3b3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix bug #67253: timelib_meridian_with_check out-of-bounds read
  Fix bug #67252: convert_uudecode out-of-bounds read
  Fix bug #67251 - date_parse_from_format out-of-bounds read
  Fix bug #67250 (iptcparse out-of-bounds read)
2014-05-13 17:03:50 -07:00
Derick Rethans db42f83c2e Merge branch 'PHP-5.5' into PHP-5.6 2014-05-13 16:37:05 +01:00
Stanislav Malyshev 2152e2f127 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test - output can be chunked

Conflicts:
	ext/curl/tests/curl_basic_006.phpt
2014-05-12 10:56:03 -07:00
Stanislav Malyshev 9c27063a65 fix test 2014-05-12 01:27:18 -07:00
Yasuo Ohgaki 00cacc6048 Fixed test for commit 997be125eb 2014-05-12 15:35:16 +09:00
Yasuo Ohgaki eb1278cb5d Add bug fix to NEWS 2014-05-12 15:35:16 +09:00
Yasuo Ohgaki 2f9766fd02 Update UPGRADING according to bug fix 2014-05-12 15:35:16 +09:00
Stanislav Malyshev 89798f57d4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  improve CURL tests to allow testing without separate server
2014-05-11 23:03:21 -07:00
Yasuo Ohgaki 997be125eb Fixed bug #67199 mb_regex_encoding mishmash 2014-05-12 13:33:53 +09:00
Stanislav Malyshev f2fdeba19d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  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...
2014-05-11 18:56:32 -07:00
Felipe Pena 9d8a00337d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org)
2014-05-11 09:46:38 -03:00
Felipe Pena ece7421864 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Move checking
2014-05-10 11:55:48 -03:00
Felipe Pena c54b9f7b72 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Fixed missing NULL check in SimpleXMLElement::xpath()
2014-05-10 11:53:54 -03:00
Felipe Pena edbd6c7cc0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Fixed missing NULL check
2014-05-10 11:39:47 -03:00
Anatol Belski 398ff21923 updated NEWS 2014-05-09 22:17:22 +02:00
Anatol Belski c925c7a5b6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #67238 Ungreedy and min/max quantifier bug in PCRE 8.34 upstream
2014-05-09 22:16:42 +02:00
Stanislav Malyshev a3f09eb323 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  oops, 5.4 and 5.5 use malloc in TSRM
2014-05-08 02:04:11 -07:00
Stanislav Malyshev aa1a25e303 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  make release tags not fail Travis CI
2014-05-08 01:11:44 -07:00
Stanislav Malyshev 0c709cc2dc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix memory leak in TSRM
2014-05-08 01:01:15 -07:00
Daniel Lowrey 27f5957e9f Bug #67224: stream_socket_enable_crypto()
- Allow crypto_method context value in stream_socket_enable_crypto()
- As of 5.6.x stream crypto type may be specified in the SSL context,
  making the $crypto_type parameter to stream_socket_enable_crypto()
  optional. This commit checks for a crypto type in the context prior
  to erroring out.
- Update NEWS/UPGRADING
2014-05-07 08:05:29 -06:00
Ferenc Kovacs f63ca453e0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed test (it requires ext/hash)
2014-05-07 01:00:01 +02:00
Ferenc Kovacs d2f283884f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed tests (they might fail from time to time because of session GC)
  Fix author name on the #63228 patch.
2014-05-07 00:38:57 +02:00
Michael Wallner 78cb0c1dbc NEWS 2014-05-06 12:39:23 +02:00
Michael Wallner 66c177c770 XFAIL-- for bug #67198 2014-05-06 12:21:43 +02:00
Michael Wallner 5bdfa4d1c6 remove useless indirection
the stream was initialized within the ops
in a prior version of the slim_post_data patch
2014-05-06 12:21:43 +02:00
Michael Wallner 7308d47c4b fix bug #67198 (php://input regression) 2014-05-06 12:21:43 +02:00
Andrey Hristov 1a293e6bd9 rename a constant - old name to new name 2014-05-06 11:36:03 +03:00
Ferenc Kovacs 94231ac454 test for bug #67198 2014-05-05 16:25:15 +02:00
Anatol Belski 0d5121a3c7 fixed ZEND_DEBUG usage 2014-05-05 00:50:51 +02:00
Anatol Belski 06ae920165 updated libmagic.patch 2014-05-04 21:34:17 +02:00
Anatol Belski 031cafd4e2 added missing stdint header, bug #66907 2014-05-04 21:26:53 +02:00
Bob Weinand d4b5ef2e4a Merge sapi/phpdbg into PHP-5.6 2014-05-03 11:40:25 +02:00
Bob Weinand 003ba74d99 Merge sapi/phpdbg into PHP-5.6 2014-05-03 11:40:25 +02:00
krakjoe c8d8e851fa /me blushes, really hard 2014-05-03 10:37:11 +01:00
Ferenc Kovacs c29a72d17f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  only build and test nts non-debug and ts debug builds as discussed at https://github.com/php/php-src/pull/654
2014-05-03 02:51:02 +02:00
Adam Harvey 06a03bbfa6 Fix mysqli build when building against libmysqlclient. 2014-05-02 14:33:52 -07:00
Adam Harvey fbb0c4b800 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix author name on the #63228 patch.
2014-05-02 10:25:42 -07:00
Nikita Popov 69b5ee61d0 Fixed bug #67169: []= after_array_splice incorrect
This fixes a regression I introduced in beta 1.
2014-05-02 12:49:51 +02:00
Ferenc Kovacs cc2e89d4e1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Revert "show leaks in their own group" using valgrind would be a bit too much for travis I guess.
2014-05-02 09:50:25 +02:00
Ferenc Kovacs a7437db776 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  show leaks in their own group
2014-05-02 09:33:08 +02:00
Adam Harvey d5712d6ba4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Use the right path for the suggested PHP invocation in ext_skel.
2014-05-01 11:23:14 -07:00
Bob Weinand f99449c309 Changed to more understandable NEWS message 2014-05-01 17:10:00 +02:00
Ferenc Kovacs 0a73853798 one heading is enough 2014-05-01 16:38:06 +02:00
Ferenc Kovacs 75640d0d85 add new NEWS block for alpha3 2014-05-01 16:24:49 +02:00
Ferenc Kovacs 95325e5c5d XFAIL the leaking multibyte tests, we should really get to the bottom of this 2014-05-01 12:49:57 +02:00
Bob Weinand d27b76a779 Fixed numbering in UPGRADING file 2014-05-01 12:27:38 +02:00
Bob Weinand 5d13b7f191 Updated NEWS for fixed phpdbg issue #85 2014-05-01 11:46:35 +02:00
Bob Weinand eae7a94fe0 Added stdion/stdout/stderr constsnts and their php:// wrappers
Fixes issue #85
2014-05-01 11:43:46 +02:00
Bob Weinand 3ad8616aff Added stdion/stdout/stderr constsnts and their php:// wrappers
Fixes issue #85
2014-05-01 11:43:46 +02:00
Bob Weinand bcf85252e2 Added stdion/stdout/stderr constsnts and their php:// wrappers
Fixes issue #85
2014-05-01 11:38:08 +02:00
Ferenc Kovacs a67d4d33c2 add missing NEWS entry to the correct release where it was added 2014-05-01 10:56:39 +02:00
Ferenc Kovacs 3da5ef47ca Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.5.12 was released yesterday
  add missing NEWS entry to the correct release where it was added
  add missing NEWS entry to the correct release where it was added
2014-05-01 10:56:21 +02:00
Bob Weinand 5ba657ce89 Updated NEWS entry for phpdbg 2014-05-01 10:50:41 +02:00
Ferenc Kovacs f090ddeac7 add some missing NEWS entries 2014-05-01 10:43:34 +02:00
Michael Wallner 42fbb952d7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test locality inconsitency
2014-04-30 13:02:43 +02:00
Michael Wallner aaad7ead55 BFN 2014-04-30 09:29:37 +02:00
Michael Wallner 407612083f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix bug #64247 (CURLOPT_INFILE doesn't allow reset)
2014-04-30 09:28:21 +02:00
Ferenc Kovacs 98fcee48f9 Merge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6
* origin/PHP-5.5:
  separate travis jobs for debug and non-debug builds
  separate travis jobs for TS and NTS builds
  put this test back to XFAIL, as it was before, since it is still leaking memory

Conflicts:
	ext/mbstring/tests/zend_multibyte-08.phpt
2014-04-30 00:07:49 +02:00
Bob Weinand 82ecdcdb63 Added further notice about removal of IS_CONSTANT_INDEX/ARRAY macros 2014-04-29 20:43:58 +02:00
Stanislav Malyshev c397fcc35f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #67060: use default mode of 660
2014-04-29 09:16:24 -07:00
Anatol Belski 6d20c5bea8 updated NEWS 2014-04-29 13:47:09 +02:00
Anatol Belski 3023257ff0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #66431 Special Character via COM Interface (CP_UTF8)
2014-04-29 13:46:38 +02:00
Popa Adrian Marius 6de915205c Merge branch 'PHP-5.6' of https://git.php.net/push/php-src into PHP-5.6
* 'PHP-5.6' of https://git.php.net/push/php-src:
  Fix crashes in GMP serialize/unserialize
  enable gmp for tests
2014-04-28 12:15:16 +03:00
Popa Adrian Marius 0edf1d4fe6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Cleanup ZEND_MODULE_API_NO => 20050922
2014-04-28 12:14:01 +03:00
Stanislav Malyshev c18ae51aeb Fix crashes in GMP serialize/unserialize 2014-04-28 01:22:02 -07:00
Stanislav Malyshev 3842417289 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  enable gmp for tests
2014-04-28 00:57:47 -07:00
Anatol Belski a1edc8e396 Merge remote-tracking branch 'phpdbg/master' into PHP-5.6
* phpdbg/master:
  C89 compat
2014-04-27 18:01:26 +02:00
Anatol Belski 3b6bf6eec8 Merge remote-tracking branch 'phpdbg/master' into PHP-5.6
* phpdbg/master:
  C89 compat
2014-04-27 18:01:26 +02:00
Anatol Belski 4aa80db758 C89 compat 2014-04-27 17:57:38 +02:00
Anatol Belski 9a8123fabb Merge remote-tracking branch 'phpdbg/master' into PHP-5.6
* phpdbg/master:
  removed /EHa as __try/__catch syntax is used anyway
  fix ZEND_DEBUG usage
  fix CFLAGS_PHPDBGS and some formatting
2014-04-26 00:15:32 +02:00
Anatol Belski a10dc3aa4f Merge remote-tracking branch 'phpdbg/master' into PHP-5.6
* phpdbg/master:
  removed /EHa as __try/__catch syntax is used anyway
  fix ZEND_DEBUG usage
  fix CFLAGS_PHPDBGS and some formatting
2014-04-26 00:15:32 +02:00
Anatol Belski c8617d82cc removed /EHa as __try/__catch syntax is used anyway
see http://msdn.microsoft.com/en-us/library/1deeycx5.aspx
2014-04-26 00:07:13 +02:00
Anatol Belski cdb775906d fix ZEND_DEBUG usage 2014-04-25 22:33:28 +02:00
Anatol Belski 70fdb21d93 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed test
2014-04-25 17:40:33 +02:00
Anatol Belski 38248e445d updated NEWS 2014-04-25 17:27:07 +02:00
Anatol Belski 6448916535 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #67118 DateTime constructor crash with invalid data
2014-04-25 17:26:20 +02:00
Stanislav Malyshev 5ddee799d2 update NEWS 2014-04-25 00:00:49 -07:00
Stanislav Malyshev 1bad4aa355 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  add a test case previously broken by a bad fix
  Revert "Fixed bug #64604"
2014-04-25 00:00:20 -07:00
Anatol Belski 5c34146104 updated libmagic.patch for 5.6+ 2014-04-24 20:16:06 +02:00
Anatol Belski 305c025cdd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libmagic.patch
2014-04-24 20:15:01 +02:00
Anatol Belski 8f43032ea4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  backport this piece from 5.6, related to the #66307 fix
2014-04-24 19:52:53 +02:00
Anatol Belski 0c381e19ad updated NEWS 2014-04-24 19:35:52 +02:00
Anatol Belski 74ce9da5dc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66307 Fileinfo crashes with powerpoint files

Conflicts:
	ext/fileinfo/libmagic/readcdf.c
2014-04-24 19:33:54 +02:00
Anatol Belski 4350c89428 fix CFLAGS_PHPDBGS and some formatting 2014-04-24 13:15:16 +02:00
Anatol Belski 91b599f4a3 Merge remote-tracking branch 'phpdbg/master' into PHP-5.6 2014-04-24 11:05:52 +02:00
Anatol Belski cd2641973c Merge remote-tracking branch 'phpdbg/master' into PHP-5.6 2014-04-24 11:05:52 +02:00
Anatol Belski 3e6a387454 use a portable strndup implementation 2014-04-24 11:01:54 +02:00
Anatol Belski 165994043a fixed C89 compat 2014-04-24 11:00:36 +02:00
Anatol Belski 5da403264f prepare config.w32 2014-04-24 10:58:30 +02:00
Anatol Belski 9280e25534 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix dll export
2014-04-24 10:52:59 +02:00
krakjoe f1493e0069 add parser files to dist 2014-04-24 08:09:35 +01:00
Stanislav Malyshev ab8065e4ec Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix accepting ill-formed UTF-8 characters
2014-04-22 16:57:47 -07:00
George Wang 742f4704a9 sapi/litespeed/lsapi_main.c: Fix bug #63228
Fix compiling error at line 606 (error: format not a string
literal and no format arguments [-Werror=format-security]
2014-04-22 10:48:14 -03:00
Bob Weinand 4784d99866 Added autogenerated phpdbg parser files to .gitignore 2014-04-22 00:19:38 +02:00
Bob Weinand 3e3dcde8d7 Merge sapi/phpdbg into PHP-5.6 2014-04-21 23:30:08 +02:00
Bob Weinand 708af5fd8e Merge sapi/phpdbg into PHP-5.6 2014-04-21 23:30:08 +02:00
Bob Weinand 447ec05f31 Fixed infinite loop when quitting (sometimes) 2014-04-21 23:14:06 +02:00
krakjoe c1e12316f1 fixup help, behaviour of step command when not executing 2014-04-21 22:00:21 +01:00
krakjoe e9668d4ce8 buffer input to repeat commands 2014-04-21 21:43:19 +01:00
krakjoe bb0f0347dd Merge branch 'master' of https://github.com/krakjoe/phpdbg 2014-04-21 21:28:02 +01:00
krakjoe 0873f2bfb4 remove -e option in favour of taking script from argv[] 2014-04-21 21:24:41 +01:00
Stanislav Malyshev 32d5f269a0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Allow valid multi-byte utf-8 characters to be allowed as file names in phar archives.
2014-04-20 17:23:52 -07:00
Andrew Kehrig 186ffcb72c Fix #50444: PDO-ODBC changes for 64-bit
This bug is also referenced in
[#61777](https://bugs.php.net/bug.php?id=61777) and is still present in
the latest stable release of the 5.5 branch. I see two tickets exist for
this problem already, and I'm just submitting these changes via github
as a reminder that this is a serious problem for anyone using PDO_ODBC
on the x64 builds.
2014-04-20 16:49:15 -07:00
Stanislav Malyshev 5272d6c896 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix a compiler warning in php_rand.h
2014-04-20 16:36:36 -07:00
Stanislav Malyshev 0df431482f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #66908: php-fpm reload leaks epoll_create() file descriptor
2014-04-20 16:25:03 -07:00
Stanislav Malyshev 774f16318b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #65701: Do not use cache for file file copy
2014-04-20 15:27:39 -07:00
Bob Weinand 577c6ed0ce Fixed stepping 2014-04-20 20:20:59 +02:00
Bob Weinand 422dc49c0d Merge branch 'master' of https://github.com/krakjoe/phpdbg
Conflicts:
	phpdbg_help.c
	phpdbg_prompt.c
2014-04-20 19:55:44 +02:00
krakjoe f96feea00c step by line and opcode modes preserved, set stepping added, help updated 2014-04-20 18:46:35 +01:00
krakjoe 373b9ecd05 rename next to continue, cleanup help 2014-04-20 17:10:52 +01:00
Bob Weinand 56293fc0dd Update help 2014-04-20 16:55:49 +02:00
Bob Weinand e097919f16 Stepping is now line by line with gdb style command 2014-04-20 16:47:24 +02:00
Bob Weinand d21d5c98a5 Fixed potential bug in run command 2014-04-20 13:28:11 +02:00
Bob Weinand 5a7497904e Breakpoints now hit only once if line was not switched 2014-04-20 13:25:28 +02:00
Bob Weinand 508c379428 Added error on compile failure in exec cmd 2014-04-20 12:54:50 +02:00
krakjoe fd74024a49 remove compile command 2014-04-19 21:22:09 +01:00
krakjoe 89868dd4d9 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2014-04-19 21:09:10 +01:00
krakjoe 11c707d836 auto compile when execution context set 2014-04-19 21:08:54 +01:00
Anatol Belski 1bca3ecacc updated libs versions 2014-04-18 16:08:42 +02:00
Anatol Belski 620d7207ef added some notes about the win build system 2014-04-18 16:04:15 +02:00
Anatol Belski b93d040dc5 UPGRADING note about bug #67072 2014-04-18 15:54:49 +02:00
Anatol Belski f09f7f22d8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  UPGRADING note about bug #67072
  UPGRADING note about bug #67072
2014-04-18 15:54:17 +02:00
Anatol Belski cfd20c90a5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  refixed the test related to bug #67072
  Improved the fix for bug #67072, thanks Nikita
2014-04-18 15:17:12 +02:00
Stanislav Malyshev ce4c78dd07 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed test case for 5328d42
2014-04-17 17:36:26 -07:00
Bob Weinand c02003e6b8 Merge branch 'PHP-5.5' into PHP-5.6 2014-04-17 17:23:05 +02:00
Anatol Belski 00bef4b1c7 updated NEWS 2014-04-17 11:08:27 +02:00
Anatol Belski f9a1eab435 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #67072 Echoing unserialized "SplFileObject" crash
2014-04-17 11:07:22 +02:00
Bob Weinand a0ee96289b Commented out a few PHPDBG_IS_QUITTING checks to fix bug
If it does not work, please revert...
2014-04-16 20:55:41 +02:00
Bob Weinand 58c3f7e699 command tokens just available at the beginning now 2014-04-16 20:55:29 +02:00
Bob Weinand 2ab2b74af3 Also check for length to not segfault 2014-04-16 20:55:02 +02:00
Anatol Belski 542a7aceb1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated UPGRADING
2014-04-16 20:49:21 +02:00
Anatol Belski 05dac1d0a5 updated UPGRADING 2014-04-16 20:48:31 +02:00
Anatol Belski 9d39177943 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  correct the bug #67081 fix
2014-04-16 15:08:34 +02:00
Anatol Belski e74a03fa43 updated NEWS 2014-04-16 14:16:36 +02:00
Anatol Belski 801d312507 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #67081 DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset
2014-04-16 14:15:52 +02:00
Bob Weinand b1a22ae6dc Updated version number to 0.4.0
Made run accept any input and lexer re2c compatible
2014-04-16 13:56:26 +02:00
Bob Weinand 7ab1c07a51 Fixed bug: ev output was buffered instead of directly displayed 2014-04-16 11:40:29 +02:00
Anatol Belski d0e10dbde0 updated NEWS 2014-04-16 09:49:48 +02:00
Anatol Belski b4c238c8cf Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #67079 Missing MIME types for XML/XSL files
2014-04-16 09:48:31 +02:00
Stanislav Malyshev ea8370c29a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.29 is next
  5.5.12RC1 setup

Conflicts:
	configure.in
	main/php_version.h
2014-04-15 17:17:39 -07:00
Anatol Belski aaf197180a Fixed bug #66907 Solaris 10 is missing strcasestr and needs substitute 2014-04-15 10:26:49 -07:00
Bob Weinand a981e3a1d2 Fixed refcount removing if specified 2014-04-15 19:20:01 +02:00
Bob Weinand 0e8637441c Fixed segfault when input == NULL 2014-04-15 15:52:46 +00:00
Stanislav Malyshev bfbb409b32 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix test - on CI somebody could create a process in the meantime
2014-04-14 15:47:53 -07:00
Stanislav Malyshev 173cd183c9 fix test - doesn't seem to produce warning 2014-04-14 15:47:06 -07:00
Anatol Belski 634e6b61d9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix windows build
2014-04-14 23:34:50 +02:00
Stanislav Malyshev 6adc84a701 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #66942: openssl_seal() memory leak
  ws fix
2014-04-14 13:37:10 -07:00
Chuan Ma f413a77b3d Fix #66942: openssl_seal() memory leak
Fix #66952: memory leak in openssl_open()
2014-04-14 13:36:17 -07:00
Stanislav Malyshev 99b01fb3d7 ws fix 2014-04-14 13:35:59 -07:00
Andrey Hristov 84fcc44083 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-04-14 23:11:16 +03:00
Stanislav Malyshev 1bd3841132 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix null byte in LDAP bindings
  Fix bug #66171: better handling of symlinks
  Fix null byte in LDAP bindings
  Fix bug #66171: better handling of symlinks
2014-04-14 10:51:34 -07:00
Stanislav Malyshev 59900dd37f Fix null byte in LDAP bindings 2014-04-14 10:51:32 -07:00
Stanislav Malyshev 41569b1029 Fix bug #66171: better handling of symlinks 2014-04-14 10:51:31 -07:00
Bob Weinand 9b05f5d132 Made refcount info switchable by set refcount on/off. Default: off 2014-04-14 19:37:31 +02:00
Anatol Belski 9e76e87ca9 fix crash in MINFO when no mysqlnd plugins are loaded 2014-04-14 17:44:47 +02:00
Andrey Hristov ce99f292de Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	ext/mysqli/tests/mysqli_change_user_old.phpt
2014-04-14 17:44:13 +03:00
Anatol Belski 2b28fd9ab0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  backported some ext/intl tests from 5.6 into 5.4
2014-04-14 16:42:51 +02:00
Bob Weinand 2dad85ae61 Return SUCCESS and do not confuse use with errors 2014-04-14 16:26:27 +02:00
Bob Weinand 8c22352e88 Added $this and superglobals support for watchpoints 2014-04-14 15:47:36 +02:00
Anatol Belski d483e1daca test fixes for ICU 53.1 2014-04-14 15:34:32 +02:00
Bob Weinand fdd9bc2050 Clean up information on watchpoint breaks 2014-04-14 10:46:52 +02:00
Anatol Belski e3abcf7826 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #67033 Remove reference to Windows 95
2014-04-14 09:33:49 +02:00
Stanislav Malyshev cfe24a7be2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix NEWS
2014-04-13 20:17:14 -07:00
Stanislav Malyshev 7c9209a0d1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #66021 (Blank line inside empty array/object)
2014-04-13 18:56:16 -07:00
Stanislav Malyshev 0d4c28f2e1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #64604
2014-04-13 18:39:17 -07:00
Stanislav Malyshev 1ef0bd2633 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #66562: Consistency bug where curl_multi_getcontent behaves different from curl_exec
2014-04-13 18:13:52 -07:00
Stanislav Malyshev c1d5937f7f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #66482, replace wrong item name 'priority' with 'process.priority' in php-fpm.conf
2014-04-13 17:32:42 -07:00
Stanislav Malyshev 04a11b850a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix windows build
2014-04-13 17:04:00 -07:00
Stanislav Malyshev d3c4292db7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #66721
2014-04-13 15:55:45 -07:00
Stanislav Malyshev 1be29a404a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix apr_psprintf format string from e0df4e3dba
2014-04-13 15:39:32 -07:00
Stanislav Malyshev 3aab84c100 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #67024 - getimagesize should recognize BMP files with negative height
2014-04-13 15:25:58 -07:00
Bob Weinand a93e734f81 Merge branch 'PHP-5.5' into PHP-5.6 2014-04-14 00:08:36 +02:00
Daniel Lowrey 0e023e9784 Bug #66840: Fix broken build when extension built separately 2014-04-13 15:17:50 -06:00
Bob Weinand 3636a91adc Merge branch 'PHP-5.5' into PHP-5.6 2014-04-13 19:40:39 +02:00
Bob Weinand fb99409f89 Merge branch 'PHP-5.5' into PHP-5.6 2014-04-13 19:27:43 +02:00
krakjoe 774a879e65 tidy help 2014-04-13 16:58:45 +01:00
Bob Weinand 2f54e68ade CR CR etc. in help 2014-04-13 17:55:18 +02:00
Bob Weinand f53e438933 Added information about $var parameter in watchpoints 2014-04-13 17:48:35 +02:00
Bob Weinand eae91d9de7 Added help 2014-04-13 17:34:27 +02:00
krakjoe ce7097fb60 less strange! 2014-04-13 14:43:34 +01:00
Bob Weinand 286dd4dc71 Remove some dead code... 2014-04-13 13:33:07 +02:00
krakjoe faa7e3264e fix compat with lexer stuff 2014-04-13 11:42:47 +01:00
krakjoe 5c69f3dd8b Merge branch 'master' of https://github.com/krakjoe/phpdbg into watchpoints_recursive 2014-04-13 11:32:43 +01:00
krakjoe c2c4a5bd25 fix build 2014-04-13 11:32:35 +01:00
krakjoe 1b2f12159b fix command structure 2014-04-13 11:17:04 +01:00
krakjoe 42355fb9bf Merge branch 'master' of https://github.com/krakjoe/phpdbg into watchpoints_recursive
Conflicts:
	config.m4
	phpdbg.c
	phpdbg_prompt.c
2014-04-13 11:07:38 +01:00
Bob Weinand a3eafe535f Added UPGRAING notice for bug #66015 in BC break section 2014-04-13 11:38:52 +02:00
Nikita Popov fb5d5d9700 Add new zend_hash_* APIs to UPGRADING.INTERNALS 2014-04-13 10:49:14 +02:00
Nikita Popov 57b88ba6ea Add str_* macros to UPGRADING.INTERNALS 2014-04-13 10:49:14 +02:00
Ferenc Kovacs 20036525e2 Fix bug #66660: use str_efree instead of efree to handle interned empty strings correctly 2014-04-13 10:45:46 +02:00
krakjoe b8a4a4c700 squish warnings 2014-04-13 09:07:15 +01:00
krakjoe 0dc9be6f1e cleanup 2014-04-13 08:48:59 +01:00
krakjoe 8c23b038cd fix moar 2014-04-13 08:43:19 +01:00
krakjoe 4387723ef7 fix argc/argv 2014-04-13 08:34:16 +01:00
krakjoe 65984df220 merge master 2014-04-13 08:09:53 +01:00
krakjoe ef86b57f3b Merge branch 'master' of https://github.com/krakjoe/phpdbg into lexer
Conflicts:
	phpdbg_prompt.c
2014-04-13 08:06:42 +01:00
krakjoe 2fde2ada50 fix addr parameters 2014-04-13 08:06:21 +01:00
Matteo Beccati 7fd9898a2d Fixed bug #66604 'pdo/php_pdo_error.h' not copied to the include dir 2014-04-13 08:53:21 +02:00
Ferenc Kovacs aefc8f22b3 Fix bug #66568: the second arg for unserialize is optional. 2014-04-13 02:49:35 +02:00
Ferenc Kovacs 51cbb85ea9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix typo
2014-04-13 01:57:15 +02:00
Bob Weinand 3db29ee439 Added support for command line arg passing
"phpdbg -- arg" in shell
"run arg" in phpdbg prompt
2014-04-13 00:27:46 +02:00
Bob Weinand 53b1dce587 Merge branch 'PHP-5.5' into PHP-5.6 2014-04-12 23:54:57 +02:00
Bob Weinand 86a7731763 Fixed frame number order 2014-04-12 22:08:02 +02:00
Bob Weinand 48bcaf2e72 Retain full compability for all micro versions since PHP 5.4 2014-04-12 18:00:33 +02:00
Bob Weinand 096e40a027 Fixed tests for recent constant array changes 2014-04-11 20:13:24 +02:00
Bob Weinand 99d1a1bb3f Shut up, my lovely compiler; I do not like your warnings 2014-04-11 19:33:56 +02:00
Bob Weinand 35b895fdf0 Removed useless void* parameter and replaced with zend_bool on zval_update_constant* functions 2014-04-11 19:18:58 +02:00
Bob Weinand 920c5508ef Updated NEWS 2014-04-11 18:30:14 +02:00
Bob Weinand ee2a7c7d41 Fixed disallowal of array usage in constants at run-time
Added at the same time the possibility of array dereferencing
to complete the set of features (useful application of arrays in constants)
2014-04-11 18:21:46 +02:00
Bob Weinand ad05d3898e Updated zend_vm_execute.h 2014-04-11 16:18:42 +02:00
Anatol Belski 5c87ed058b fix syntax error in vc++ 2014-04-11 13:08:46 +02:00
Anatol Belski 4c32c8d549 updated NEWS 2014-04-11 11:01:42 +02:00
Anatol Belski c5181ef6c2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66967 Updated the bundled libsqlite to 3.8.4.3
2014-04-11 11:01:01 +02:00
Bob Weinand f7ac308950 Updated NEWS 2014-04-11 10:10:36 +02:00
Bob Weinand f614fc6898 Fix bug #66015 by reverting "Removed operations on constant arrays." 2014-04-11 10:08:44 +02:00
Andrey Hristov d3f390a268 Here comes the news 2014-04-10 18:15:42 +03:00
Andrey Hristov e02fdcf3f7 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-04-10 18:13:58 +03:00
Andrey Hristov af5fa00c97 Fix the fix 2014-04-10 18:13:44 +03:00
Popa Adrian Marius 4048872317 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Cleanup $ is not needed for git
2014-04-10 17:43:29 +03:00
Andrey Hristov 090c3e87c0 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Conflicts:
	ext/mysqli/tests/mysqli_begin_transaction.phpt
2014-04-10 16:49:13 +03:00
Andrey Hristov 63791d055a New result fetching mode for mysqlnd, which should use less memory but
implies more memory copy. The old method is still available and can be used.
It stays as default. Choosing the method is through a flag to mysqli_query()/mysqli_real_query()
New mode can be forced with an INI setting, for all extensions that support this mode
(ext/mysql and mysqli, because PDO due to it's architecture can't support it)
The setting is mysqlnd.fetch_data_copy=[0|1]
2014-04-10 16:44:54 +03:00
Ferenc Kovacs 3204ad5858 fix typo 2014-04-10 07:07:11 +02:00
Ferenc Kovacs 5cc93aa9a6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix typo
  fix typo
2014-04-10 07:06:53 +02:00
Ferenc Kovacs 08faf19d09 add a NEWS block for beta2 2014-04-10 06:22:43 +02:00
Ferenc Kovacs ec6a0966bc add missing entries to NEWS 2014-04-10 06:21:31 +02:00
Ferenc Kovacs cbcce72308 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  abstract namespace for unix sockets is a linux only feature
2014-04-09 19:02:56 +02:00
Tjerk Meesters 16ae472769 Merge branch 'PHP-5.5' into PHP-5.6 2014-04-09 20:11:07 +08:00
Nikita Popov ad2ef3d97e Add only_integer_keys option to zend_hash_reindex
This allows to either do a full reindex, or only reindex the integer
keys.
2014-04-09 12:31:21 +02:00
Nikita Popov f485c84a14 Don't always separate splice replacement array
Only perform separation when a typecast is done. Avoids doing a
full hash copy in many cases.
2014-04-09 12:31:21 +02:00
Nikita Popov 22d3eb3117 Add zend_hash_splice
This implements the original functionality of php_splice, but
as an in-place operation, thus avoiding copying the HT.

This is much faster (~10x) if the splice removes a small portion
of the array and doesn't insert many elements.
2014-04-09 12:31:21 +02:00
Nikita Popov 1aa8719e32 Add zend_hash_reindex
The implementation differs from the original in array.c in that it
rehashes the hashtable in the same loop. This is approximately two
times faster (not counting the rare case of a purely associative
array).
2014-04-09 12:31:21 +02:00
Nikita Popov eaf44ec397 Remove some usages of hashtable internals 2014-04-09 12:31:21 +02:00
Etienne Kneuss 6006a3ed51 Merge branch 'PHP-5.5' into PHP-5.6 2014-04-09 11:36:36 +02:00
Tjerk Meesters 2cdf38b7a0 Updated NEWS for #67043 2014-04-09 07:36:34 +08:00
Tjerk Meesters 2aba2494f5 Merge branch 'PHP-5.5' into PHP-5.6 2014-04-09 07:34:49 +08:00
Popa Adrian Marius 002c8e8356 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  cleanup
  Fixes bug #66071: isc_interprete is unsafe and deprecated , it is replaced with fb_iterpret
2014-04-08 17:52:22 +03:00
Anatol Belski ff5896a04c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libs versions
2014-04-08 11:43:32 +02:00
Anatol Belski 964f65484c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed the test for ICI >= 52.1
2014-04-07 17:41:32 +02:00
Bob Weinand 0e273217cf Fix Linux specific fail in error traces
Linux apparently does not like memcpy in overlapping regions...
2014-04-07 17:14:38 +02:00
Ferenc Kovacs 7446766dab add missing skip to the output, so we actually skip this test 2014-04-07 16:57:52 +02:00
Stanislav Malyshev 63e7b84593 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix the test according to how new date code does it
  fix to work on different ICU versions
2014-04-05 20:13:24 -07:00
Stanislav Malyshev cf910f351a multibytes tests still fail, put them in XFAIL
clean up XFAIL from tests no longer failing
2014-04-05 18:34:39 -07:00
Anatol Belski 12e222ee91 updated NEWS 2014-04-05 09:49:51 +02:00
Anatol Belski a094f6d255 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #66084 simplexml_load_string() mangles empty node name
2014-04-05 09:48:54 +02:00
Stanislav Malyshev 38e084d312 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  cleanup NEWS
2014-04-03 15:57:08 -07:00
Bob Weinand 9d72a84f06 Add array watchpoints if recursive zval watchpoint changed + WS 2014-04-03 19:53:58 +00:00
Bob Weinand fcacee0595 Fixed deleting watchpoints (plus error in btree_delete) 2014-04-03 19:34:08 +00:00
Michael Wallner b628c36a85 NEWS 2014-04-03 10:41:45 +02:00
Michael Wallner 55005c8638 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix Bug #66736 	fpassthru broken
2014-04-03 10:41:24 +02:00
Michael Wallner 1c2bcec68a NEWS 2014-04-03 09:09:51 +02:00
Michael Wallner 5d42ce838c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix bug #66182 	exit in stream filter produces segfault
2014-04-03 09:09:24 +02:00
Michael Wallner 06e6d42ee3 NEWS 2014-04-02 15:39:07 +02:00
Michael Wallner 68c57f8149 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed bug #61019 (Out of memory on command stream_get_contents)
2014-04-02 15:38:35 +02:00
Michael Wallner c4a3f67708 NEWS 2014-04-02 11:14:34 +02:00
Michael Wallner 80d58ca8cd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
2014-04-02 11:13:42 +02:00
Michael Wallner 669459da8c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #64330
2014-04-02 11:11:23 +02:00
Anatol Belski 88a44b15d7 update NEWS 2014-04-01 10:14:38 +02:00
Anatol Belski ef6538875f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  updated NEWS
  added test for bug #53965
  Fixed bug #53965 <xsl:include> cannot find files w/ relative paths when loaded w/ "file://"
2014-04-01 10:13:38 +02:00
Anatol Belski e265df460d updated libmagic.patch 2014-03-31 17:24:15 +02:00
Remi Collet 3f6073602b NEWS 2014-03-31 16:58:10 +02:00
Remi Collet 62305edc5b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fixed Bug #66987 Memory corruption in fileinfo ext (bigendian)
2014-03-31 16:57:39 +02:00
Rouven Weßling 7e43b4f908 Remove unused code from ext/json. 2014-03-30 18:06:39 +02:00
Anatol Belski 5f54cecde9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update lib versions
2014-03-27 18:19:43 +01:00
Yasuo Ohgaki a84e5dc37d Remove unneeded string copy.
Allow to set ''(empty string values) internal/input/output_encoding for better compatibility. i.e. Runtime INI value changes.
More compliance to the RFC. Improve/add encoding handling tests. i.e. Rather than set encoding automagic way, detect it.
2014-03-27 17:20:57 +09:00
Andrey Hristov 7ccbfb2e84 Merge branch 'PHP-5.5' into PHP-5.6 2014-03-26 14:27:25 +02:00
Derick Rethans dcc0644cde Merge branch 'PHP-5.5' into PHP-5.6 2014-03-25 12:17:19 +00:00
Remi Collet 5f0428e8cc fix merge issue 2014-03-25 12:07:15 +01:00
Tjerk Meesters 98163c7d1b Updated NEWS for #66834 2014-03-25 18:16:30 +08:00
Tjerk Meesters 5dee3c11fe Call offsetGet() when called with isset() on ArrayObject derivatives 2014-03-25 18:15:18 +08:00
Remi Collet c5f6d1ab29 NEWS 2014-03-25 11:04:49 +01:00
Remi Collet 64d7dd55d3 Fix merge (5.6 already have file 5.17) 2014-03-25 11:03:59 +01:00
Anatol Belski 655f2973eb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix disabling PGO for extensions, rel bug #65715
2014-03-25 06:46:06 +01:00
Anatol Belski 59dcf9879b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  more fixes related to bug #65715
2014-03-24 19:19:06 +01:00
Michael Wallner caba0203e8 fix some warnings 2014-03-24 17:51:50 +01:00
Michael Wallner 275b2c420d PHP-5.6 compatibility for apache2 filter SAPI 2014-03-24 17:48:28 +01:00
Bob Weinand e55bbd47af Use the internal zend_get_opcode_name() function
Requires now >=5.4.24 or >=5.5.8 or >=5.6
2014-03-24 14:46:14 +01:00
Anatol Belski 26f7051cf4 updated NEWS 2014-03-24 10:31:08 +01:00
Anatol Belski 13e8486550 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  updated NEWS
  Fixed bug #65715 php5embed.lib isn't provided anymore
2014-03-24 10:30:05 +01:00
Bob Weinand c86ba551ac Merge branch 'master' into watchpoints_recursive
Conflicts:
	phpdbg.c
	phpdbg_utils.c
	phpdbg_utils.h
2014-03-23 23:32:13 +01:00
Bob Weinand 30fab784dc Fixed TSRM build 2014-03-23 14:57:25 +01:00
Bob Weinand bd2305f1d2 Fixed possible duplication of watchpoints output 2014-03-22 21:27:25 -04:00
Bob Weinand 7b0219212d Fixed possible segmentation fault upon unset with watchpoints 2014-03-22 09:39:39 -04:00
Anatol Belski 9d4001f1c8 fix C89 compat 2014-03-22 10:44:01 +01:00
Andrey Hristov 61103cc25c Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-03-21 14:33:44 +02:00
Nikita Popov f331ed1414 Revert "Add helper function for updating bucket contents"
Reverting this for now, because it would require further changes
thanks to the zend signals tsrms-but-only-sometimes awesomeness.
2014-03-21 01:32:49 +01:00
Nikita Popov 4e7e301dda Rename+move zend_hash_apply_deleter and reuse it
The interruption handling was normalized to wrap the entire deletion
operation (instead of leaving out the destructor call and/or the
deallocation) per the recommendation of somebody (don't remember who)
familiar with zend signals.

There is an always-inlined variant of the function for use in
the main deletion function, to ensure there is no performance
impact.
2014-03-21 00:14:52 +01:00
Nikita Popov 4efa58dd59 Make zend_hash_apply_deleter() void, to allow reuse
Also remove lies in the comment above the function. apply_deleter
is not safe against modification, if the modification involves
removing the next bucket.

Also modified the implementation of zend_hash_graceful_destroy()
to be fully graceful (the reverse variant already was).
2014-03-21 00:14:51 +01:00
Nikita Popov c3a317117a Add helper function for updating bucket contents 2014-03-21 00:14:46 +01:00
Nikita Popov 994fcfcff9 Remove unnecessary check
In case of an update the key already existed, so the next free
element can not change.
2014-03-20 22:58:10 +01:00
Andrey Hristov 113f22550a Fixes after merge 2014-03-20 17:28:49 +02:00
Andrey Hristov d2ab74588e Merge branch 'PHP-5.5' into PHP-5.6 2014-03-20 16:30:01 +02:00
Remi Collet 7f7c84d64f add info: empty strings are interned 2014-03-20 15:18:41 +01:00
Andrey Hristov e52334fdbe Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	ext/mysqli/mysqli_api.c
2014-03-20 16:16:12 +02:00
Yasuo Ohgaki e1fe76f28a Add default_charset handling 2014-03-20 10:50:32 +09:00
Tjerk Meesters d0e3173016 Updated UPGRADING to add three changes 2014-03-20 07:44:23 +08:00
Christopher Jones 014c5706a8 Merge branch 'oci_field_doc_prototype_fixes' into PHP-5.6
* oci_field_doc_prototype_fixes:
  OCI8: fix prototypes for oci_field_*().  They can take a column index or name.
2014-03-19 15:23:07 -07:00
Christopher Jones 6c20b07190 OCI8: fix prototypes for oci_field_*(). They can take a column index or name. 2014-03-19 15:20:40 -07:00
Christopher Jones 8bdf272758 Change test package name ARRAYBINDPKG1 to a per-file unique name to aid parallel testing 2014-03-19 14:10:56 -07:00
Andrey Hristov 62ab3af12f fix compilation error 2014-03-19 19:15:04 +02:00
Andrey Hristov b86595a37c Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	NEWS
2014-03-19 18:55:29 +02:00
Andrey Hristov 01c2ec03bc Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	NEWS
	configure.in
	ext/mysqli/mysqli_api.c
	main/php_version.h
2014-03-19 18:54:39 +02:00
Adam Harvey d613b0acc2 Restore NEWS and UPGRADING for hash_equals(). 2014-03-19 06:24:01 -07:00
Yasuo Ohgaki 3ce980cf97 Merge branch 'pull-request/622' into PHP-5.6
* pull-request/622:
  Fixed typo
  Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encoding
2014-03-19 17:29:24 +09:00
Yasuo Ohgaki babaa43762 Fixed typo 2014-03-19 17:25:45 +09:00
Stanislav Malyshev c1765d7ffe Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  prep for 5.4.27 rc1
2014-03-18 23:25:08 -07:00
Anatol Belski ec11530620 remove obsolete comment 2014-03-19 06:35:58 +01:00
Anatol Belski 62f6c5853f Fixes to various stream cast on win64
This fixes further issues on win64 with casts from the streams.
Sockets/descriptors handling was unitized. This has an impact only on
win64, php_socket_t otherwise can be feed back to int datatype.
2014-03-19 06:33:46 +01:00
Adam Harvey a6f7fca637 Merge accepted RFC https://wiki.php.net/rfc/timing_attack into 5.6. 2014-03-18 09:22:13 -07:00
Derick Rethans 415233d26d Merge branch 'PHP-5.5' into PHP-5.6 2014-03-18 15:02:25 +00:00
Andrey Hristov 39c53031e0 Merge branch 'PHP-5.5' into PHP-5.6 2014-03-18 15:42:57 +02:00
Mateusz Kocielski ea12799eff Fixed wrong indentation 2014-03-18 10:49:28 +01:00
Mateusz Kocielski 6c259625c4 Fixed wrong indentation 2014-03-18 10:49:28 +01:00
Mateusz Kocielski 888f467d63 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed off-by-one in php_url_parse_ex
2014-03-18 09:53:58 +01:00
Mateusz Kocielski b20abadf90 Fix phpdbg build on FreeBSD
Added missing netinet/in.h header.
2014-03-18 09:51:39 +01:00
Mateusz Kocielski ccae70b765 Fix phpdbg build on FreeBSD
Added missing netinet/in.h header.
2014-03-18 09:51:39 +01:00
Yasuo Ohgaki a28389b2ab Fixed typo in UPGRADING and modified php.ini-* description for encoding related changes 2014-03-18 07:28:26 +09:00
Nikita Popov 42562ee913 Add support for PCRE marks
If a MARK is set then it will be returned in the $matches array
unter key "MARK". If no MARK is used or passed, the key will not
be set.
2014-03-17 22:32:40 +01:00
Yasuo Ohgaki c4c97d878d Update UPGRADING.
Add more descriptions about default_charset and encoding related changes.
Many thanks to Christopher.
2014-03-18 05:49:09 +09:00
Daniel Lowrey 33c7976dfc UPGRADING (openssl updates) 2014-03-17 08:03:40 -06:00
Daniel Lowrey 098b4e8f5a Merge branch 'pgsql-async' into PHP-5.6
* pgsql-async:
  Support async pgsql connections and non-blocking queries
2014-03-17 07:55:42 -06:00
Daniel Lowrey 2ee4c987e6 Support async pgsql connections and non-blocking queries
- New functions (each accepts a pgsql $connection resource):

  . pg_connect_poll
  . pg_socket
  . pg_consume_input
  . pg_flush

- Modified functions

  The following functions now additionally return zero if the
  underlying socket is set to non-blocking mode and the send
  operation does not complete immediately. Previously these
  functions returned only boolean TRUE/FALSE and blocked
  execution while polling until all data was sent:

  . pg_send_execute
  . pg_send_prepare
  . pg_send_query
  . pg_send_query_params

- New constants

  Used with pg_connect() to initiate an asynchronous connection
  attempt:

  . PGSQL_CONNECT_ASYNC

  Used with pg_connection_status() to determine the current state
  of an async connection attempt:

  . PGSQL_CONNECTION_STARTED
  . PGSQL_CONNECTION_MADE
  . PGSQL_CONNECTION_AWAITING_RESPONSE
  . PGSQL_CONNECTION_AUTH_OK
  . PGSQL_CONNECTION_SSL_STARTUP
  . PGSQL_CONNECTION_SETENV

  Used with pg_connect_poll() to determine the result of an
  async connection attempt:

  . PGSQL_POLLING_FAILED
  . PGSQL_POLLING_READING
  . PGSQL_POLLING_WRITING
  . PGSQL_POLLING_OK
  . PGSQL_POLLING_ACTIVE

- Polling via returned pg_socket() stream

  pg_socket() returns a read-only socket stream that may be
  cast to a file descriptor for select (and similar) polling
  operations. Blocking behavior of the pgsql connection socket
  can be controlled by calling stream_set_blocking() on the
  stream returned by pg_socket().
2014-03-17 06:31:15 -06:00
Bob Weinand 1401314a1b Fixed one major bug in phpdbg_btree_delete
There is some bug when arrays/property tables are deleted: the children are not notified

(Considering now to overwrite the dtor of the array)
2014-03-17 06:19:14 -04:00
Rouven Weßling 2148a88b3d Add hash_equals() to perform string comparisons that are not vulnerable to timing attacks. 2014-03-17 09:37:28 +01:00
Stanislav Malyshev 2499b6518c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #66873: check if obj->src is set
2014-03-17 01:20:09 -07:00
Bob Weinand f887960f9b removed some weird crash when freeing to early 2014-03-16 22:37:33 +01:00
Bob Weinand 98025a40b8 Cleanup 2014-03-16 20:04:08 +01:00
Bob Weinand 3fcdd6ab0f Added WINDOWS support for watchpoints
Actually it mainly works by just a bit macro substitution and function
redeclarations.
So it leaves the code working on UNIX mostly untouched.

I needed to substitute the allocating functions by a Virtual*() functions
wrapper to use VirtualProtect() on the memory.
2014-03-16 19:39:02 +01:00
Anatol Belski 7c904c6cbd updated NEWS 2014-03-15 18:00:16 +01:00
Anatol Belski f5ebea91b0 updated to oniguruma to 5.9.5 2014-03-15 17:56:04 +01:00
Remi Collet 8cde747336 NEWS 2014-03-14 09:53:11 +01:00
Remi Collet 89dc5924c9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  Fixed Bug #66833 Default digest algo is still MD5
  Fix 5.5.10 NEWS
2014-03-14 09:52:47 +01:00
Lior Kaplan f120463efe Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Typo fix: sicret -> secret
2014-03-13 12:41:48 +02:00
Anatol Belski f0634b5be5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libs_version.txt

Conflicts:
	win32/build/libs_version.txt
2014-03-13 10:31:03 +01:00
Yasuo Ohgaki 973f379efc Remove unneeded test 2014-03-13 06:54:52 +09:00
Yasuo Ohgaki 96d25b4b76 Update NEWS 2014-03-13 06:34:46 +09:00
Yasuo Ohgaki 6f0ad9ea12 Revert "Implement Bug #54649 Create session_serializer_name()"
This reverts commit 678ec30655.

Conflicts:
	ext/session/tests/session_serializer_name_basic.phpt
2014-03-13 06:32:49 +09:00
Yasuo Ohgaki 7dec5789fe Revert "Implemented Request #11100 (session_gc() function)."
This reverts commit 54a42f0d0c.

Conflicts:
	ext/session/tests/session_gc_basic.phpt
2014-03-13 06:30:32 +09:00
Anatol Belski 0bf5bce6ad Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  made libgd recognize the 9 version series
2014-03-12 19:31:07 +01:00
Anatol Belski 75486555c2 fix include search 2014-03-12 19:25:20 +01:00
Remi Collet 78cee12561 NEWS 2014-03-12 17:13:47 +01:00
Remi Collet 44c0581e0c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix bug  #66887 imagescale - poor quality of scaled image
2014-03-12 17:13:31 +01:00
Remi Collet 4a1efa350a NEWS 2014-03-12 15:36:38 +01:00
Remi Collet 5bd13c5231 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Bug #66893i imagescale ignore method argument
2014-03-12 15:36:08 +01:00
Nikita Popov 5e93a213f6 Add SKIPIF in GMP test 2014-03-12 14:17:08 +01:00
Nikita Popov e617dfbdf3 Merge branch 'PHP-5.5' into PHP-5.6 2014-03-12 14:16:58 +01:00
Remi Collet 0bccd48d3f typo in NEWS 2014-03-12 14:08:25 +01:00
Remi Collet a912fb498e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  typo in NEWS
2014-03-12 14:08:09 +01:00
Remi Collet 081e2b9928 NEWS 2014-03-12 13:47:10 +01:00
Remi Collet c8c1205d84 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed Bug #66890 imagescale segfault
2014-03-12 13:46:51 +01:00
Matteo Beccati f0da85b492 Updated UPGRADING to cover PDO_pgsql changes 2014-03-12 12:31:04 +01:00
Yasuo Ohgaki ca927bb47e Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encoding 2014-03-12 17:54:22 +09:00
Matteo Beccati 1241a63931 Updated NEWS 2014-03-11 23:28:53 +01:00
Matteo Beccati e378348a31 Added new PDO::PGSQL_ATTR_DISABLE_PREPARES that uses PQexecParams
Faster than prepared statements when queries are run once. Slightly
slower than PDO::ATTR_EMULATE_PREPARES but without the potential
security implications of embedding parameters in the query itself.
2014-03-11 23:10:48 +01:00
Matteo Beccati d72621ab9e Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT 2014-03-11 23:10:48 +01:00
Matteo Beccati b1ffea3ccc Drop PDO support for extremely old libpq versions
configure will now fail if any of the following function is missing:
* PQprepare
* PQexecParams
* PQescapeStringConn
* PQescapeByteaConn
2014-03-11 23:10:47 +01:00
Adam Harvey 1a14eb53c4 Merge branch 'PHP-5.5' into PHP-5.6 2014-03-11 11:06:39 -07:00
Anatol Belski adca4c355c fix path separator 2014-03-11 16:29:30 +01:00
Bob Weinand 7a9e3e422f Added support for recursive watchpoints deletion 2014-03-11 09:11:27 -04:00
Nikita Popov fd5fbba98c Use /dev/urandom as the default mcrypt_create_iv() source
Also fixes the ARGINFO for mcrypt_create_iv() and adds missing
UPGRADING entries.
2014-03-11 14:06:13 +01:00
Nikita Popov a117e6b937 Add tests for bug #66872 and gmp_[rem]root 2014-03-11 14:06:12 +01:00
Tjerk Meesters 03e9878c78 Fixed mcrypt test case 2014-03-11 20:49:41 +08:00
Tjerk Meesters ffc0f8a16f Merge branch 'php-5.5' into PHP-5.6 2014-03-11 19:16:13 +08:00
Anatol Belski 54a18f3be6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  restored the old code in 5.4/5 related to bug #66872
2014-03-11 11:53:17 +01:00
Bob Weinand 008842c7fa Added COW handling and fixed various bugs 2014-03-11 06:14:32 -04:00
Christopher Jones f0ec533573 Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6
# By Pierre Joye (7) and others
# Via Pierre Joye (10) and others
* 'PHP-5.6' of https://git.php.net/repository/php-src:
  updated libsqlite to 3.8.3.1 in 5.5 branch, too
  DI
  Switch from a single flag to a flag byte
  update NEWS
  fix #66872, invalid argument crashes gmp_testbit
  fix #66872, invalid argument crashes gmp_testbit
  update news
  - fix #66869, Invalid 2nd argument crashes imageaffinematrixget
  add vc12 (2013)
  add vc12 (2013)
2014-03-10 16:46:42 -07:00
Christopher Jones 601367ee75 Fixed Bug #66875 (Improve performance of multi-row OCI_RETURN_LOB queries) 2014-03-10 16:33:35 -07:00
Anatol Belski c946d7f086 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-03-10 17:52:51 +01:00
Anatol Belski dc87c208fd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libsqlite to 3.8.3.1 in 5.5 branch, too
2014-03-10 17:50:45 +01:00
Andrey Hristov 73f03a47d0 DI 2014-03-10 18:18:56 +02:00
Andrey Hristov 16043b261f Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-03-10 17:34:18 +02:00
Pierre Joye 52a44a736b Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
# By Anatol Belski (2) and others
# Via Anatol Belski (3) and others
* 'PHP-5.6' of git.php.net:php-src:
  updated libmagic.patch
  updated libmagic.patch
  Fix indentation
  Do not remove *.1, it's not generated by make but configure
  Fix typo: entory -> entry
2014-03-10 16:28:41 +01:00
Andrey Hristov 990f9c8f3f Switch from a single flag to a flag byte 2014-03-10 17:25:53 +02:00
Anatol Belski 8bda4c685a updated libmagic.patch 2014-03-10 14:17:47 +01:00
Anatol Belski 6dd80946a2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libmagic.patch
2014-03-10 14:14:01 +01:00
Bob Weinand b033c4fa28 Added handling of zval separation (aka watchpoint changes) 2014-03-10 09:10:27 -04:00
Pierre Joye eef2978afc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update NEWS
  fix #66872, invalid argument crashes gmp_testbit
  fix #66872, invalid argument crashes gmp_testbit
  add vc12 (2013)

Conflicts:
	ext/gmp/gmp.c
2014-03-10 12:18:57 +01:00
Andrey Hristov c8033ac207 Merge branch 'PHP-5.5' into PHP-5.6 2014-03-10 12:53:17 +02:00
Xinchen Hui aa23d754a9 Merge branch 'PHP-5.5' into PHP-5.6 2014-03-10 15:55:05 +08:00
Lior Kaplan 6e16cc3528 Fix typo: entory -> entry 2014-03-09 22:58:04 +02:00
Pierre Joye ba79c45174 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update news
  - fix #66869, Invalid 2nd argument crashes imageaffinematrixget
  add vc12 (2013)

Conflicts:
	win32/build/confutils.js
2014-03-09 21:17:06 +01:00
Anatol Belski 7d0493219c updated NEWS 2014-03-09 13:06:32 +01:00
Anatol Belski 2dd378df36 removed the libsqlite patch as it's not relevant anymore 2014-03-09 13:03:43 +01:00
Anatol Belski 61db86bff3 updated bundled libsqlite to 3.8.3.1 2014-03-09 13:01:48 +01:00
Bob Weinand 37ca791a91 Fixed recursive segfault in segfault handler 2014-03-08 09:52:57 -05:00
Remi Collet 7946c5a235 add OPSYS_Z_CPM missing constant 2014-03-07 14:10:16 +01:00
Daniel Lowrey ff3c6931c0 Update php.ini files (new openssl directives) 2014-03-07 05:26:37 -07:00
Tjerk Meesters 8d3f4b647b Merge branch 'PHP-5.5' into PHP-5.6 2014-03-07 19:24:02 +08:00
Tjerk Meesters 25d355bdb7 Updated NEWS for #65545 2014-03-07 18:57:55 +08:00
Tjerk Meesters 64906cdc38 Merge branch 'PHP-5.5' into PHP-5.6 2014-03-07 18:57:36 +08:00
Bob Weinand f76d5b3104 Include the T_POW operator in constant scalar expressions 2014-03-07 07:39:20 +01:00
Tjerk Meesters be8a4474d9 Updated news for #66822 2014-03-07 09:14:27 +08:00
Tjerk Meesters 3d1fa4cb17 Allow T_POW in constant expressions 2014-03-07 09:14:27 +08:00
Christopher Jones d32e180f20 Fix typo 2014-03-06 16:49:11 -08:00
Michael M Slusarz b88387d341 Fix #66698: Add fnv1a32 and fnv1a64 hash options 2014-03-06 23:38:51 +01:00
Nikita Popov 200c97829d Merge branch 'PHP-5.5' into PHP-5.6 2014-03-06 23:15:30 +01:00
Andrey Andreev eb8dfc85ce Add test for bug #62102 / RFC 2144
Using test vectors from RFC 2144, section B.1 (http://tools.ietf.org/rfc/rfc2144.txt)
2014-03-06 22:40:26 +01:00
Christopher Jones 9989af2e9b Whitespace. 2014-03-06 10:21:36 -08:00
Christopher Jones 2cf9560921 Misc cleanup including adding the version number 2014-03-06 10:16:42 -08:00
Remi Collet a8121ca0e1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix order in NEWS
  Add CVE ref (not known at release time)
  Fix NEWS for 5.5.11 fix (really not in 5.5.10)
  5.5.10 release date for NEWS
2014-03-06 11:02:40 +01:00
Remi Collet 518a6ed95b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Set default Digest Message to use SHA1 instead of MD5 in openssl tests as MD5 signature are now rejected by newer openssl Version.
2014-03-06 10:16:30 +01:00
Daniel Lowrey a9cdf2e2e3 Add NEWS/UPGRADING notes (openssl + curl) 2014-03-05 10:49:21 -07:00
Daniel Lowrey fad14e3180 Add encrypted server SNI support
- New "SNI_server_certs" context option maps host names to
  appropriate certs should client handshakes advertise the
  SNI extension:

    $ctx = stream_context_create(["ssl" => [
        "local_cert" => "/path/to/cert.pem",
        "SNI_server_certs" => [
            "domain1.com" => "/path/to/domain1.pem",
            "*.domain2.com" => "/path/to/domain2.pem",
            "domain3.com" => "/path/to/domain3.pem"
        ]
    ]]);

- Prefixing a "*." will utilize the matching cert if a client
  requests the primary host name or any subdomain thereof. So
  in the above example our "domain2.pem" will be used for both
  requests to "domain2.com" -and- "subdomain.domain2.com"
- The "SNI_server_certs" ctx option has no effect for client
  streams.
- SNI support is enabled by default as of 5.6 for both servers
  and clients. Servers must specify the "SNI_server_certs" array
  to actually use the SNI extension, though.
- If the `"SNI_enabled" => false` ctx option is also passed then
  "SNI_server_certs" has no effect.
- While supporting SNI by itself is enough to successfully
  negotiate the TLS handshake with many clients, servers MUST
  still specify a "local_cert" ctx option or run the risk of
  connection failures from clients that do not support the SNI
  extension.
2014-03-05 10:03:33 -07:00
datibbaw 020e161966 Raise timeout to 2s, reworded ssl timeout warning 2014-03-05 10:03:23 -07:00
Daniel Lowrey 27849c998a Refactor + reorganize openssl files
- All streams-related code now lives in xp_ssl.c. Previously
  stream code was split across both openssl.c and xp_ssl.c
- Folded superfluous php_openssl_structs.h into xp_ssl.c
- Server-specific options now set on SSL_CTX instead of SSL
- Deprecate SNI_server_name ctx option
- Miscellaneous refactoring
2014-03-05 10:03:11 -07:00
Andrey Hristov 36d3c83abd Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-03-05 16:47:16 +02:00
Nikita Popov d595502d0a Add NEWS entry for mcrypt changes 2014-03-05 15:36:00 +01:00
Nikita Popov d8ed84e4c4 Use zpp for accepting encryption mode string
Leaving the non-zpp usage for the mcrypt_{MODE} functions, as
they're deprecated and I'm too lazy to update all their tests.
2014-03-05 15:32:32 +01:00
Nikita Popov eb0eac75ef Remove a number of macros that are no longer used 2014-03-05 15:32:32 +01:00
Nikita Popov e5738d3bc9 Provide expected IV length in IV error messages 2014-03-05 15:32:32 +01:00
Nikita Popov b9737aa08e Call mcrypt_module_close on error 2014-03-05 15:32:32 +01:00
Nikita Popov e4876ecbfb Print supported key sizes in error message 2014-03-05 15:32:32 +01:00
Nikita Popov 32333abe3e Clean up do_crypt code
Avoid unnecessary alloc/copy/free cycles and clean up structure in
general. Add a few extra checks for the key length.
2014-03-05 15:32:32 +01:00
Nikita Popov a861a3a93d Abort on invalid key size
Previously an incorrectly sized key was either silently padded
with NUL bytes or truncated. Especially the silent nature of this
behavior makes it extremely easy to use weak encryption. A common
mistake - which has also been extensively made in our tests - is
to use a password instead of a key.

Incorrectly sized keys will now be rejected.
2014-03-05 15:32:32 +01:00
Nikita Popov 25d801f97e Abort on missing IV if the enc_mode requires it
Previously the code fell back on using a NUL IV if no IV was
passed and the encryption mode required it. This is dangerous and
makes no sense from a practical point of view (as you could just
as well use ECB then).
2014-03-05 15:32:31 +01:00
Nikita Popov c4b7cdb41e Abort on invalid IV size
Previously, if the size of the IV did not match the block size
mcrypt would throw a warning and fall back to a NUL IV. This
behavior is both dangerous and makes no practical sense.

mcrypt_encrypt etc. will now return false if the IV has an incorrect
size.
2014-03-05 15:32:31 +01:00
Andrey Hristov 6b804b96b8 Refactor the result set data structures. Move more to the buffered and unbuffered
substructures. Add methods to these too. Preparing for pluggable interface for
returning data to the engine (zvals, c-style, something else)
2014-03-05 16:22:23 +02:00
Remi Collet 1b922895fc NEWS 2014-03-05 10:45:50 +01:00
Remi Collet cf89ff3d24 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed Bug #66815 imagecrop(): insufficient fix for NULL defer CVE-2013-7327
2014-03-05 10:44:04 +01:00
Remi Collet 9a9add6b73 fix merge 2014-03-04 20:39:00 +01:00
Remi Collet 834b719cf5 fix merge 2014-03-04 13:46:21 +01:00
Remi Collet f7e381eef6 Add notice about tsrm_virtual_cwd.h moved to zend_virtual_cwd.h
as this introduce need for awfull hacks...
2014-03-03 15:33:11 +01:00
Tjerk Meesters fed56fbae8 Fixed NEWS for #60602 2014-03-03 05:59:07 +08:00
Tjerk Meesters 330ffe2e24 Merge branch 'PHP-5.5' into PHP-5.6 2014-03-03 05:58:03 +08:00
Derick Rethans 574f230d3c Added DateTimeImmutable::createFromMutable. 2014-03-02 14:18:44 -05:00
Derick Rethans b8d75cc464 Sort alphabetically 2014-03-02 14:15:30 -05:00
Daniel Lowrey c126c16479 Capture peer cert even if verify fails
Previously the "capture_peer_cert" SSL context option only
captured the peer's certificate if the verification routine
succeeded.

By also capturing the on verify failure applications have the
ability to parse the cert and ask users whether they wish to
proceed given the information presented by the peer.
2014-03-02 10:35:52 -07:00
Chris Wright e8995c8cb0 Windows cert verify improvements + leak fixes
- Clean up properly at all fail points in native Windows peer
  verification routine
- Bring certificate usages and chain flags into line with chromium
  implementation in windows environments
2014-03-02 10:30:21 -07:00
Anatol Belski 9d4adf4fe1 turn off some false positives 2014-03-02 12:49:30 +01:00
Anatol Belski cf90bd92bf support for static analyzers other than visual studio 2014-03-01 20:15:10 +01:00
Anatol Belski 0bbacd8678 fix wording 2014-03-01 13:28:02 +01:00
Anatol Belski db9d911093 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-03-01 13:16:16 +01:00
Anatol Belski 7c60a09cae reveal more info on the configure options 2014-03-01 13:11:35 +01:00
Tjerk Meesters 6b6b2149af Updated news for #66535 and #66109 2014-03-01 12:27:36 +08:00
Anatol Belski af545ead97 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  don't compare constants on run time
2014-02-28 19:39:34 +01:00
Tjerk Meesters e424049840 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  substr_compare(): Allow zero length comparison
2014-02-28 23:48:34 +08:00
Tjerk Meesters 43ac0ab673 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed test case title
  [bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
2014-02-28 22:31:16 +08:00
Tjerk Meesters cbb2dc0788 Merge branch '5.5' into 5.6
* 5.5:
  Fixed expected output of a few cURL test cases
  Allow NULL as value for CURLOPT_CUSTOMREQUEST option.
2014-02-28 19:01:17 +08:00
Anatol Belski 1cb4398ac1 primitive test fixes 2014-02-28 09:43:57 +01:00
krakjoe a2d7e336e6 parse stream locations properly, bp.c still needs work for #82 2014-02-28 07:41:34 +00:00
Remi Collet 06feb15a16 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  man page: long option name is --strip, not --stripped
  --global have be removed in 5.2
2014-02-28 08:12:26 +01:00
krakjoe 623888adc0 use php streams to handle line endings better for #81 2014-02-27 19:10:59 +00:00
Anatol Belski 2c1385b7f5 remove pcntl leftover from the test code 2014-02-27 15:50:17 +01:00
Chris Wright 41da7f276f Allow crypto_method context value in stream_socket_enable_crypto() 2014-02-27 13:41:25 +00:00
Ferenc Kovacs 5abaf7cc87 list the fpm change hat rfc in UPGRADING 2014-02-27 12:54:07 +01:00
Ferenc Kovacs 8bb84693b3 mention the apparmor support in fpm 2014-02-27 12:43:42 +01:00
Ferenc Kovacs bfbdc032b6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  typo spotted by Lajos Veres
2014-02-27 11:30:23 +01:00
Anatol Belski 703154321f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update libs_version.txt

Conflicts:
	win32/build/libs_version.txt
2014-02-27 09:26:48 +01:00
Anatol Belski 603ebc70ff update libs_version.txt 2014-02-27 09:25:15 +01:00
Remi Collet 6ed83d37af NEWS 2014-02-27 08:50:29 +01:00
Remi Collet fa01db3466 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  NEWS
  test for bug #66762
  Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
2014-02-27 08:50:07 +01:00
Ferenc Kovacs 42a43d4531 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix tests broken by 633f898f15
2014-02-27 02:32:47 +01:00
Ferenc Kovacs afb0675e3b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add missing NEWS entry
2014-02-27 01:28:57 +01:00
Ferenc Kovacs 1d51c43287 add missing NEWS entry 2014-02-27 01:27:53 +01:00
Ferenc Kovacs 1b8679401c add missing NEWS entry 2014-02-27 01:27:53 +01:00
Ferenc Kovacs cb9ce48d02 add missing NEWS entry 2014-02-27 01:27:52 +01:00
Ferenc Kovacs 95e0de7cfa add missing NEWS entry 2014-02-27 01:27:52 +01:00
Ferenc Kovacs b59831bc30 add missing NEWS entry 2014-02-27 01:27:52 +01:00
Daniel Lowrey 4b06e0a2d0 Merge branch 'curlClosePolicy' of https://github.com/DaveRandom/php-src into PHP-5.6
* 'curlClosePolicy' of https://github.com/DaveRandom/php-src:
  Remove cURL close policy related constants
2014-02-26 13:40:16 -07:00
Daniel Lowrey d0a6f8c68e Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
Chris Wright afc24da436 Remove cURL close policy related constants
These options don't do anything and they never have.

Refs:
  http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTCLOSEPOLICY
  http://curl.haxx.se/mail/lib-2006-11/0301.html
2014-02-26 17:48:14 +00:00
Nikita Popov 96d0bb7bca Update stack size in tests/func/010.phpt
Stack size is 16K nowadays. Now the test takes a more reasonable
amount of time to run...
2014-02-26 16:40:25 +01:00
Nikita Popov 95c73f99d3 Don't add num_additional_args in SEND opcodes
Now that trailing positional args are disallowed,
num_additional_args will always be zero in SEND opcodes (and
FUNC_ARG fetches).
2014-02-26 16:40:25 +01:00
Nikita Popov d3b484df82 Disallow use of positional args after unpacking
This commit disallows the use of trailing positional arguments
after argument unpacking was used. The following calls are no
longer valid:

    fn(...$array, $var);
    fn(...$array1, $var, ...$array2);

However, all of the following continue to be valid:

    fn($var, ...$array);
    fn(...$array1, ...$array2);
    fn($var, ...$array1, ...$array2);

The reason behind this change is a stack allocation issue pointed
out by Dmitry: As of PHP 5.5 the stack necessary for pushing
arguments is precomputed and preallocated, as such the individual
SEND opcodes no longer verify that there is enough stack space.
The unpacked arguments will occupy some of that preallocated
space and as such following positional arguments could write past
a stack page boundary.

An alternative resolution for this issue is to ensure that there
is enough space for the remaining arguments in the UNPACK opcode.
However making this allocation precise (rather than using a
conversative over-estimate) would require some effort. Given that
this particular aspect of the feature wasn't very popular in the
first place, it doesn't seem worth the effort.
2014-02-26 16:40:25 +01:00
Nikita Popov 2eae187949 Store arg_num in fcall entry
Instead of storing the argument number in the znode of the parameter
list, store it in fcall->arg_num. This mainly cleans up the parameter
parsing code, which previously had to duplicate all rules (this
becomes more excessive as more features are added, e.g. named params
would already require a minimum of 14 rules...)
2014-02-26 16:40:25 +01:00
Nikita Popov cefa7f8d08 Introduce zend_function_call_entry structure
Instead of directly pushing the zend_function* onto the
function_call_stack, push this structure. This allows us to store
additional data on this stack.
2014-02-26 16:40:25 +01:00
Ferenc Kovacs 44053a9dae move the default encoding NEWS entry to alpha3, as it was pushed after beta2 was tagged 2014-02-26 15:29:40 +01:00
Ferenc Kovacs da4c7af358 rearrange the NEWS blocks a bit 2014-02-26 15:28:36 +01:00
Ferenc Kovacs 2f5ba1ef69 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add news entry
  add news entry
  add clear_env option to FPM config
  add clear_env option to FPM config
  Reduce test noise on cross Oracle client <-> server version tests. This fix is already in PHP 5.6+
  Reduce test noise in cross Oracle client <-> server version testing. This change is already in PHP 5.6+
2014-02-26 15:13:40 +01:00
Ferenc Kovacs 2b3483249c add NEWS block for 5.6.0 beta1 2014-02-26 15:08:08 +01:00
Anatol Belski 9ab73c52ab restored that test part in ext/openssl to enable notify/wait 2014-02-26 13:37:20 +01:00
Anatol Belski bcff8d1b26 remove echo 2014-02-26 12:41:36 +01:00
Anatol Belski 56cbe04381 fix stdin reading in new openssl tests 2014-02-26 11:27:24 +01:00
Anatol Belski 82a98f6e52 kick redundant include
this is already present from php.h
2014-02-26 11:23:43 +01:00
Daniel Lowrey 2bc0dbab44 Prevent implicit function declaration when TLSEXT unavailable 2014-02-25 19:12:33 -07:00
Daniel Lowrey 781d0b9ee3 Update NEWS+UPGRADING (openssl) 2014-02-25 13:22:16 -07:00
Daniel Lowrey bab017ddfd Remove test case invalidated by openssl.cafile accessibility change 2014-02-25 13:02:13 -07:00
Daniel Lowrey bd95716b8e Merge branch 'windowsPeerVerification' of https://github.com/DaveRandom/php-src into PHP-5.6
* 'windowsPeerVerification' of https://github.com/DaveRandom/php-src:
  Update openssl tests with new server/client test harness
  Add peer certificate verification on windows
2014-02-25 12:43:52 -07:00
Daniel Lowrey f8fe09dcef Tolerate non-standard newlines when parsing stream CA files 2014-02-25 09:59:13 -07:00
Daniel Lowrey a4c7ab8399 Remove openssl tests that shouldn't have survived last merge
These are .phpt files I meant to remove with the last batch as
the same functionality is now covered in other tests and these
are no longer needed.
2014-02-25 09:59:13 -07:00
Daniel Lowrey a031dc06d9 Add openssl.cafile ini check when loading cainfo 2014-02-25 09:59:13 -07:00
Daniel Lowrey 47b5873c5d Change openssl directives to PHP_INI_PERDIR
Because openssl.cafile and openssl.capath have implications for
security these directives have been changed to PHP_INI_PERDIR
(previously PHP_INI_ALL)
2014-02-25 09:59:13 -07:00
Chris Wright d6fb7b8f2e Update openssl tests with new server/client test harness 2014-02-25 16:51:50 +00:00
Chris Wright 480e4f8541 Add peer certificate verification on windows
Peer certificate verification on Windows using the native certificate store and the Windows API
2014-02-25 16:51:49 +00:00
Andrey Hristov aad7b72472 Use API instead of directly acessing the structure 2014-02-25 17:39:06 +02:00
krakjoe d8ed537cd4 moar params for registered functions 2014-02-24 22:30:46 +00:00
krakjoe 4bab2d2f90 export command 2014-02-24 19:03:55 +00:00
krakjoe 043bfd6e2c woops+correction in help 2014-02-24 17:11:09 +00:00
krakjoe 85b5907e85 fix ts build 2014-02-24 09:26:03 +00:00
Anatol Belski 60ed3f78bd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed macro
2014-02-24 10:13:11 +01:00
Paul Annesley a97ae8bc06 add clear_env option to FPM config
This makes it possible to leave the envoronment as is on startup and
pass all the variables to the workers.
The default value of clear_env is "yes", preserving previous behaviour.
Patch by Paul Annesley.
2014-02-24 11:53:40 +04:00
Johannes Schlüter 5c8a0c92d1 Merge branch 'PHP-5.5' into PHP-5.6 2014-02-23 14:57:21 +01:00
krakjoe 4b738cee2b set colors working 2014-02-23 07:33:48 +00:00
Anatol Belski 5b6ef90bc0 fix linkage
"extern inline" looks like tricky case for portability, but extern
is required with VS. So reduce the case to a starndard one to avoid
unporbatibily.
2014-02-21 23:09:16 +01:00
krakjoe ee6cc5ba60 do not allow abbreivation of anything without alias, fixes input for sh/ev 2014-02-21 21:31:01 +00:00
krakjoe e37144f44b moar cleanup 2014-02-21 20:46:56 +00:00
krakjoe 1b92ce9a1b call register 2014-02-21 20:42:15 +00:00
Daniel Lowrey 865a41a6a3 More openssl UPGRADING updates 2014-02-21 12:54:37 -07:00
krakjoe bab960069c ... 2014-02-21 19:37:16 +00:00
Daniel Lowrey c3d76441d5 Fix build against older OpenSSL libs 2014-02-21 12:16:23 -07:00
krakjoe 1c5f8ca7e1 verify noargs 2014-02-21 19:05:20 +00:00
krakjoe 28debb4717 ... 2014-02-21 18:52:06 +00:00
Daniel Lowrey 58e3fcf54f Update NEWS/UPGRADING with openssl additions 2014-02-21 11:40:39 -07:00
krakjoe d1b02fe2fe ... 2014-02-21 18:12:52 +00:00
krakjoe f13fdbe9a0 update export function 2014-02-21 18:05:11 +00:00
krakjoe c3a897bf3d introduce proper support for file:#opline 2014-02-21 18:01:50 +00:00
krakjoe a6eee49326 case insensitive 2014-02-21 17:47:02 +00:00
krakjoe b82ad53b29 ... 2014-02-21 16:29:09 +00:00
krakjoe fde1e44d62 trim breaking commands 2014-02-21 16:18:46 +00:00
Daniel Lowrey 5389d0963c Merge branch 'reneg-limit' of https://github.com/rdlowrey/php-src into PHP-5.6
* 'reneg-limit' of https://github.com/rdlowrey/php-src:
  Mitigate client-initiated SSL renegotiation DoS
2014-02-21 09:13:55 -07:00
krakjoe 78e8690dee conditional breakpoints working again 2014-02-21 15:00:55 +00:00
krakjoe 5db16dd989 better-ness, I think 2014-02-21 14:44:16 +00:00
Daniel Lowrey b6edbd5897 Mitigate client-initiated SSL renegotiation DoS 2014-02-21 06:31:56 -07:00
Anatol Belski f51555ca58 C89 compat 2014-02-21 11:23:42 +01:00
Dmitry Stogov 31f5515059 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added information about interned strings usage

Conflicts:
	NEWS
2014-02-21 12:44:58 +04:00
Dmitry Stogov aebfc519ea Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated opcache version
2014-02-21 12:06:35 +04:00
Dmitry Stogov b9a87a5079 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added function opcache_is_script_cached(). (Danack)

Conflicts:
	NEWS
2014-02-21 12:00:33 +04:00
Daniel Lowrey dcf27a1f6f Merge branch 'improved-tls-defaults' of https://github.com/rdlowrey/php-src into PHP-5.6
* 'improved-tls-defaults' of https://github.com/rdlowrey/php-src:
  Improve OpenSSL compile flag compatibility, minor updates
  Use crypto method flags; add tlsv1.0 wrapper; add wrapper tests
  Improve server forward secrecy, refactor client SNI
  Add 'honor_cipher_order' server context option
  Add 'capture_session_meta' context option
  Disable TLS compression by default in both clients and servers
  Release ssl buffers
  Add openssl_get_cert_locations() function
  Explicitly set cert verify depth if not specified
  Strengthen default cipher list
2014-02-20 17:35:44 -07:00
Daniel Lowrey 9f94e0b51c Improve OpenSSL compile flag compatibility, minor updates 2014-02-20 17:23:34 -07:00
Daniel Lowrey 3a9829af20 Use crypto method flags; add tlsv1.0 wrapper; add wrapper tests 2014-02-20 17:10:06 -07:00
Daniel Lowrey d0c9207cff Improve server forward secrecy, refactor client SNI 2014-02-20 17:10:06 -07:00
Daniel Lowrey 742fc5fb35 Add 'honor_cipher_order' server context option 2014-02-20 17:10:06 -07:00
Daniel Lowrey 081c8e9d92 Add 'capture_session_meta' context option 2014-02-20 17:10:06 -07:00
Daniel Lowrey b98b093d73 Disable TLS compression by default in both clients and servers 2014-02-20 17:10:06 -07:00
Daniel Lowrey b9ba011c0f Release ssl buffers 2014-02-20 17:10:06 -07:00
Daniel Lowrey df6bfe3be2 Add openssl_get_cert_locations() function 2014-02-20 17:10:06 -07:00
Daniel Lowrey 258d04df5c Explicitly set cert verify depth if not specified 2014-02-20 17:10:06 -07:00
Daniel Lowrey 225f534b1a Strengthen default cipher list 2014-02-20 17:10:06 -07:00
Anatol Belski 5d0d88d1f2 fixed path separator in the tests 2014-02-21 00:23:01 +01:00
Sara Golemon 14c08ea362 Add more tests for __debugInfo() and fix leak 2014-02-20 12:10:00 -08:00
Anatol Belski b67c8b8603 updated libmagic.patch for 5.6+ 2014-02-20 19:05:59 +01:00
Anatol Belski 0746e6af08 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libmagic.patch in 5.4/5
2014-02-20 19:01:09 +01:00
Anatol Belski 67d281f093 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed leak introduced after CVE/upgrade
2014-02-20 18:55:05 +01:00
Bob Weinand fe3c8de9d5 Merge branch 'PHP-5.5' into PHP-5.6 2014-02-20 17:49:45 +01:00
Xinchen Hui c0d26bb138 Merge branch 'PHP-5.5' into PHP-5.6 2014-02-20 11:19:52 +08:00
Yasuo Ohgaki 3fa164c24b Update pgsql document 2014-02-20 10:44:18 +09:00
Anatol Belski 47204c6341 some missing pieces for __debugInfo 2014-02-20 02:07:34 +01:00
krakjoe e2fcc870e3 work on lexer to be more permissive (accept moar strings)
work on parameter parsing and command resolution
work on error reporting for failed arguments
update most commands
move quiet to set quiet
move set break on/off to set breaks on/off
keep set break for set break <id> <on/off>
update help accordingly
2014-02-19 20:18:49 +00:00
Daniel Lowrey e272225e2a Merge branch 'bug-65538' of https://github.com/rdlowrey/php-src into PHP-5.6
* 'bug-65538' of https://github.com/rdlowrey/php-src:
  Add tests for Bug #65538
  Fix Bug #65538 (cafile now supports stream wrappers)
2014-02-19 04:17:33 -07:00
Daniel Lowrey d9036d14f7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Skip failing tests when EC unavailable (RHEL)
2014-02-19 04:01:57 -07:00
Anatol Belski 3e82ff615f updated NEWS 2014-02-19 11:28:55 +01:00
Anatol Belski 6b5c9f6c5a updated libmagic.patch 2014-02-19 11:20:24 +01:00
Anatol Belski fdaf3996af remove PHP_API_VERSION < 20100412 check 2014-02-19 11:01:42 +01:00
Anatol Belski 6d2cf0f2a4 expose correct libmagic version 2014-02-19 10:48:52 +01:00
Anatol Belski 4019531748 fixed tests in ext/fileinfo 2014-02-19 10:04:29 +01:00
Anatol Belski 967a6771d3 updated to libmagic-5.17 2014-02-19 10:02:36 +01:00
krakjoe 996182993d remove input_t
support single char aliases
...
2014-02-19 08:33:54 +00:00
krakjoe e2e93ac259 work on parameters to commands 2014-02-19 00:33:49 +00:00
Bob Weinand 366bf38b4f Oplines run from 0 to op_array->last - 1
See also in issue 76
2014-02-19 01:13:03 +01:00
krakjoe 1952750af6 ... 2014-02-18 20:04:02 +00:00
krakjoe e392e730ea execute new stack now 2014-02-18 19:48:33 +00:00
Anatol Belski e95a2925fc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libmagic.patch
2014-02-18 19:09:04 +01:00
Stanislav Malyshev 54b1829f75 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  update news with CVE
  5.5.11-dev next
  5.5.11 next for NEWS

Conflicts:
	configure.in
	main/php_version.h
2014-02-18 08:48:52 -08:00
Remi Collet aa84d906d8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Set fileinfo version to 1.0.5 (as in php 5.4, no diff)
  NEWS
  NEWS
  Fixed Bug #66731 file: infinite recursion
2014-02-18 13:58:36 +01:00
krakjoe 29e74ebf65 Merge branch 'master' of https://github.com/krakjoe/phpdbg into lexer 2014-02-18 09:13:50 +00:00
krakjoe 8da9b7e3a2 fix #70 2014-02-18 09:13:42 +00:00
krakjoe 07dafa8940 Merge branch 'master' of https://github.com/krakjoe/phpdbg into lexer 2014-02-18 08:47:25 +00:00
krakjoe 791828d00c fix zpp issues #74 2014-02-18 08:47:15 +00:00
krakjoe 0634f176a8 Merge branch 'master' of https://github.com/krakjoe/phpdbg into lexer 2014-02-18 08:40:42 +00:00
krakjoe 0b19b9dd0c fix #75 phpdbg disabled by default 2014-02-18 08:40:33 +00:00
krakjoe cadc909bb7 use correct param types 2014-02-18 08:39:38 +00:00
Stanislav Malyshev 140769a9d9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.27 now
  update NEWS
2014-02-17 21:22:24 -08:00
Sara Golemon 1e752ce9c5 Add __debugInfo() magic method
class Foo {
  private $val = 'Random, meaningless data';

  public function count() { return 42; }

  public function __debugInfo() {
    return ['count' => $this->count()];
  }
}

$f = new Foo;
var_dump($f);
2014-02-17 19:33:56 -08:00
Daniel Lowrey 4e4d319e62 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed broken build when EC unavailable
2014-02-17 19:38:49 -05:00
krakjoe d980101803 start work on resolving commands, add numeric function and method to lexer 2014-02-17 22:43:53 +00:00
Andrey Hristov 3e59f041da remove dead code 2014-02-17 19:04:01 +02:00
Andrey Hristov b2cd56c3cb Move code out, that handles the actual structure to be used for the decoded
data. Will make it easier to add different structures
2014-02-17 18:37:08 +02:00
Julien Pauli 0bc96ef3cc Updated NEWS for #65753 2014-02-17 11:16:32 +01:00
Julien Pauli e19e266ae1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS for #65753
  Updated NEWS for #65753
  Export JsonSerializable Interface (bug #65753)
2014-02-17 11:13:54 +01:00
Julien Pauli 8a1d248d4e Export JsonSerializable Interface (bug #65753) 2014-02-17 10:38:51 +01:00
Anatol Belski 6877af3f71 simplify the metadata part 2014-02-17 10:20:36 +01:00
krakjoe 1641d2afbe case insensitivity where we can
additional param types
2014-02-17 08:53:47 +00:00
krakjoe 1fce0887a3 Merge branch 'master' of https://github.com/krakjoe/phpdbg into lexer 2014-02-17 07:40:35 +00:00
Scott MacVicar 796bfb0bd0 imagettftext() uses the last charactermap it found and not the one you want
Summary:
This caused issues when you picked a font with multiple maps, it wouldn't
pick the unicode version but instead pick the last one it saw. Change so
we cache on a per encoding level. There was even a todo list item in the code.

In an ideal world we can probably iterate through at font write time.

Test Plan:
See said unit test, it's Apache Licensed font included
2014-02-16 22:49:31 -08:00
Scott MacVicar 1f3af9cd21 [libxml] Unit test for libxml_disable_entity_loader()
Summary:
Test to make sure libxml_disable_entity_loader() is behaving.
2014-02-16 22:34:52 -08:00
Yasuo Ohgaki e5ec5fc9cc Add pgsql related change information to NEWS and UPGRADING 2014-02-17 10:13:44 +09:00
krakjoe 3cabee71ab ... 2014-02-16 23:17:16 +00:00
krakjoe 4af3e39147 improve error reporting 2014-02-16 23:12:24 +00:00
krakjoe ff95046b76 ... 2014-02-16 22:54:43 +00:00
krakjoe c3bf5dc904 modify command to parse arguments with lexer for testingz 2014-02-16 22:47:20 +00:00
krakjoe d392de0ff7 fix lexer for namespaced methods 2014-02-16 21:52:25 +00:00
krakjoe a9e0202a5d remove leaks from stack
traverse the other way
fix id regex, thanks @bwoebi
2014-02-16 21:38:55 +00:00
Yasuo Ohgaki d8aa130296 Imprement FR #25854 Return value for pg_insert should be resource instead of bool 2014-02-17 06:36:54 +09:00
Yasuo Ohgaki 5fd6365c77 Implement FR #41146 - Add "description" with exteneded flag pg_meta_data().
pg_meta_data(resource $conn, string $table [, bool extended])
It also made pg_meta_data() return "is enum" always.
2014-02-17 06:24:10 +09:00
krakjoe c744605dc7 build stack from command line 2014-02-16 19:25:15 +00:00
Bob Weinand f89f66d762 removed warning; WS 2014-02-16 17:41:50 +01:00
Daniel Lowrey 2a83295b14 Add tests for Bug #65538 2014-02-16 09:20:43 -07:00
Anatol Belski a9c0d319eb updated pgsql/config.w32
keep track with the latest changes for postgles 9.3 compatibility
2014-02-16 17:13:56 +01:00
Bob Weinand 7b44890ac4 Merge pull request #73 from TerryE/new-help
New help updates
2014-02-16 17:09:15 +01:00
Daniel Lowrey c7220dc6c5 Fix Bug #65538 (cafile now supports stream wrappers) 2014-02-16 08:47:37 -07:00
Yasuo Ohgaki 170db1c577 Travis has old PostgreSQL server. Avoid test error. 2014-02-16 18:08:50 +09:00
Yasuo Ohgaki 4a2b39269f It seems travis needs ending >? 2014-02-16 16:40:58 +09:00
Yasuo Ohgaki d4bc18bbe8 Add PGSQL_DML_ESCPE 2014-02-16 14:24:20 +09:00
Yasuo Ohgaki a59559a173 Update NEWS and UPGRADING 2014-02-16 14:21:05 +09:00
Yasuo Ohgaki 56854511d8 EXPERIMENTAL flags for pg_select/pg_insert/pg_update/pg_delete are removed.
Use string escape for exotic types that allows to handle any data types. i.e. Array, JSON, JSONB, etc will work.
Add escape only query for better performance which removes meta data look up. Limitations forced by pg_convert() can be avoided with this. PGSQL_DML_ESCAPE constant is added for it.
2014-02-16 14:11:21 +09:00
Yasuo Ohgaki 53daf94f28 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Remove XFAIL from a test
  Declare a number of functions as variadic.
2014-02-16 10:53:49 +09:00
Yasuo Ohgaki 3f4134c00c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed possbile injections against pg_insert()/pg_delete()/pg_update()/pg_select()
2014-02-16 10:47:32 +09:00
krakjoe 5f89934686 Revert "handle strings better"
This reverts commit a32f1b4654.
2014-02-15 23:34:35 +00:00
Nikita Popov 7d5f806e77 Remove XFAIL from a test
Everything looks to be working fine, the test is just wrong.
INF equals INF as per IEEE 754.
2014-02-16 00:07:55 +01:00
Rouven Weßling 417dbfbacc Declare a number of functions as variadic. 2014-02-16 00:07:55 +01:00
krakjoe a32f1b4654 handle strings better 2014-02-15 22:53:20 +00:00
Yasuo Ohgaki a12c896dba Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Refactor build_tablename()
2014-02-16 07:52:00 +09:00
Yasuo Ohgaki 53f34bca76 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Revise encoding blacklist
2014-02-16 06:25:15 +09:00
krakjoe cdf1dcc497 barf on unexpected input 2014-02-15 20:05:44 +00:00
krakjoe a01853de78 betterness 2014-02-15 19:51:39 +00:00
Johannes Schlüter 1fd53fd2ae Move static functions further up so they are delared efore being used. 2014-02-15 20:05:46 +01:00
Felipe Pena 8cec20a565 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Fix ZTS build when HAVE_PQESCAPELITERAL is not set
  Update NEWS
  Update NEWS
2014-02-15 11:05:25 -02:00
Yasuo Ohgaki 5ff9089aeb Merge branch 'PHP-5.5' into PHP-5.6 2014-02-15 18:30:11 +09:00
krakjoe 5778e010b7 have a go at writing lexer for input 2014-02-15 04:52:04 +00:00
Daniel Lowrey 2976f7dae7 Update NEWS 2014-02-14 21:44:05 -07:00
Daniel Lowrey b60cb2b88a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix for bug66501 - "key type not supported in this PHP build"
2014-02-14 18:20:01 -07:00
Daniel Lowrey 734d887b40 Merge branch 'bug-47030' of https://github.com/rdlowrey/php-src into PHP-5.6
* 'bug-47030' of https://github.com/rdlowrey/php-src:
  Bug #47030 (separate host and peer verification)
2014-02-14 15:37:49 -07:00
Daniel Lowrey ce8dc0ede2 Bug #47030 (separate host and peer verification) 2014-02-14 15:17:30 -07:00
Daniel Lowrey f073588e75 Fix test broken if openssl is compiled without sslv2 2014-02-14 13:39:02 -07:00
Daniel Lowrey 81c29af865 Updated NEWS 2014-02-14 10:26:42 -07:00
Daniel Lowrey 8582353700 Fix segfault accessing context when no context assigned 2014-02-14 10:24:08 -07:00
Veres Lajos 57294d6824 a few typofixes 2014-02-14 17:16:17 +02:00
Veres Lajos a7ec000f35 a few typofixes 2014-02-14 17:16:17 +02:00
Lior Kaplan 23d952ed60 Merge branch 'PHP-5.5' into PHP-5.6 2014-02-14 17:15:35 +02:00
Yasuo Ohgaki 71b8f59ebb Update NEWS and UPGRADING 2014-02-14 08:56:39 +09:00
Ferenc Kovacs 91fecd7673 move the peer verification NEWS entry to the alpha2 block, as it was pushed after alpha1 2014-02-14 00:22:31 +01:00
Ferenc Kovacs 2537fdf0c8 mention ldap_modify_batch() 2014-02-13 23:21:28 +01:00
Bob Weinand 0dc1072a19 Fix issue 72 (too much whitespace in config.m4) 2014-02-13 20:42:54 +01:00
Yasuo Ohgaki cbd108abf1 Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
Ferenc Kovacs 06bbfe1e2a update the alpha2 release date 2014-02-12 06:39:10 +01:00
Derick Rethans 45772c7784 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-02-11 11:31:57 +00:00
Derick Rethans 75f59e148c Merge branch 'PHP-5.5' into PHP-5.6 2014-02-11 11:31:06 +00:00
Derick Rethans 9fa6bcd8cb Merge branch 'PHP-5.5' into PHP-5.6 2014-02-09 15:57:43 -05:00
Terry Ellison 21c973d3de More update to help text on parameter typing 2014-02-09 15:04:13 +00:00
Nuno Lopes f46200bcc0 fix regex to detect valgrind version
New PCRE version got stricter
2014-02-08 07:06:44 -05:00
Bob Weinand 363ff60475 Fixed memory leak in pow operator 2014-02-06 21:31:40 +01:00
Bob Weinand b0273e749c Fix issue 68 (made check win only) 2014-02-06 20:43:17 +01:00
Bob Weinand 7a022da23b Added information in NEWS and UPGRADING 2014-02-06 14:45:22 +01:00
datibbaw aff56f3c45 add T_POW (**) operator
Fixed recognition of the operator

Added opcode, still doing multiply instead of pow()

opcode now always returns int(42)

The right answer, but always a float

Yanked code from pow() implementation.

Should not handle negative long as exponent ourselves

Added test cases from pow()

Moved precedence higher than '~'

Added GMP operator overloading

Added ZEND_ASSIGN_POW (**=) operator.

Added pow() as a language construct.

Adjusted test cases for changed precedence.

Reduced pow() to shell function around ZEND_API pow_function()

Reduced test case to only contain edge cases
Added overloading test case

Moved unary minus above T_POW

Revert "Added pow() as a language construct."

Bad bad bad idea.

This reverts commit f60b98cf7a8371233d800a6faa286ddba4432d02.

Reverted unary minus behaviour due to previous revert.
Convert arrays to int(0)
Exponent with array as a base becomes int(0)

Rebase against master

Fixed tokenizer test case
2014-02-06 14:41:21 +01:00
Ferenc Kovacs df76fd8997 add NEWS block for 5.6.0alpha3 2014-02-06 13:48:57 +01:00
Anatol Belski b33060af82 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated libs_version.txt
  update libs_version.txt
2014-02-06 09:17:54 +01:00
Anatol Belski 10a806ba8f updated libs_version.txt 2014-02-06 09:15:28 +01:00
Anatol Belski 65f9380a3f more tests for ICU >= 52.1 compat 2014-02-05 20:13:48 +01:00
Anatol Belski e8f16c1792 fix tests for ICU >= 52.1 2014-02-05 19:25:14 +01:00
Hannes Magnusson ae310e078d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix year
2014-02-05 10:17:49 -08:00
Anatol Belski 5180425ca9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  adapt test to curl 7.35.0 upgrade
2014-02-05 15:17:30 +01:00
Anatol Belski 3c1ba1f263 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  move the NEWS entry into the right section
2014-02-05 10:52:00 +01:00
Daniel Lowrey 99fa59054d Fixed SNI failure from missing Z_STRVAL_PP 2014-02-04 19:11:56 -07:00
Terry Ellison ebdfef807a Update help content and refactor new routine in php_help.c
*  I've added more content to the help to expand desciption for new-to-phpdbg
   developers.

*  After a code review of the new routines that I've added to the help module,
   I've decided that the implementation was unnecessarily convolved and that
   Keep-It-Simple-Stupid would be more understandable, maintainable and have
   no material performance hit.
2014-02-05 00:04:21 +00:00
Anatol Belski 78815f9034 updated NEWS 2014-02-04 10:39:18 +01:00
Anatol Belski b052ae9292 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
2014-02-04 10:38:46 +01:00
Anatol Belski f2d42e1624 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  pcre tests go with 8.34 upgrade
2014-02-04 10:34:51 +01:00
Anatol Belski 353e2643ab Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  pcre upgraded to 8.34
2014-02-04 10:31:52 +01:00
Ferenc Kovacs 5d3a2fde24 mention the openssl SPKAC functions commited to master before branching out 5.6. see https://github.com/php/php-src/pull/267 2014-02-03 04:20:16 +01:00
Terry Ellison 88bd558a73 Work in progress chekpoint of changes to help module. To allow peer review and feedback 2014-02-02 16:35:28 +00:00
krakjoe 891477dc1c windows 2014-02-02 15:16:01 +00:00
krakjoe 2462d2764a windows 2014-02-02 15:14:25 +00:00
krakjoe 148d7cc103 windows 2014-02-02 15:14:25 +00:00
krakjoe f1a6ca29fb clean symbols 2014-02-02 15:10:17 +00:00
krakjoe 407d761d09 clean symbols 2014-02-02 15:10:17 +00:00
krakjoe d260b5d240 another patch from upstream 2014-02-02 14:58:39 +00:00
krakjoe e8519bc207 another patch from upstream 2014-02-02 14:58:39 +00:00
krakjoe f88ff6c661 woops 2014-02-02 14:51:30 +00:00
krakjoe 395a936397 woops 2014-02-02 14:50:32 +00:00
krakjoe 6a6bec44ad woops 2014-02-02 14:50:32 +00:00
krakjoe 1deeec0ba8 better use of tmpnam/mkstemp 2014-02-02 14:42:31 +00:00
krakjoe 9e84124e2d better use of tmpnam/mkstemp 2014-02-02 14:42:31 +00:00
krakjoe 0c94f8a893 ... 2014-02-02 14:41:51 +00:00
krakjoe 591e64ff58 update version 2014-02-02 14:04:47 +00:00
krakjoe 4a96a75c7d update version 2014-02-02 14:04:47 +00:00
krakjoe 270e487d41 remove use of zend directly, avoid leaks/bugs in modules etc 2014-02-02 13:43:43 +00:00
krakjoe a58c74f1c7 remove use of zend directly, avoid leaks/bugs in modules etc 2014-02-02 13:43:43 +00:00
krakjoe a4a120d66a Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6 2014-02-02 13:42:01 +00:00
krakjoe e55bd70643 scrap using zend directly, too many leaks/bugs 2014-02-02 13:29:34 +00:00
Daniel Lowrey 05c309f2d8 Remove #if PHP_VERSION_ID version checks 2014-02-01 08:01:13 -07:00
Daniel Lowrey 58293fb533 Use master-agnostic zend_is_true checks 2014-01-31 14:18:31 -07:00
Dmitry Panin cb7af767ec Make html_table_gen consistent with html_table.h
In commit 6dabd7de04 the html_table.h was changed manually,
without changing the underlying generator (html_table_gen.php).
This commit fixes it.
2014-01-30 02:07:08 -08:00
Christopher Jones 9da5118af8 Fix merge 2014-02-10 17:04:38 -08:00
Christopher Jones 2cbd857283 Add Oracle PL/SQL BOOLEAN type support to oci_bind_by_name() 2014-02-10 15:00:42 -08:00
Stanislav Malyshev 1207461d14 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  tests still failing, so xfail for now until fixed
  tests still failing, so xfail for now until fixed
2014-01-29 23:48:34 -08:00
Stanislav Malyshev 8071de3dfd tests still failing, so xfail for now until fixed 2014-01-29 23:48:33 -08:00
Yasuo Ohgaki 53e3023566 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug data->fd not set to -1 for open_basedir failure.
2014-01-30 14:16:47 +09:00
Daniel Lowrey 43432c12f1 Fixed build breakage from b4b4d9697f 2014-01-29 17:57:59 -07:00
Andrey Hristov 253a66c8d5 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-01-29 15:28:47 +02:00
Andrey Hristov 7807d7d0ce Add new INI for rollbacking connections put back into the pconn pool
as well a function get the the statistics in easier way than ob_start()
and parsing phpinfo().
2014-01-29 15:27:43 +02:00
Remi Collet f06f4c9254 zip extension version 1.12.4 2014-01-29 14:00:50 +01:00
Remi Collet 0fad6dbef3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Request #66574 Allow multiple paths in php_ini_scanned_path
2014-01-29 09:57:04 +01:00
krakjoe 261a5305c6 fix bugsnet #66591 and github #60 2014-01-29 07:28:54 +00:00
Yasuo Ohgaki a6ac64bdbb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed zend.multibyte tests partially
2014-01-29 15:53:57 +09:00
Daniel Lowrey 7a90254231 Update NEWS/UPGRADING 2014-01-28 10:27:00 -07:00
krakjoe c768abd420 fix bugsnet #66594, thanks ondrej@php.net 2014-01-28 17:23:29 +00:00
Daniel Lowrey b4b4d9697f Verify peers by default in client socket operations 2014-01-28 10:05:56 -07:00
Andrey Hristov 79ab514f0c Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-01-28 15:56:17 +02:00
Andrey Hristov c1141d43e9 Merge branch 'PHP-5.5' into PHP-5.6 2014-01-28 15:38:14 +02:00
Bob Weinand 18c2d45006 Merge branch 'PHP-5.5' into PHP-5.6 2014-01-28 13:34:33 +01:00
Anatol Belski 07f3bac6ca fix *.dsp files related to bug #50333 2014-01-28 13:09:29 +01:00
Daniel Lowrey fc36908c88 Update NEWS/UPGRADING 2014-01-27 14:58:04 -07:00
Daniel Lowrey 68883318aa Prevent invalid SAN peer verification on null byte prefix attack 2014-01-27 14:51:22 -07:00
Yasuo Ohgaki a63c095033 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Remove obsolete description

Conflicts:
	php.ini-development
	php.ini-production
2014-01-27 18:57:45 +09:00
krakjoe 1c0fccfc9a fix readline build error bugsnet #66576 2014-01-27 07:39:34 +00:00
Stanislav Malyshev 223a62d69e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix English and improve by Stas. Thanks :)
  Update source docs
  Revert "Update source docs"
  Update source docs

Conflicts:
	README.EXTENSIONS
2014-01-26 17:21:14 -08:00
Stanislav Malyshev 561317898c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  drop precision since trigonometric functions are non-portable
  XFAIL multibyte tests until they are fixed (bug 66582)
2014-01-26 15:51:38 -08:00
Stanislav Malyshev 2fac5e5669 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  drop precision since trigonometric functions are non-portable
2014-01-26 15:15:50 -08:00
Stanislav Malyshev de62be2682 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  XFAIL multibyte tests until they are fixed (bug 66582)
2014-01-26 15:12:19 -08:00
Stanislav Malyshev c2bb54a246 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2014-01-26 14:31:32 -08:00
Stanislav Malyshev e52c332b38 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2014-01-26 14:26:01 -08:00
Stanislav Malyshev 54c1e28a39 fix test 2014-01-26 14:25:49 -08:00
Stanislav Malyshev d78c40d25d fix test - new flag ZEND_ACC_HAS_TYPE_HINTS 2014-01-26 12:17:09 -08:00
Derick Rethans 2e65908643 Merge branch 'PHP-5.5' into PHP-5.6 2014-01-26 14:02:44 +01:00
Stanislav Malyshev 6d6850b3b8 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test bug62479.phpt
2014-01-25 23:27:21 -08:00
Stanislav Malyshev ea0769f00e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Implement ldap_modify_batch.
2014-01-25 22:04:39 -08:00
Derick Rethans 0f79cc6eae Merge branch 'PHP-5.5' into PHP-5.6 2014-01-25 16:16:34 +01:00
Ferenc Kovacs fba2756631 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix the primary qa email address and update the list of available people being able to add moderators to our lists
  Revert "Fix #62479: Some chars not parsed in passwords"
  Fix #62479: Some chars not parsed in passwords
2014-01-24 16:12:33 +01:00
Andrey Hristov 350b5dddac WS 2014-01-24 12:31:19 +02:00
Andrey Hristov cd2cc7b8f9 Reduce code duplication a bit 2014-01-24 11:52:35 +02:00
Andrey Hristov c1b2f1aa13 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2014-01-24 11:39:42 +02:00
Andrey Hristov 0c90c207a7 Backport refactoring from php-src 2014-01-24 11:39:24 +02:00
Xinchen Hui aba775fd34 Fixed warning "No new line at end of file" 2014-01-24 10:50:41 +08:00
Will Fitch a9b40a20fc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update gitignore and Makefile for additional entries
2014-01-23 21:35:24 -05:00
Anatol Belski 698b04270e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  refixed that test for 5.5+
  5.5.10 next
2014-01-22 23:30:52 +01:00
Anatol Belski f8e9f84a97 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed test
2014-01-22 15:40:58 +01:00
Anatol Belski ca27c86110 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix zts
2014-01-22 12:05:06 +01:00
Anatol Belski 4247f624cb Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed missing usleep() prototype in pgsql
2014-01-22 11:53:56 +01:00
Yasuo Ohgaki 3cc6c6c587 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed previous commit may delete unwanted cookies.
  Re-fixed bug #66469
2014-01-22 19:23:17 +09:00
Yasuo Ohgaki 26a2bed185 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Re-fixed bug #66469
2014-01-22 13:47:55 +09:00
Stanislav Malyshev 34ad83857b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix CVE ref for bug #66060
  fix CVE ref for bug #66060
  fix buglet in makedist
  5.4.26 next
  fix news
2014-01-21 13:28:32 -08:00
Anatol Belski 6e3fae4390 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed post deactivate signature in ext\libxml
2014-01-21 17:14:56 +01:00
Johannes Schlüter 4d43e2efdb Merge branch 'PHP-5.5' into PHP-5.6 2014-01-21 16:38:32 +01:00
David Soria Parra e9ae3cb964 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Change automaticaly to automatically
2014-01-21 16:20:08 +01:00
Ferenc Kovacs 5817111b63 starting a new NEWS section for alpha2 2014-01-21 11:20:40 +01:00
Ferenc Kovacs 425dbe55ef Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix these tests so they properly clean up after themselves.
2014-01-21 02:28:49 +01:00
Will Fitch 6e7d132b7a Updating NEWS with 66509 change 2014-01-20 12:18:20 -05:00
Remi Collet 0290b10272 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Skip those test which fails on ARM architecture
  dos2unix
2014-01-20 14:44:32 +01:00
Xinchen Hui dc5f36ffe1 Merge branch 'PHP-5.5' into PHP-5.6 2014-01-20 21:25:26 +08:00
Anatol Belski 8dd44fee08 fixed glob compilation with vc12 2014-01-20 10:11:31 +01:00
Anatol Belski 379f4c0ceb support for Visual C+ 2013 2014-01-20 10:04:20 +01:00
Remi Collet 0401226d93 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Skip readline tests which fail with libedit Add specific libedit test (output slightly differs)
2014-01-20 09:39:29 +01:00
Remi Collet 91513097ca Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Bug #66412 readline_clear_history() with libedit causes segfault after #65714
2014-01-20 08:40:39 +01:00
Bob Weinand 2e4aed3673 Merge branch PHP-5.6 of php-src 2014-01-19 12:26:14 +01:00
Yasuo Ohgaki fb7e25d2e0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Enable zend.multibyte tests. Tipcal configuration works, but most tests fail.
2014-01-19 13:32:35 +09:00
Bob Weinand ab16299355 Removed some segfault; does still not delete all the watches if var is removed, might segfault 2014-01-18 20:36:56 -05:00
Anatol Belski 137feda86a fix C89 compat 2014-01-19 02:05:10 +01:00
Anatol Belski 12c1cfbf8f fix C89 compat 2014-01-19 02:05:10 +01:00
Will Fitch fb2091b1d4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #62479: Some chars not parsed in passwords
2014-01-18 19:41:45 -05:00
Bob Weinand 3714352cb1 Merge branch 'master' of ssh://github.com/krakjoe/phpdbg into watchpoints_recursive 2014-01-18 19:30:13 -05:00
Bob Weinand f27be2fded Fixed order of instructions... 2014-01-18 19:24:22 -05:00
Bob Weinand 992a8d0411 Clean root symbol table when starting new execution 2014-01-18 18:48:53 -05:00
Bob Weinand b12286461d Merge branch 'master' of ssh://github.com/krakjoe/phpdbg 2014-01-18 13:18:47 -05:00
Bob Weinand a1f5925652 Fixed that for example "run" is only set as last cmd after the whole execution 2014-01-18 13:18:28 -05:00
Will Fitch a540c57331 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #66509: copy() arginfo incorrect since 5.4
2014-01-18 11:56:22 -05:00
Nikita Popov 31a2ac470c Fix argument unpacking across stack pages
If multiple unpacks were used (or mixed with normal arguments)
parts of the arguments could land on different stack pages. If
this occurs the arguments will now be copied to a new stack page.

The code used to do this is copied verbatim from the PHP 5.4 branch
and only modified to reduce the amount of inlined code.
2014-01-18 14:41:33 +01:00
Johannes Schlüter 2dd38009ca Merge branch 'phpdbg' into PHP-5.6 2014-01-18 13:52:27 +01:00
Johannes Schlüter 8ff4d61f08 Merge branch 'phpdbg' into PHP-5.6 2014-01-18 13:52:27 +01:00
Bob Weinand f4a7e50156 Update year 2014-01-17 23:09:07 +01:00
krakjoe c205a6f3de zts fix 2014-01-17 21:20:19 +00:00
krakjoe 18f31d474e ... 2014-01-17 21:15:03 +00:00
krakjoe 54fa2883f0 remove goto from zend_try/zend_end_try/zend_catch blocks 2014-01-17 21:08:35 +00:00
Adam Harvey 43a8f4f814 Add a couple of missing items to UPGRADING.
Usual grumble about please ensuring UPGRADING gets updated goes here. :)
2014-01-17 20:28:49 +08:00
Michael Wallner 03386d1786 Clarify always_populate_raw_post_data situation in 5.6 2014-01-17 12:18:16 +01:00
Anatol Belski b58dbefba0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  added appropriate exception handling flag to ext\intl
  Update NEWS
2014-01-17 11:08:02 +01:00
Antony Dovgal 98e6c8ca2d fix indentation 2014-01-17 12:49:21 +04:00
Gernot Vormayr dff0d51243 Add some basic and apparmor tests to fpm 2014-01-17 12:49:07 +04:00
Gernot Vormayr e3d3283405 Add --force-stderr to fpm 2014-01-17 12:49:00 +04:00
Gernot Vormayr f6d137a716 Add apparmor change hat functionality to fpm 2014-01-17 12:48:33 +04:00
Anatol Belski 8b703e9ee0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  forked the test for bug #66481
2014-01-17 03:32:06 +01:00
krakjoe 837bd24dea fix #50 2014-01-16 20:10:30 +00:00
Xinchen Hui bfcdd67865 Merge branch 'PHP-5.5' into PHP-5.6 2014-01-16 14:42:04 +08:00
Yasuo Ohgaki 518327f7e3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Bug #66481 Segfaults on session_name()
2014-01-16 11:35:11 +09:00
Dmitry Stogov 299d893f0a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Log information about cached scripts and keys
2014-01-15 12:15:25 +04:00
Dmitry Stogov 77bc5b8bae We don't know PHP_5_6_X_API_NO yet 2014-01-15 11:09:38 +04:00
Yasuo Ohgaki 28be6aea9c Added pg_lo_truncate() and 64bit large object support from PostgreSQL 9.3 and up 2014-01-15 14:37:24 +09:00
Yasuo Ohgaki c58329fccc Always initialize pg_version() result array elements to prevent failed test with older postgresql servers. Add missing client_encoding element. 2014-01-15 14:27:33 +09:00
Yasuo Ohgaki d0924c2500 Fixed pg_version() crash with older postgresql 2014-01-15 13:32:15 +09:00
Yasuo Ohgaki 167eaedcbd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed session module is sending multiple set-cookie headers when session.use_strict_mode=1
2014-01-15 11:07:10 +09:00
Nikita Popov a5ee337156 Fixed arguments unpacking segfault with opcache 2014-01-14 22:34:08 +08:00
Yasuo Ohgaki 58dff7cee5 Made pg_version() return full connection info. 2014-01-14 10:10:48 +09:00
krakjoe 231a1c401b issues raised in #46, don't quit on CTRL+C if not executing 2014-01-13 20:16:50 +00:00
Dmitry Stogov 029d019dac Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed ZTS build
2014-01-13 23:10:35 +04:00
Anatol Belski 9b2dc009b2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  forked test for win32
2014-01-13 17:12:53 +01:00
Dmitry Stogov 7864fcaec9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66461 (PHP crashes if opcache.interned_strings_buffer=0)

Conflicts:
	NEWS
2014-01-13 18:06:49 +04:00
Dmitry Stogov 9b74dc4a07 Fixed bug #66440 (Optimisation of conditional JMPs based on pre-evaluate constant function calls) 2014-01-13 16:16:23 +04:00
Dmitry Stogov ca550248f1 Fixed bug #66471 (Keep backward compatibility) 2014-01-13 15:34:25 +04:00
krakjoe c645e5043e patch version 2014-01-13 08:19:37 +00:00
krakjoe 1ba3ff157e fix #46 ignore EOF 2014-01-13 08:14:04 +00:00
krakjoe 9add0e9f5c Revert "fix #46 ignore EOF"
This reverts commit 333264fdb7.
2014-01-13 08:12:49 +00:00
cyanogenmod 333264fdb7 fix #46 ignore EOF 2014-01-13 08:11:09 +00:00
Dmitry Stogov d09d64c15c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66474 (Optimizer bug in constant string to boolean conversion)

Conflicts:
	NEWS
2014-01-13 12:07:50 +04:00
Bob Weinand 66e93a7820 Merge branch 'master' of ssh://github.com/krakjoe/phpdbg into watchpoints_recursive
Conflicts:
	phpdbg.c
2014-01-12 20:40:54 -05:00
krakjoe 7d51e47eda work on #46 (handle quit local consoles gracefully) 2014-01-12 16:48:10 +00:00
Bob Weinand 69edad213a Fixed build (making zend_is_by_ref_func_arg_fetch function static) 2014-01-12 01:59:22 +01:00
Nikita Popov 2c47dfbaeb Implement argument unpacking
RFC: https://wiki.php.net/rfc/argument_unpacking
2014-01-11 12:42:08 +01:00
Nikita Popov c7bb283338 Minor cleanup in zend_do_pass_param() 2014-01-11 12:40:16 +01:00
Bob Weinand 78e274af31 Added rudimentary support for watchpoints on an array itself 2014-01-10 13:54:07 -05:00
Johannes Schlüter 45d46d7edd Merge branch 'PHP-5.5' into PHP-5.6 2014-01-10 16:02:46 +01:00
Anatol Belski ec89e6bfe2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed EOL in the test
2014-01-09 15:28:47 +01:00
Anatol Belski 4fe9a5d611 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  added testcase from bug #65371
2014-01-09 15:24:55 +01:00
Dmitry Stogov f16a4bc203 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed ADD_INTERNED_STRING() logic to support strings that are already interned. (Terry)
2014-01-09 13:49:54 +04:00
Anatol Belski 61e1f79585 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  one more extension for the basename test
2014-01-05 19:21:49 +01:00
Anatol Belski e5dd5d0ad4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  improved the fix for bug #66395
  updated NEWS
  Fixed bug #66009 Failed compilation of PHP extension with C++ std library using VS 2012
2014-01-05 19:13:15 +01:00
Anatol Belski 4e7c9ea896 Fixed bug #66009 Failed compilation of PHP extension with C++ std library using VS 2012
Visual Studio 2012 includes sanity checks for C++11 features, see
http://msdn.microsoft.com/en-us/library/vstudio/bb531344(v=vs.110).aspx
To fix the 'inline' keyword redefinition for C++ in debug mode, the
new macros ZEND_WIN32_KEEP_INLINE is introduced, ZEND_WIN32_FORCE_INLINE is
automatically appended in release mode.
2014-01-04 01:41:27 +01:00
Nikita Popov 72a16851f4 Merge branch 'PHP-5.5' into PHP-5.6 2014-01-04 01:29:15 +01:00
Anatol Belski 169d66e0c6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
2014-01-03 22:44:46 +01:00
Anatol Belski f0100261e1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66395 basename function doesn't remove drive letter
2014-01-03 22:38:47 +01:00
Xinchen Hui 4e2ae5f5ca Here need to be str_efree
found by ext/standard/tests/general_functions/phpinfo2.php fails
2014-01-03 11:36:50 +08:00
Xinchen Hui 75bad44801 Bump year 2014-01-03 11:08:10 +08:00
Xinchen Hui c081ce628f Bump year 2014-01-03 11:08:10 +08:00
Xinchen Hui b5f245db37 Merge branch 'PHP-5.5' into PHP-5.6 2014-01-03 11:08:06 +08:00
Derick Rethans 68c9f5d84c Merge branch 'PHP-5.5' into PHP-5.6 2014-01-02 12:52:20 +00:00
Derick Rethans 110b7dcfb8 Merge branch 'PHP-5.5' into PHP-5.6 2014-01-02 12:47:44 +00:00
krakjoe 8a7e2f8dd2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix #66375 bad logic in sapi header callback routine
2014-01-01 13:01:06 +00:00
Felipe Pena 37897e258d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Fixed bug #66381 (__ss_family was changed on AIX 5.3)
2014-01-01 09:56:49 -02:00
Bob Weinand f4eeda9a9b First try of recursive watchpoints 2013-12-31 13:14:36 -05:00
Bob Weinand c64d692f49 Merge branch 'master' into watchpoints
Conflicts:
	CREDITS
	phpdbg.c
	test.php
2013-12-31 12:07:10 -05:00
Nikita Popov 5408f1e5a6 Throw warning when converting invalid string to GMP 2013-12-30 14:38:09 +01:00
Michael Wallner feb4caad09 update php.ini-* 2013-12-30 14:28:43 +01:00
Michael Wallner 4797f7ad16 Add E_DEPRECATED when populating $HTTP_RAW_POST_DATA 2013-12-30 14:28:43 +01:00
Michael Wallner 729f85fad7 add 'never' 2013-12-30 14:28:43 +01:00
Michael Wallner 7762de4022 fix type 2013-12-30 14:28:43 +01:00
Michael Wallner cea59a74a7 fix type; add tests for -1 2013-12-30 14:28:42 +01:00
Michael Wallner 4153c23efa s/BOOLEAN/ENTRY/ 2013-12-30 14:28:42 +01:00
Michael Wallner 3641507fc1 re-introduce always_populate_raw_post_data 2013-12-30 14:28:42 +01:00
Nikita Popov 71a36fb6ae Merge branch 'PHP-5.5' into PHP-5.6 2013-12-30 13:58:29 +01:00
Remi Collet 33ef788abd missing file from libzip 0.11.2 2013-12-30 10:00:02 +01:00
Remi Collet 3a492cf686 fix compat for PHP ABI changes 2013-12-30 08:47:16 +01:00
Remi Collet 41cdb132c8 NEWS 2013-12-30 07:45:09 +01:00
Remi Collet 0a950a0500 Sync with pecl/zip 1.12.4dev
- update bunled libzip to 0.11.2
- expose zip_file_set_external_attributes + zip_file_get_external_attributes
  with new methods:
	ZipArchive::setExternalAttributesName
	ZipArchive::setExternalAttributesIndex
	ZipArchive::getExternalAttributesName
	ZipArchive::getExternalAttributesIndex
2013-12-30 07:35:30 +01:00
Xinchen Hui 5a756afcf1 Merge branch 'PHP-5.5' into PHP-5.6 2013-12-30 11:07:37 +08:00
Xinchen Hui 31d4d11432 Fix one more test in dos style eol 2013-12-30 10:58:40 +08:00
Xinchen Hui f204df9a7f Merge branch 'PHP-5.5' into PHP-5.6 2013-12-30 10:58:23 +08:00
Xinchen Hui a88543a106 Fixed bug #66298 (ext/opcache/Optimizer/zend_optimizer.c has dos-style ^M as lineend) 2013-12-30 10:51:47 +08:00
Xinchen Hui a8548d9765 Merge branch 'PHP-5.5' into PHP-5.6 2013-12-30 10:51:36 +08:00
Remi Collet 809eb77689 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  minor fix on previous
2013-12-28 14:29:27 +01:00
Remi Collet 46809869a3 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66356 (Heap Overflow Vulnerability in imagecrop())
2013-12-28 14:26:06 +01:00
krakjoe 2712d7e224 update version 2013-12-27 18:10:58 +00:00
krakjoe 2b111a3b14 update version output 2013-12-27 18:03:11 +00:00
krakjoe c8dedaf2dc update version output 2013-12-27 18:03:11 +00:00
Xinchen Hui a8cd9b417c Fixed bug #66358 (fpm starts segfault) 2013-12-27 20:45:43 +08:00
Xinchen Hui 6908dc3e97 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	main/php_version.h
2013-12-27 14:11:35 +08:00
Xinchen Hui 04a52443e7 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	main/php_version.h
2013-12-27 14:06:35 +08:00
Dmitry Stogov 03a37de9b3 Improved empty string handling. Now ZE uses an interned string instead of allocation new empty string each time. (Some extensions might need to be fixed using str_efree() instead of efree() to support interned strings). 2013-12-26 14:47:13 +04:00
Dmitry Stogov 0ff0e82f26 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed ZEND_MM_MEM_TYPE=mmap_zero

Conflicts:
	NEWS
2013-12-26 11:52:39 +04:00
Anatol Belski b36bae023e fix c89 compat 2013-12-25 23:43:20 +01:00
Anatol Belski 1e411ebdf5 fix c89 compat 2013-12-25 23:43:20 +01:00
Anatol Belski 9f9179cc62 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  brought the ext/sybase_ct/config.w32 up to date
2013-12-25 23:30:59 +01:00
Joe Watkins 1d3a53a18d upstream merge 2013-12-25 18:50:25 +00:00
Xinchen Hui 43cfa7f12a Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2013-12-25 15:36:55 +08:00
Xinchen Hui d316040857 Fix test 2013-12-25 15:34:39 +08:00
Stanislav Malyshev c6df27db0f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.25 next
2013-12-24 22:23:42 -08:00
Anatol Belski 868dbe7baf fixed incompatible pointer in phpdbg on win64 2013-12-24 21:08:33 +01:00
Anatol Belski 00c7b973bb fixed incompatible pointer in phpdbg on win64 2013-12-24 21:08:33 +01:00
Bob Weinand 36f487a32c Fixed #18
Errors not displaying in some configurations
2013-12-24 13:19:18 +01:00
Bob Weinand ddf733fa69 Fixed #18
Errors not displaying in some configurations
2013-12-24 13:19:18 +01:00
Bob Weinand 2b98abd9a8 Merge branch 'master' of sapi/phpdbg into PHP-5.6
merge is necessary,
2013-12-24 13:18:18 +01:00
Bob Weinand 8064d8dfd6 Fixed #18
Errors not displaying in some configurations
2013-12-24 13:11:57 +01:00
Joe Watkins e538c1ad3f update credits headers 2013-12-24 09:03:22 +00:00
Joe Watkins 7b17d6c4bf Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6
* 'PHP-5.6' of https://git.php.net/repository/php-src:
  Fixed credits in phpdbg.* files
  Added breaking upon fatal-ish error
  credits file for phpdbg
  Fixed credits in phpdbg.* files
  reformat
  credits file
2013-12-24 09:02:52 +00:00
Bob Weinand 31c15f0d17 Fixed credits in phpdbg.* files 2013-12-24 00:34:23 +01:00
Bob Weinand ca882858f4 Fixed credits in phpdbg.* files 2013-12-24 00:34:23 +01:00
Bob Weinand ebfe304d6a Merge branch 'master' of sapi/phpdbg into PHP-5.6 2013-12-24 00:33:25 +01:00
Bob Weinand 02352bee60 Added breaking upon fatal-ish error 2013-12-24 00:30:37 +01:00
Bob Weinand 0577ccad28 Added breaking upon fatal-ish error 2013-12-24 00:30:37 +01:00
Joe Watkins a1387ae088 credits file for phpdbg 2013-12-24 00:16:47 +01:00
Joe Watkins 617aefbcda credits file for phpdbg 2013-12-24 00:16:47 +01:00
Bob Weinand 6f63609251 Fixed credits in phpdbg.* files 2013-12-23 23:55:07 +01:00
Joe Watkins 265fdd9139 credits file for phpdbg 2013-12-23 22:36:30 +00:00
Stanislav Malyshev 571ac34393 restore NEWS to the state of 6c5e93fe17 2013-12-23 14:10:08 -08:00
krakjoe 7b215b36bc reformat 2013-12-23 21:54:45 +00:00
krakjoe 2d82e994b6 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-12-23 21:52:32 +00:00
krakjoe d82e7ee7f8 credits file 2013-12-23 21:52:22 +00:00
krakjoe 433bc142a6 credits file 2013-12-23 21:51:00 +00:00
Dmitry Stogov a00e7f22d2 Fixed bug #66338 (Optimization binding of class constants is not safely opcacheable) 2013-12-23 16:53:34 +04:00
Dmitry Stogov fff72bc93b Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  removed outdated IsDebuggerPresent declaration
2013-12-23 16:05:59 +04:00
Dmitry Stogov ccb29a6e41 Fixed bug #66334 (Memory Leak in new pass1_5.c optimizations). (Terry) 2013-12-23 16:04:10 +04:00
Anatol Belski 19039984e2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  removed outdated IsDebuggerPresent declaration
2013-12-23 12:01:10 +01:00
Dmitry Stogov 8650d2dda6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added suggestion about opcache.revalidate_freq setting in development environment
2013-12-23 13:10:42 +04:00
Dmitry Stogov f5c200fce9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Issue #140: "opcache.enable_file_override" doesn't respect "opcache.revalidate_freq"
  opcodes
2013-12-23 12:50:42 +04:00
krakjoe ee55edf5e4 fix news 2013-12-22 13:30:41 +00:00
krakjoe d455377fad opcodes 2013-12-22 13:20:17 +00:00
krakjoe df9f2ad2e9 Merge branch 'PHP-5.6' of https://github.com/php/php-src into PHP-5.6 2013-12-22 13:17:21 +00:00
krakjoe 2a1b60569f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  stop warnings from unused opcode map
  - BFN
  - Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com
  Included new .c file in build too
  Fixed little typo in zend_vm_gen.php
  Moved to new file, killing a lot of warnings
2013-12-22 13:11:20 +00:00
Felipe Pena 9f1075bb29 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com
2013-12-22 09:43:10 -02:00
Bob Weinand 0525dce3c8 Merge branch 'master' of sapi/phpdbg into PHP-5.6 2013-12-22 01:04:31 +01:00
Bob Weinand 129fb22b37 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	Zend/zend_vm_opcodes.c
2013-12-22 00:55:46 +01:00
Bob Weinand 2874eba714 Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	Zend/zend_vm_opcodes.h
2013-12-21 23:54:38 +01:00
Bob Weinand 20318c4960 Added breaking upon fatal-ish error 2013-12-21 22:42:11 +01:00
Bob Weinand b14f31872b Merge branch 'PHP-5.5' into PHP-5.6 2013-12-21 21:32:42 +01:00
Bob Weinand 9b4b5fa737 Merge branch 'PHP-5.5' into PHP-5.6 2013-12-21 19:31:27 +01:00
krakjoe a1a57827e1 Merge branch 'watchpoints' of https://github.com/krakjoe/phpdbg into watchpoints 2013-12-21 09:39:59 +00:00
Bob Weinand 6ee1da1f55 ZTS fixed 2013-12-20 22:17:30 -05:00
Bob Weinand e2172ba39c ZTS fixed 2013-12-20 22:10:03 -05:00
Christopher Jones 794df91c35 Align 'configure --help' columns 2013-12-20 10:02:46 -08:00
Bob Weinand 6c5e93fe17 Added NEWS and UPGRADING info for phpdbg 2013-12-20 14:56:03 +01:00
Bob Weinand 4ae4b7bf47 Merge branch 'PHP-5.6' of http://git.php.net/repository/php-src into PHP-5.6 2013-12-20 14:29:35 +01:00
Bob Weinand 4350937027 Merge branch 'master' of sapi/phpdbg into PHP-5.6
Including phpdbg.
2013-12-20 14:27:51 +01:00
Bob Weinand cee72c13d7 Merge branch 'master' of sapi/phpdbg into PHP-5.6
Including phpdbg.
2013-12-20 14:27:51 +01:00
krakjoe ef3e0119b8 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-12-20 13:20:40 +00:00
krakjoe 37eac64e36 update readme 2013-12-20 13:20:17 +00:00
Bob Weinand f06ac6a531 Bumped version number to 0.3.0 2013-12-20 14:03:51 +01:00
Bob Weinand 937cc7c80a Recreated test.php 2013-12-20 13:56:21 +01:00
krakjoe d5c685adba tidy up readme 2013-12-20 12:52:18 +00:00
krakjoe 329e16a250 tidy up repository for merging 2013-12-20 12:51:24 +00:00
Bob Weinand 3f70e9f8bd Fixed deletion of watchpoints 2013-12-19 22:21:08 -05:00
Boris Lytochkin 5ce843abcb Merge branch '5.6' into PHP-5.6
* 5.6:
  Fixed SNMP_ERR_TOOBIG handling for bulk walk operations. (Boris Lytochkin)
2013-12-20 01:02:08 +04:00
Boris Lytochkin 285c0bcec0 Merge branch '5.5' into 5.6
* 5.5:
  Fixed SNMP_ERR_TOOBIG handling for bulk walk operations. (Boris Lytochkin)
  Fixed SNMP_ERR_TOOBIG handling for bulk walk operations
2013-12-20 00:39:15 +04:00
Derick Rethans d4f4b66d43 Merge branch 'PHP-5.5' into PHP-5.6 2013-12-19 19:01:00 +00:00
Bob Weinand 5e351695b6 Added deleting of watchpoints 2013-12-19 11:05:38 -05:00
Remi Collet 0fe9a9019b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
2013-12-19 10:56:16 +01:00
Remi Collet f6ffecbd2d save a few memory 2013-12-19 10:55:26 +01:00
Remi Collet 99b91f98b1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)
2013-12-19 10:54:06 +01:00
Michael Wallner 17470df2a5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS handling section of README.GIT-RULES
2013-12-19 10:08:27 +01:00
krakjoe 08393ad2ac disregard leading slash 2013-12-18 17:00:26 +00:00
krakjoe 944ebb36c8 version in userland 2013-12-18 16:33:21 +00:00
Dmitry Stogov 436ca2d019 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed reavlidate_path=1 behavior to avoid caching of symlinks values.

Conflicts:
	NEWS
2013-12-18 19:21:21 +04:00
Bob Weinand d850deca94 Merge pull request #44 from Hywan/option_zend_version
Add Zend version and copyright (oops, I merged the last PR too early)
2013-12-18 07:20:11 -08:00
Ivan Enderlin 1bc35a70d5 Add Zend version and copyright. 2013-12-18 16:15:24 +01:00
Bob Weinand 117d5e38e3 Merge pull request #43 from Hywan/option_version
Add the `-V` option to print the version number
2013-12-18 07:11:37 -08:00
Ivan Enderlin abf68be7a4 Add the -V option to print the version number. 2013-12-18 16:05:11 +01:00
krakjoe fc5f533c6f ... 2013-12-18 12:03:07 +00:00
Joe Watkins 5ccd5739f4 Merge pull request #40 from Hywan/fix_typo
In english, no horizontal space before “!”
2013-12-18 03:37:05 -08:00
Ivan Enderlin e5263aa3f0 In english, no horizontal space before “!”. 2013-12-18 11:53:30 +01:00
krakjoe 7e0d1938f9 fix warnings/50700 stuff 2013-12-18 10:31:14 +00:00
krakjoe 5cc9a35f1b ... 2013-12-18 10:18:22 +00:00
krakjoe 6ac3a4ab41 50700 change 2013-12-18 10:17:43 +00:00
krakjoe 8b0e1c6191 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-12-18 10:12:28 +00:00
krakjoe db9bbf1147 fix build 2013-12-18 10:12:17 +00:00
Bob Weinand 3043bd285c Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-12-18 11:08:32 +01:00
krakjoe ef89fe37ca fix build error zts 2013-12-18 10:06:42 +00:00
Bob Weinand 94d5334bca Added myself as author where I was not author yet 2013-12-18 11:02:50 +01:00
krakjoe 64dabffd08 fix crash on clean in nts 2013-12-18 07:57:27 +00:00
Bob Weinand 0dbc5c2087 first working version of wildcard watchpoints 2013-12-18 02:56:20 -05:00
Anatol Belski beed28844b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed possibly uninitialized value usage
2013-12-17 08:45:30 +01:00
Xinchen Hui b331a219be Use memcmp here is better 2013-12-17 15:37:10 +08:00
Xinchen Hui eeb37c40e6 Save one char compare 2013-12-17 15:09:52 +08:00
Xinchen Hui 143ae34f29 Fixed test failed after rev 57c1335f 2013-12-17 15:05:31 +08:00
Stanislav Malyshev de4a2c3cbd Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #65873 - Integer overflow in exif_read_data()
2013-12-16 11:37:29 -08:00
David Soria Parra 85a10166e1 Merge branch 'PHP-5.5' into PHP-5.6 2013-12-16 10:27:51 -08:00
Bob Weinand 0a8c20e740 Handle automatic removing of watchpoints and cleanup at the end 2013-12-16 10:29:31 -05:00
Dmitry Stogov 43f11165b8 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Fix tests expecting specific resource IDs
  fixed parameter order for zend_throw_exception_ex call
  Fix doc (svn -> git)
  Test pushing
  Updated release process
2013-12-16 13:13:18 +04:00
Bob Weinand a7b0dfb7b1 Preventing possible segfault 2013-12-15 09:15:34 -05:00
Bob Weinand d3c8d76e5b Merge branch 'watchpoints' of ssh://github.com/krakjoe/phpdbg into watchpoints
Conflicts:
	phpdbg_watch.c
2013-12-15 09:10:28 -05:00
Bob Weinand 9ce9f48fb6 Moved btree to separate file; minor fixes and completitions 2013-12-15 09:05:50 -05:00
Felipe Pena 75b4b4676b - Staticfy some functions 2013-12-15 11:58:14 -02:00
Felipe Pena 0ca7f72130 - Fixed build 2013-12-15 11:55:03 -02:00
Xinchen Hui 5eb8d9d700 Merge branch 'PHP-5.6' of https://git.php.net/push/php-src into PHP-5.6 2013-12-15 16:55:29 +08:00
Xinchen Hui 10964b7854 Merge branch 'PHP-5.5' into PHP-5.6 2013-12-15 16:51:32 +08:00
Anatol Belski 904721189f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed parameter order for zend_throw_exception_ex call
  Fix doc (svn -> git)
2013-12-14 20:47:37 +01:00
Bob Weinand f312f6bad2 First semi-working version of a single watchpoint 2013-12-14 05:39:09 -05:00
Bob Weinand 85b97c0f70 Finished working for today, continuing tomorrow (not working) 2013-12-13 17:57:36 -05:00
Xinchen Hui 41eaac3491 Test pushing 2013-12-13 21:32:14 +08:00
Julien Pauli d67fbaa74d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated release process
2013-12-13 13:27:45 +01:00
Dmitry Stogov af66b20781 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Use zend_error_noreturn here
  OCI8 build change: Fix source variable definition for C89 compatibility
  Add Tests for #65784 in 5.5
  Disallowed JMP into a finally block.
  Update NEWS for 5.5.7 release
  Fixed bug #65784 (Segfault with finally).
2013-12-13 11:17:50 +04:00
Xinchen Hui 6f95a07c41 Merge branch 'PHP-5.5' into PHP-5.6 2013-12-13 11:37:43 +08:00
Christopher Jones bc748ba38c OCI8 build change: Fix source variable definition for C89 compatibility 2013-12-12 15:22:55 -08:00
Xinchen Hui c9d00a23ae Merge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6 2013-12-13 01:48:17 +08:00
Xinchen Hui ab12ccd16a Merge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6 2013-12-13 01:46:28 +08:00
Xinchen Hui 794a888a48 Fixed bug #65784 (Segfault with finally). 2013-12-13 00:16:08 +08:00
Dmitry Stogov 3bddcc13b5 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  fix test
2013-12-12 16:46:37 +04:00
Michael Wallner 1dfbe99ce4 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix test
2013-12-12 12:09:54 +01:00
Dmitry Stogov 463dbc3490 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Fixed bug #65486 mysqli_poll() is broken on Win x64
2013-12-12 13:59:51 +04:00
Dmitry Stogov 9850d57fd9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed tests
  Fixed ext/soap/tests/bugs/bug54911.phpt
2013-12-12 13:55:23 +04:00
Anatol Belski 39a2dcdeac Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #65486 mysqli_poll() is broken on Win x64
2013-12-12 10:46:21 +01:00
Bob Weinand 2e5d78192e Committed the damned new files 2013-12-11 21:31:22 +01:00
Bob Weinand 488dd317fe First non-working test of segfault handlers 2013-12-11 21:27:03 +01:00
Bob Weinand baceff6ad4 Tiny whitespace fix in makefile (aligning with other "Installing" messages) 2013-12-09 19:58:19 +01:00
Bob Weinand 2fa3479df5 Added conditional opline num support 2013-12-09 13:25:00 +01:00
Felipe Pena bba73628e6 - Fix compiler warning 2013-12-09 09:46:33 -02:00
Bob Weinand 97604918ba Fixed segfault (removed superfluous NUL-byte insertion) 2013-12-09 12:23:44 +01:00
krakjoe af979393fc resolve all warnings 2013-12-09 10:15:16 +00:00
krakjoe 058b59bb58 update cl 2013-12-09 09:49:50 +00:00
krakjoe cbaf610ee4 fix test 2013-12-09 09:43:26 +00:00
krakjoe 64194ef652 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-12-09 09:35:54 +00:00
krakjoe 12d071fa7c remove zend extension 2013-12-09 09:33:32 +00:00
Bob Weinand b35f6ee723 Pssst, compiler! 2013-12-08 22:11:50 +01:00
Bob Weinand 71ae30f1b8 WS 2013-12-08 21:58:01 +01:00
Bob Weinand e3bf7ad5b5 Renumbered frames in backtrace for internal functions 2013-12-08 21:43:19 +01:00
Felipe Pena cd3b070d7e - Added variadic support to prototype dumping 2013-12-08 18:04:39 -02:00
Felipe Pena b655a0bc7e - Fix argname printing order 2013-12-08 17:52:14 -02:00
Felipe Pena 50e8a47c90 - Added argument name to backtrace dump 2013-12-08 17:37:35 -02:00
Felipe Pena 508772840e - CS 2013-12-08 16:48:20 -02:00
Felipe Pena 1fc10b5706 - Splitting prototype dumping code 2013-12-08 16:47:53 -02:00
Felipe Pena e5a2d2efbd - Change phpdbg_dump_backtrace prototype 2013-12-08 16:33:19 -02:00
Felipe Pena 3ec948bca3 - Fixed build 2013-12-08 16:30:52 -02:00
Felipe Pena bae424dbb7 - Moved frame related code to phpdbg_frame.c 2013-12-08 16:29:15 -02:00
Felipe Pena c987e46b6f - CS + ws 2013-12-08 16:07:49 -02:00
Adam Harvey d40a5a2797 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Switch to using freetype-config for freetype detection.
2013-12-07 19:41:44 -08:00
Bob Weinand 324291ebf2 Added one more test for constant scalar expressions 2013-12-11 19:17:07 +01:00
Anatol Belski f0cf312d8c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  added missing prototype
2013-12-11 14:16:07 +01:00
Anatol Belski e9efc16660 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fix dir separator in cve-2013-6420 test
2013-12-11 13:33:37 +01:00
Ard Biesheuvel d6ecc4105a Merge branch 'PHP-5.5' into PHP-5.6 2013-12-11 08:51:10 +01:00
Stanislav Malyshev 293984ac33 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.3.29-dev
  Fix CVE-2013-6420 - memory corruption in openssl_x509_parse
2013-12-10 11:36:06 -08:00
Remi Collet 45d8802441 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed Bug #66218 zend_register_functions breaks reflection
2013-12-10 16:10:20 +01:00
Dmitry Stogov fe93347ba0 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66112 (Use after free condition in SOAP extension). (martin dot koegler at brz dot gv dot at)

Conflicts:
	NEWS
2013-12-10 17:58:22 +04:00
Dmitry Stogov 73f13f439b Fixed bug #66251 (Constants get statically bound at compile time when Optimized) 2013-12-10 17:04:17 +04:00
Dmitry Stogov 1e161a9c0f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Revered func_get_args() changes, because they were not completly transparent and broke some tricky PHP code that worked because of luck before php-5.5.6 (see Bug #66107). The changes are going to be kept in PHP-5.6.
2013-12-10 16:08:46 +04:00
Dmitry Stogov 4c3492b050 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Zend: fix overflow handling bug in non-x86 fast_add_function()
2013-12-10 15:16:30 +04:00
Dmitry Stogov 49d7e98025 Fixed memory leaks introdused by:
commit 611da37617
	Author: Igor Wiedler <igor@wiedler.ch>
	Date:   Sat Nov 9 13:48:23 2013 -0500
2013-12-10 15:13:53 +04:00
Ard Biesheuvel 60d2e70c06 Zend: fix overflow handling bug in non-x86 fast_add_function()
The 'result' argument of fast_add_function() may alias with either
of its operands (or both). Take care not to write to 'result' before
reading op1 and op2.
2013-12-10 12:12:14 +01:00
Dmitry Stogov 5a87b7ff39 Fixed bug #66252 (Problems in AST evaluation invalidating valid parent:: reference. Constant expessions have to be evaluated in context of defining class). 2013-12-10 14:19:17 +04:00
Dmitry Stogov 5ad1117419 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Arguments passed to user function have to be properly allocated on heap
2013-12-10 13:03:09 +04:00
Ard Biesheuvel f33265d572 cli: don't cast away const in select() timeout argument
The timeout argument to select() is modified to reflect the time
remaining when the function returns on a non-timeout condition.
Passing a pointer to const data and casting away the const-ness is
asking for trouble, but for some reason, this trouble manifests
itself only on non-x86 architectures [whose implementation of select()
in glibc is different from the one supplied for x86]

Fix this by passing a stack copy of the timeout argument to select()
2013-12-09 16:54:42 +01:00
Stanislav Malyshev cfd5ea4301 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Replace invalid code with a proper #error
2013-12-08 15:53:41 -08:00
Bob Weinand 9cd9356523 Added mapping... 2013-12-07 20:28:23 +01:00
Felipe Pena 4715988c70 Merge branch 'opline_num_support' of github.com:krakjoe/phpdbg into opline_num_support 2013-12-07 16:20:37 -02:00
Felipe Pena d2ded767c6 - CS 2013-12-07 16:18:44 -02:00
Bob Weinand 2555fbfc4e Renumbered phpdbg.h correctly 2013-12-07 16:03:01 +01:00
Bob Weinand 422f80e87d Merge branch 'master' of https://github.com/krakjoe/phpdbg into opline_num_support
Conflicts:
	phpdbg.c
	phpdbg_bp.c
2013-12-07 15:42:17 +01:00
Bob Weinand 50db4919ce Adapted opline_num breakpoints to master branch 2013-12-07 15:35:35 +01:00
Felipe Pena 793f1d7c4a - Fix compiler warning + ws 2013-12-07 12:31:10 -02:00
Felipe Pena 6e85e711de - Fix compiler warning 2013-12-07 12:17:29 -02:00
Phil Sturgeon 39cb92da16 Update README.md 2013-12-06 17:04:49 -05:00
Phil Sturgeon 6085597984 Added libedit reference to README 2013-12-06 16:57:52 -05:00
Phil Sturgeon 9cd5d75f4c Provide commands for getting started 2013-12-06 16:44:24 -05:00
krakjoe 8939d0da49 make simple 2013-12-06 21:04:20 +00:00
krakjoe faf1013681 more tests
add phpdbg_exec userland function
2013-12-06 20:56:16 +00:00
krakjoe ad2ea99c3e fix registered commands during init, add test 2013-12-06 20:18:44 +00:00
Ferenc Kovacs 9feb87b017 Merge branch 'igorw-use-function' into PHP-5.6 2013-12-06 11:06:41 +01:00
Michael Wallner 1135f3a042 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  BFN
2013-12-06 10:39:10 +01:00
Michael Wallner 9ea2489f5c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #61645 (fopen and O_NONBLOCK)
  fix possibly uninitialized value
2013-12-06 10:33:47 +01:00
Ferenc Kovacs 562fa252ad Merge branch 'use-function' of git://github.com/igorw/php-src into igorw-use-function 2013-12-06 05:39:49 +01:00
krakjoe 4562eb0bc8 doh, I'm tired 2013-12-05 23:41:20 +00:00
krakjoe 9dcdca8cc6 travis build status image 2013-12-05 23:28:42 +00:00
krakjoe 3750cea9e1 use current build of php 2013-12-05 23:12:02 +00:00
krakjoe 78a0a2ad76 travis 2013-12-05 22:59:34 +00:00
krakjoe ee5393ebf9 ... 2013-12-05 22:56:20 +00:00
krakjoe c4c9119a35 remove code directory 2013-12-05 22:53:03 +00:00
krakjoe 6817683027 cleanup 2013-12-05 22:50:26 +00:00
krakjoe 3108b28dc1 add format tests 2013-12-05 22:43:14 +00:00
krakjoe 35bf233550 ... 2013-12-05 15:46:40 +00:00
krakjoe e4e764c1e6 ... 2013-12-05 12:29:17 +00:00
krakjoe 39d74a2edc printing test 2013-12-05 12:27:47 +00:00
krakjoe 6fc2ed61c4 add moar 2013-12-05 12:23:49 +00:00
krakjoe ef33b77897 change default options for tests 2013-12-05 12:06:35 +00:00
krakjoe 8c499c072d organize 2013-12-05 11:43:27 +00:00
krakjoe 9df1bc1b9c add test-phpdbg makefile rule 2013-12-05 11:39:55 +00:00
krakjoe 33e88e0dad update cl 2013-12-05 11:24:56 +00:00
krakjoe 752aac61f3 ... 2013-12-05 11:20:40 +00:00
krakjoe f4f17d6e32 fix crash on startup errors 2013-12-05 11:20:16 +00:00
krakjoe 56da409801 update cl 2013-12-05 08:18:20 +00:00
krakjoe 11b3a5ec05 tests 2013-12-05 02:42:04 +00:00
krakjoe 3341e219c9 don't use emalloc there 2013-12-04 23:26:14 +00:00
Sara Golemon f0248bdce5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Use 'user@example.com' rather than 'user@company.com' in tests
2013-12-04 07:50:45 -08:00
krakjoe 1fb67f1eda fix #36 add more info to conditional breakpoint output 2013-12-04 14:20:13 +00:00
Andrey Hristov 97909ef4ef Merge branch 'PHP-5.5' into PHP-5.6 2013-12-04 12:39:11 +02:00
Sara Golemon df755deb45 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix php_module_startup() when loading more than one additional module
2013-12-03 18:21:12 -08:00
Adam Harvey 44697c115b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Remove 128.0.0.0/16 and 191.255.0.0/16 from the reserved list.
2013-12-03 14:52:35 -08:00
Bob Weinand 3ffb4aaf9b Fixed file opline num resolving 2013-12-03 16:10:57 +01:00
krakjoe 4a35c1d460 update cl 2013-12-03 12:27:22 +00:00
krakjoe acf76ae619 fix loading of zend_extensions from command line arguments 2013-12-03 12:26:19 +00:00
Bob Weinand 76f889569f Nearly finished opline num support patch 2013-12-03 12:31:25 +01:00
krakjoe 8fa376a028 break at image 2013-12-03 00:56:40 +00:00
krakjoe 54724e29cc update image 2013-12-03 00:56:16 +00:00
krakjoe 4d6d0d8f05 improve print conditional breaks 2013-12-03 00:43:05 +00:00
krakjoe 8f835060df export both types of conditional breakpoint properly 2013-12-03 00:35:20 +00:00
krakjoe fd9026b948 extended conditional breakpoints 2013-12-03 00:15:33 +00:00
Bob Weinand 0a72ee087d Added deleting and printing 2013-12-02 21:56:25 +01:00
Nikita Popov 00c74ccf69 Support gmp_remroot() on GMP 4.1 2013-12-02 20:11:06 +01:00
Bob Weinand 2d230254de Added note about const scalar exprs in UPGRADING file 2013-12-02 18:39:01 +01:00
Michael Wallner f254476f99 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  BFN
  Fix bug #65196
2013-12-02 17:02:13 +01:00
krakjoe 0e7118f666 update docs etc 2013-12-02 14:56:15 +00:00
krakjoe 6e7c1ed0c8 added ability to override sapi name 2013-12-02 14:45:41 +00:00
krakjoe 9b4e855d72 cs 2013-12-02 13:43:21 +00:00
krakjoe fed41baf28 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-12-02 13:25:20 +00:00
krakjoe e05b4977c5 added set break [id] <on|off> 2013-12-02 13:19:13 +00:00
Michael Wallner 733259c211 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  BFN
  fix bug #49634x
2013-12-02 12:15:27 +01:00
Dmitry Stogov 0f39089384 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed tests
2013-12-02 12:05:29 +04:00
Dmitry Stogov 9447181d0c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed ability to build non-specialized GOTO VM
2013-12-02 11:03:17 +04:00
Bob Weinand 518519b8ed Separated opline address improvements from this branch 2013-12-01 19:05:30 +01:00
Felipe Pena e6970ade6d - Fix compiler warning 2013-12-01 15:03:39 -02:00
Felipe Pena 4dda2980ff - CS 2013-12-01 15:00:28 -02:00
Felipe Pena 9ca817eb0f - Fixed compiler warning 2013-12-01 14:57:11 -02:00
Bob Weinand 25f2d4eca1 Several fixes and cleanups on opline num support 2013-12-01 15:58:59 +01:00
krakjoe f6efce9f13 ws 2013-12-01 13:17:54 +00:00
krakjoe 01ed1f436c ... 2013-12-01 13:12:51 +00:00
krakjoe 800ec7836b init.d for redhat and derivatives 2013-12-01 12:48:43 +00:00
Nikita Popov b3546e64bd Merge branch 'PHP-5.5' into PHP-5.6 2013-12-01 13:45:22 +01:00
krakjoe 723b721fb9 update version 2013-12-01 10:23:37 +00:00
krakjoe 083cce9162 tag correct version 2013-12-01 10:22:41 +00:00
krakjoe d76e24b2db fix windows build 2013-12-01 08:55:37 +00:00
krakjoe 2c216ec648 update version 2013-12-01 08:40:31 +00:00
krakjoe 7e528a36b6 tag v2.0 2013-12-01 08:38:33 +00:00
krakjoe cbc774723a add info memory 2013-12-01 08:34:17 +00:00
krakjoe 8a826dc07b cs/ws 2013-11-30 17:29:33 +00:00
krakjoe 835446e632 support all colors and underline in java ui 2013-11-30 17:19:01 +00:00
krakjoe df0091c445 phpdbg_rlog for logging while in remote mode (only) 2013-11-30 14:34:16 +00:00
Felipe Pena 841dddb3c2 Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6 2013-11-30 11:43:51 -02:00
Felipe Pena a2f478cd94 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  - Fixed bug #65923 (ext/socket assumes AI_V4MAPPED is defined)
2013-11-30 11:40:42 -02:00
Nikita Popov e2a8d7dc17 Merge branch 'PHP-5.5' into PHP-5.6 2013-11-30 13:40:17 +01:00
krakjoe 4fa2f01c4e add systray and logo 2013-11-30 07:27:11 +00:00
krakjoe 16edd155cb ... 2013-11-30 00:44:34 +00:00
krakjoe b03f1fdb3e update jar 2013-11-30 00:29:31 +00:00
krakjoe 8963bbe26a ... 2013-11-30 00:29:16 +00:00
krakjoe b6de073b00 ... 2013-11-30 00:25:05 +00:00
krakjoe af3d792c78 improvements to jui, use nonblocking i/o in stdout thread 2013-11-30 00:16:24 +00:00
ArunSK 2e6d830590 Fixed unused value compiler warning 2013-11-29 23:58:41 +01:00
Nikita Popov 66b0d17f04 Merge branch 'PHP-5.5' into PHP-5.6 2013-11-29 23:31:13 +01:00
krakjoe 53eb91d05e update image 2013-11-29 22:09:26 +00:00
krakjoe c94ae50063 updates for java app ... delicious ... 2013-11-29 22:03:08 +00:00
krakjoe 8c28d94a4e update images 2013-11-29 20:19:08 +00:00
krakjoe 195c518dd1 ... 2013-11-29 20:03:50 +00:00
krakjoe 31c4861f67 correction 2013-11-29 19:57:10 +00:00
krakjoe 4b6c8adea0 remote tutorial 2013-11-29 19:54:55 +00:00
krakjoe de84aba976 improve -l, add -a 2013-11-29 19:42:41 +00:00
krakjoe 41f93d4c15 allow setting both ports from command line: 2013-11-29 18:55:15 +00:00
krakjoe c56a25b50a update java ui 2013-11-29 14:50:44 +00:00
krakjoe 76bb4bbe00 update image 2013-11-29 13:22:40 +00:00
krakjoe 22fd520fb5 update ui
echo checkbox
	move input to bottom like a normal console
2013-11-29 13:20:26 +00:00
Bob Weinand 2e7c695c05 I give up 2013-11-29 11:38:28 +01:00
krakjoe e1af08c4e7 ... 2013-11-29 10:22:20 +00:00
krakjoe 9b498765ab ... 2013-11-29 10:22:02 +00:00
krakjoe 2885406590 update image with colours :) 2013-11-29 09:46:20 +00:00
krakjoe 921c73aeda fix layout 2013-11-29 09:44:25 +00:00
krakjoe 167f6e0c25 ... 2013-11-29 09:38:07 +00:00
krakjoe 3495e78274 ... 2013-11-29 09:38:00 +00:00
krakjoe 216e3668d6 ... 2013-11-29 09:35:33 +00:00
krakjoe bd49a0f144 ... 2013-11-29 09:19:08 +00:00
krakjoe 5f0a0f12e1 ... 2013-11-29 09:16:07 +00:00
krakjoe 883f34f487 add ANSI colour support to output pane 2013-11-29 08:57:29 +00:00
Dmitry Stogov 2cb0e1e4c1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added validation of class names in the autoload process

Conflicts:
	NEWS
2013-11-29 12:55:11 +04:00
krakjoe f822764129 always unset unclean_shutdown 2013-11-29 02:42:34 +00:00
krakjoe 734fe5508a update java example 2013-11-29 01:48:21 +00:00
Nikita Popov f54f308f71 Clean up GMP arginfos
Removed duplicate arginfos, specified number of required args
everywhere and removed weird pass-by-ref arguments.
2013-11-29 00:05:28 +01:00
Nikita Popov 6d38090c8d Add gmp_root() and gmp_rootrem() functions 2013-11-29 00:01:59 +01:00
Nikita Popov 1c8cbe4b4e Use class handlers for GMP serialization
A bit faster and less boilerplate
2013-11-29 00:01:59 +01:00
Nikita Popov 8860758a74 Remove duplicate / commented code in GMP 2013-11-29 00:01:59 +01:00
krakjoe 8a63a99d2e tidy 2013-11-28 22:58:39 +00:00
krakjoe f342ca88fa java example stuff 2013-11-28 22:55:07 +00:00
krakjoe 371ccf8ab9 remove windows support for remote console, never gonna happen 2013-11-28 22:06:27 +00:00
Bob Weinand 24585722b1 Small bug fix on error 2013-11-28 22:03:59 +01:00
Dmitry Stogov 36bd7296c8 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Fixed bug #65199 (Wrong Day of Week) and fixed bug #63391 (Incorrect/inconsistent day of week prior to the year 1600)
  Marking those two as XFAIL for now.
  Fixed a few DST changeover issues.
  Move add/sub to timelib.
  Fix backwards transition diffs.
  Split up tests into their different categories.
  Group those tests a bit better, as some of the bd ones wanted a "ST" feature that doesn't exist yet.
  Fixed forward transitions in diffs.
  Always reset those parameters.
  Fixed "Forward Transition" construction of DateTime objects.
2013-11-29 01:00:14 +04:00
Dmitry Stogov 6c2a806820 Avoid interned hash key duplication and hash key length recaclulation 2013-11-29 00:57:49 +04:00
Bob Weinand d7f6e88493 First semi-working version of oplines 2013-11-28 21:36:45 +01:00
krakjoe 55f210c83b windows ... 2013-11-28 18:22:30 +00:00
krakjoe c464b011de windows fixes 2013-11-28 17:30:27 +00:00
krakjoe 022c621f96 windows fixes 2013-11-28 17:21:34 +00:00
krakjoe 26e1d57e8c add set colors command to assist remote console 2013-11-28 17:02:38 +00:00
krakjoe b2af85a445 more on remote mode
some logging info to stderr
	only quit on sigint in remote mode
2013-11-28 16:41:21 +00:00
Derick Rethans c3ac86c569 Merge branch 'PHP-5.5' into PHP-5.6 2013-11-28 16:33:17 +00:00
krakjoe daeb5e2963 resolve #30 #31 2013-11-28 15:51:11 +00:00
krakjoe 68776e376d work on remote mode 2013-11-28 14:54:06 +00:00
Derick Rethans cf88fc857e Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 2013-11-28 14:46:21 +00:00
Derick Rethans 3bf71b42b1 Merge branch 'PHP-5.5' into PHP-5.6 2013-11-28 14:45:26 +00:00
Dmitry Stogov 5d25762646 Removed unused "pHashFunction" argument in _zend_hash_init() and family (must be 99% source compatible) 2013-11-28 18:40:46 +04:00
Dmitry Stogov 5d6b20f66b Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Updated NEWS for Constant Scalar Exprs RFC
  Moved arrays again to "static_scalar:" & little cleanup
  Renaming
  Constant expressions refactoring
  Removed operations on constant arrays. They make no sense as constants are not allowed to be arrays. And as just properties are allowed to; no problem, we still don't need operations on any constant array.
  Added a few more operators
  Whitespace fix
  converted several switches to ifs and made more opcache friendly
  Fatal error about self referencing constants fixed
  Fixed mem leaks, added tests and ternary operator
  Working commit for constant scalar expressions (with constants). Tests will follow.
2013-11-28 17:04:54 +04:00
Dmitry Stogov b63b81815f Some rare deprecated cases replaced by ZEND_ASSERT() (some extensions might need to be fixed) 2013-11-28 17:02:01 +04:00
Dmitry Stogov aa427a10d4 Removed duplicated hash function implementation (100% source compatible) 2013-11-28 17:01:10 +04:00
Bob Weinand 0652edfed3 Updated NEWS for Constant Scalar Exprs RFC 2013-11-28 13:46:51 +01:00
Bob Weinand d36cf90291 Merge branch 'const_scalar_exprs' into PHP-5.6
Conflicts:
	Zend/zend_extensions.h
2013-11-28 13:41:42 +01:00
krakjoe f80a09ede7 add option in help for remote console 2013-11-28 09:36:42 +00:00
krakjoe 8d1594d01e Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-28 09:31:39 +00:00
krakjoe 6bb080a7e1 made server persist, support disconnect and reconnect 2013-11-28 09:31:06 +00:00
Dmitry Stogov 9d060e8d48 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Fixed bug #53879 (DateTime::createFromFormat() fails to parse cookie expiration date)
2013-11-28 11:46:28 +04:00
Dmitry Stogov 57c1335fec Don't check argument types for internal functions without type hinting 2013-11-28 11:44:14 +04:00
Felipe Pena 7c972480ad - Fixed compiler warnings + CS 2013-11-27 20:59:02 -02:00
Derick Rethans d3a12317cf Merge branch 'PHP-5.5' into PHP-5.6 2013-11-27 22:01:09 +00:00
krakjoe 50da1ffdb6 example java app for testingz 2013-11-27 19:31:55 +00:00
krakjoe b43377dd4a java example 2013-11-27 19:23:34 +00:00
krakjoe db12998998 fix remote mode when readline is enabled 2013-11-27 17:32:15 +00:00
Dmitry Stogov fcb98cbce8 Fixed tests 2013-11-27 21:04:00 +04:00
krakjoe 87b556e3a1 simple tcp interface for phpdbg 2013-11-27 16:49:51 +00:00
Dmitry Stogov 43e3933fa3 Removed deprecated AI_SET_PTR()s 2013-11-27 20:30:35 +04:00
krakjoe 2299584963 fix find breakpoint function 2013-11-27 13:32:38 +00:00
krakjoe 0fad595a1f housework 2013-11-27 13:28:53 +00:00
krakjoe c8145da0b2 reset hit counters implicitly on run 2013-11-27 13:15:52 +00:00
krakjoe 0deced5a7a more improvements to breakpoint api
separate printing logic, always return base
add hit count to breakpoints, displayed on hit
2013-11-27 13:01:57 +00:00
krakjoe 4216cb2840 make conditional breakpoint structure consistent with others 2013-11-27 12:15:37 +00:00
Dmitry Stogov 5e8bb519f0 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  NEWS
  Fixed bug #66060 (Heap buffer over-read in DateInterval)
2013-11-27 14:58:23 +04:00
Dmitry Stogov a908afeaa5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #65969 (Chain assignment with T_LIST failure)

Conflicts:
	NEWS
	Zend/zend_vm_def.h
	Zend/zend_vm_execute.h
2013-11-27 14:56:18 +04:00
Remi Collet 56909e7d9d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fixed bug #66060 (Heap buffer over-read in DateInterval)
2013-11-27 11:15:58 +01:00
krakjoe 37b3a21cf4 improve api 2013-11-27 09:55:16 +00:00
Julien Pauli 1daa1ab4d1 Merge branch 'PHP-5.5' into PHP-5.6 2013-11-27 10:32:05 +01:00
Stanislav Malyshev 22ad8e1b1a Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  5.4.24-dev now
  merge fix
  add test
  Fix for Bug #66141 (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES after failed query)
2013-11-27 00:18:54 -08:00
krakjoe 3df8e29b0d many improvements in breakpoints
make file breakpoints faster
make exports happen in correct order
make deletes simpler, set flags correctly
fix info vars when no scope is set
2013-11-26 22:20:52 +00:00
Dmitry Stogov 834eaae52d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed opcahce_reset() crash when opcache.protect_memory is set
2013-11-26 21:59:02 +04:00
Dmitry Stogov 19f0e188f2 Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
* 'PHP-5.6' of git.php.net:php-src:
  Fixed a wrong test
2013-11-26 21:44:32 +04:00
Dmitry Stogov ee3c7b70c3 Added an optimization of class constants and constant calls to some internal functions 2013-11-26 21:38:40 +04:00
Dmitry Stogov f000624864 Added an optimization of class constants and constant calls to some internal functions 2013-11-26 21:37:31 +04:00
Dmitry Stogov e7132597a6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66176 (Invalid constant substitution)
  Fixed bug #66176 (Invalid constant substitution)
2013-11-26 21:01:01 +04:00
Julien Pauli aa33da6a51 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed a wrong test
2013-11-26 17:43:45 +01:00
krakjoe f8e7685975 fix #28 2013-11-26 16:02:39 +00:00
krakjoe 969e659c4a Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-26 16:00:28 +00:00
krakjoe 6d95449e0a fix #27 2013-11-26 15:58:27 +00:00
Dmitry Stogov 52630e3ced Revert NEWS 2013-11-26 17:48:59 +04:00
Dmitry Stogov 0999d85049 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #66176 (Invalid constant substitution)

Conflicts:
	NEWS
2013-11-26 17:48:11 +04:00
Bob Weinand 6ba73338dd Enormous whitespace fix 2013-11-26 11:02:58 +01:00
Bob Weinand 9663ef0c1c ZEND_STRS - 1 => PHPDBG_STRL 2013-11-26 09:26:13 +01:00
Bob Weinand 485966252a Export conditional breaks 2013-11-26 09:21:04 +01:00
Dmitry Stogov 8fdc973afa Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added test
2013-11-26 12:14:12 +04:00
krakjoe bc7df607ab fix windows build
build shared on windows
2013-11-26 07:53:08 +00:00
Dmitry Stogov 621f83e35c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed bug #65559 (Opcache: cache not cleared if changes occur while running)
  bring the news

Conflicts:
	NEWS
2013-11-26 11:36:23 +04:00
krakjoe 2942caff29 ws 2013-11-26 07:11:34 +00:00
krakjoe feaec0ec73 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-25 23:03:52 +00:00
krakjoe 87a29a96aa nope 2013-11-25 23:02:54 +00:00
Bob Weinand b5b5bba492 Merge branch 'master' of https://github.com/krakjoe/phpdbg
Conflicts:
	phpdbg.c
2013-11-25 23:47:21 +01:00
Bob Weinand 02ae3f8de1 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-25 23:45:55 +01:00
Bob Weinand 4e6a8eeffa Breakpoints are now persistent over cleans 2013-11-25 23:38:43 +01:00
krakjoe 017beb002b remove comment 2013-11-25 22:20:26 +00:00
krakjoe 01181d194f use tsrm_shutdown 2013-11-25 22:19:21 +00:00
Felipe Pena bd87039a91 - Rename command to "set break" 2013-11-25 19:46:06 -02:00
Felipe Pena d50e2546c7 - Added command "set breakpoint <on|off>" 2013-11-25 19:39:17 -02:00
Bob Weinand 2be5a1e3da Enable backwards reading in list command 2013-11-25 20:33:52 +01:00
krakjoe 6932eb76e3 correction in help 2013-11-25 18:39:27 +00:00
krakjoe 754fe82216 export opcode breakpoints 2013-11-25 18:27:58 +00:00
krakjoe ba37fd24bc export method breakpoints 2013-11-25 18:16:31 +00:00
krakjoe 3e14ff7cee symbol breakpoint export 2013-11-25 18:03:38 +00:00
krakjoe 7ac64cdf46 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-25 17:58:43 +00:00
krakjoe 19b1f7b5f9 ... 2013-11-25 17:58:36 +00:00
Bob Weinand be8adbb231 Fix segfault in source command 2013-11-25 18:58:03 +01:00
krakjoe 781bd90de3 swap PROMPT for phpdbg_get_prompt in help 2013-11-25 17:43:49 +00:00
krakjoe a947c890a0 add source export functionality, only files working, buggy source 2013-11-25 17:41:09 +00:00
krakjoe 3d6a4cbc63 consistent ordering 2013-11-25 16:43:23 +00:00
krakjoe 5295833b75 ... 2013-11-25 16:41:33 +00:00
krakjoe be6fbb07bb update changelog 2013-11-25 16:39:53 +00:00
krakjoe feabdfcf3f Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-25 16:39:24 +00:00
krakjoe 3078834098 add source command 2013-11-25 16:39:14 +00:00
Bob Weinand eac26190aa Support also multiple directories in additional ini scan dir 2013-11-25 17:15:51 +01:00
Bob Weinand 4aab420c5f .phpdbginit also possible in ini dirs 2013-11-25 13:19:01 +01:00
krakjoe 36c09510fb ... 2013-11-25 10:25:42 +00:00
krakjoe 905911b0b6 ... 2013-11-25 10:24:19 +00:00
krakjoe 6eabb69064 add session image 2013-11-25 10:20:00 +00:00
krakjoe 0f8c4630f2 consistent in ___ for info/print 2013-11-25 10:17:57 +00:00
Dmitry Stogov b3c2c2bcb1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed compatibility with old PHP versions
  Fixed bug #65915 (Inconsistent results with require return value)

Conflicts:
	NEWS
2013-11-25 14:11:45 +04:00
Bob Weinand 2318883446 a prompt with an % == nice segfault 2013-11-24 22:45:50 +01:00
Bob Weinand f81a621f6f Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 22:37:16 +01:00
Bob Weinand cc51537e5e Do not mix long and int 2013-11-24 22:36:39 +01:00
krakjoe fbfb216966 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 21:34:38 +00:00
krakjoe 99f32e845e change # for J/L 2013-11-24 21:34:25 +00:00
Bob Weinand ce05e41c14 Fixed backtrace class<->method order 2013-11-24 22:30:48 +01:00
krakjoe c41ef19c3b compiler warning 2013-11-24 21:07:53 +00:00
krakjoe be2f097b63 remove annoying blinking 2013-11-24 21:04:52 +00:00
krakjoe e0c4922635 blink/underline 2013-11-24 20:59:22 +00:00
krakjoe 4d735404cf add black 2013-11-24 20:52:39 +00:00
krakjoe e8a7a46faf spelling correction 2013-11-24 20:30:28 +00:00
krakjoe 873ce08d6b add element help for set color command 2013-11-24 20:20:23 +00:00
krakjoe beea71bd25 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 20:16:55 +00:00
krakjoe 5596b2e716 example colour output 2013-11-24 20:16:46 +00:00
Felipe Pena ae7d408acc - Update changelog 2013-11-24 18:15:27 -02:00
Felipe Pena d21e7f5aa0 - CS 2013-11-24 18:14:33 -02:00
Felipe Pena 70cf09bf5b Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-24 18:12:06 -02:00
Felipe Pena 63e53c8ca8 - Added yellow color 2013-11-24 18:11:54 -02:00
Felipe Pena ef7841fb09 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-24 18:01:26 -02:00
Felipe Pena 7371142ca6 - Fix memory leak on exit 2013-11-24 18:01:14 -02:00
krakjoe de61c0c28a Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 20:01:10 +00:00
krakjoe d2e634c1bc userland api for prompt/color commands 2013-11-24 20:00:56 +00:00
krakjoe e62450725c use lowercase alias 2013-11-24 19:47:28 +00:00
Felipe Pena fb88d79cfb - Use macro here 2013-11-24 17:41:00 -02:00
krakjoe c122a3921c correction 2013-11-24 19:35:26 +00:00
krakjoe ddcfa42f15 get good control over colors and prompt 2013-11-24 19:34:18 +00:00
krakjoe c85f247eac make api function and format structure for color management 2013-11-24 17:50:22 +00:00
Felipe Pena bb134a4059 - Missing return 2013-11-24 15:11:15 -02:00
Felipe Pena 5b89e181aa - Added more colors 2013-11-24 15:09:41 -02:00
Felipe Pena 8589c0af91 - Initial work on setting color to prompt 2013-11-24 15:00:30 -02:00
Felipe Pena bfccc292a6 - Fix checking 2013-11-24 13:51:29 -02:00
Felipe Pena 19a923de46 - Keep the color 2013-11-24 13:49:30 -02:00
krakjoe c72c2687da ... 2013-11-24 15:26:02 +00:00
krakjoe e99fd22866 move oplog command to set commands
add help for set commands
move set down in the list of prompt commands
2013-11-24 15:24:12 +00:00
Felipe Pena c7ef093095 - CS 2013-11-24 12:57:53 -02:00
Felipe Pena 900bc9104c - Oppss, forgot to add new files 2013-11-24 12:56:59 -02:00
Felipe Pena 795e12b85e - Added "set prompt" command 2013-11-24 12:54:14 -02:00
Felipe Pena 97f733e60d - Moved information about breakpoints to "info break" 2013-11-24 11:36:29 -02:00
Bob Weinand e10bfd3b79 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 13:27:38 +01:00
Bob Weinand 2800af6e47 Pssst, compiler! 2013-11-24 13:27:22 +01:00
krakjoe 4eb63d996d Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 12:18:00 +00:00
krakjoe 682164ae99 fix windows build warning 2013-11-24 12:17:51 +00:00
Bob Weinand fcdae5867f Added opcode break deleting 2013-11-24 13:14:53 +01:00
krakjoe d9c94663c1 update changelog 2013-11-24 12:09:03 +00:00
krakjoe 3d168401ea Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 12:07:06 +00:00
krakjoe 72ffef13a1 help for delete breakpoint
remove redundant decl
2013-11-24 12:06:45 +00:00
Bob Weinand 81eaf1fe08 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 13:03:31 +01:00
Bob Weinand e8aab62d4d Prevent segfault when no execution context set with "b <num>" 2013-11-24 13:03:00 +01:00
Felipe Pena dfbde3de5e Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-24 10:02:37 -02:00
Felipe Pena 94cc258715 - Fixed format string according to data type 2013-11-24 10:02:23 -02:00
Felipe Pena f4db0669d0 - Passing strlen to phpdbg_set_breakpoint_symbol 2013-11-24 10:00:12 -02:00
Bob Weinand 7c51efd473 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 12:58:19 +01:00
Bob Weinand 2b5c929153 Add breakpoint deleting 2013-11-24 12:58:08 +01:00
Felipe Pena 46c899ba30 - Moved conditional bp checking 2013-11-24 09:45:05 -02:00
Felipe Pena 90ff693d62 - Added print information about opcode breakpoint 2013-11-24 09:43:05 -02:00
Felipe Pena 089bf5e112 - Missing cleaning for opcode bp 2013-11-24 09:25:08 -02:00
Felipe Pena 89d5a3f8b4 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-24 08:17:22 -02:00
Felipe Pena 0edbf74d4e - Update 2013-11-24 08:17:07 -02:00
krakjoe abef3fccc2 typo
set last command/param more carefully
2013-11-24 07:37:54 +00:00
krakjoe 6e8eeea3bc add memory usage info to print 2013-11-24 07:28:54 +00:00
krakjoe b80baeb25e add help for break op command 2013-11-24 07:01:50 +00:00
Felipe Pena c1e140d087 - Fix data type 2013-11-23 23:49:48 -02:00
Felipe Pena f4f6c8f517 - Added gcc attribute to check formatting parameters 2013-11-23 21:58:32 -02:00
Felipe Pena 46f5da1dc1 - Moved breakpoint checking to phpdbg_bp.c file 2013-11-23 21:46:24 -02:00
Felipe Pena 9d9182dfef - Typo 2013-11-23 21:18:21 -02:00
Felipe Pena 70d4ac8ef3 - Moved catch cmd to "break op" cmd 2013-11-23 21:14:16 -02:00
Felipe Pena 6fbffc68ac - Update changelog 2013-11-23 20:07:50 -02:00
Felipe Pena a86d52d81d Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-23 20:03:31 -02:00
Felipe Pena f5c07f61e1 - Added catch command 2013-11-23 20:03:17 -02:00
Bob Weinand a5fb0ae10e Shut up, compiler! 2013-11-23 20:50:25 +01:00
Felipe Pena 603df4a48f Merge pull request #24 from PeeHaa/patch-1
FIX ALL THE TYPOS!
2013-11-23 10:55:09 -08:00
Pieter Hordijk 233c06d129 FIX ALL THE TYPOS! 2013-11-23 19:54:11 +01:00
krakjoe 9712387fc9 update version after release 2013-11-23 18:41:10 +00:00
krakjoe e7fa292493 change version for release 2013-11-23 18:40:28 +00:00
krakjoe cafafb0e01 API decls 2013-11-23 18:12:51 +00:00
krakjoe 1c6e54ecdf support shared build on unix 2013-11-23 17:56:16 +00:00
Felipe Pena 61b484524a Merge pull request #23 from bwoebi/info_literal_fix
Info literal fix
2013-11-23 09:40:59 -08:00
Bob Weinand 003fbd096e Merge branch 'master' of https://github.com/krakjoe/phpdbg into frames 2013-11-23 18:36:39 +01:00
Bob Weinand eb67cb6914 Fixed info literal 2013-11-23 18:36:33 +01:00
Felipe Pena 22b2478f83 Merge pull request #22 from heuripedes/master
fix whitespace in phpdbg.c
2013-11-23 09:33:42 -08:00
Higor Eurípedes ba0b2ad466 fix whitespace in phpdbg.c 2013-11-23 14:30:10 -03:00
krakjoe b76b543cae fix sigint when executing 2013-11-23 17:09:52 +00:00
krakjoe 351a0ac761 fix sigint 2013-11-23 17:01:18 +00:00
krakjoe 97424c4bb9 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-23 16:59:47 +00:00
Felipe Pena f62098ee27 - Exit debugger when hitting ctrl-c in no execution 2013-11-23 15:01:14 -02:00
krakjoe f7ae1126f8 quit on CTRL+C when interactive 2013-11-23 16:59:31 +00:00
Felipe Pena cf227df957 - Fix comment again and checking 2013-11-23 14:51:19 -02:00
Felipe Pena e289dc464a - err, revert 2013-11-23 14:46:38 -02:00
Felipe Pena c8448d7e06 - Fix typo 2013-11-23 14:45:03 -02:00
Felipe Pena b1dab16735 - Include fixed issues 2013-11-23 14:11:59 -02:00
Felipe Pena b3f295c40d - Missing register command 2013-11-23 14:07:04 -02:00
Felipe Pena 32d666b1c1 - Change version 2013-11-23 14:05:30 -02:00
Felipe Pena a8338c1c7c - Update changelog 2013-11-23 14:04:14 -02:00
Felipe Pena fc8b7cb369 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-23 13:35:42 -02:00
Felipe Pena 3a72677e83 - Fix compiler warning 2013-11-23 13:35:30 -02:00
Felipe Pena b0f7344919 - Fixed typo 2013-11-23 13:34:36 -02:00
krakjoe 7cd0ed51ed fix ignore php.ini and override path 2013-11-23 15:11:09 +00:00
krakjoe eafaa65a08 fix infruritating segfault 2013-11-23 14:25:45 +00:00
krakjoe 62cf2bea55 shut up valgrind 2013-11-23 13:42:08 +00:00
krakjoe 86faf2e1b6 fix memory error 2013-11-23 13:35:54 +00:00
krakjoe 42b372431b hardcode log_errors setting 2013-11-23 13:11:47 +00:00
krakjoe 1ce2cdbfc8 -... 2013-11-23 13:05:36 +00:00
krakjoe fc5af4620c do not destroy opcodes on resetting same context 2013-11-23 13:04:27 +00:00
Felipe Pena 968421c145 - Removed unused var 2013-11-22 21:30:26 -02:00
Felipe Pena 4a6f7373a3 - Added support to set breakpoint in the current place 2013-11-22 21:05:25 -02:00
Felipe Pena 7a6ed70552 - Reset frame num here 2013-11-22 20:15:04 -02:00
krakjoe 94ecb5a75f fix windows build 2013-11-22 20:42:57 +00:00
krakjoe 6bf06ac0ba argv example in phpdbginit 2013-11-22 20:11:06 +00:00
krakjoe 88a95efdfa compress help menu 2013-11-22 19:50:13 +00:00
krakjoe e662fd9eb0 merge frame/trace commands from bwoebi
tidy up
add help for frame command
fix help made incorrect by additions
2013-11-22 19:06:31 +00:00
Bob Weinand 0917c754f9 Shut up, compiler! 2013-11-22 19:24:27 +01:00
Bob Weinand 202c1cee39 Fixed segfault + ZTS 2013-11-22 19:16:25 +01:00
Bob Weinand c46a413697 Merge branch 'master' of https://github.com/krakjoe/phpdbg into frames
Conflicts:
	phpdbg.h
	phpdbg_prompt.c
2013-11-22 18:32:00 +01:00
Bob Weinand 5b51fb40e9 Added frames and beautified backtrace 2013-11-22 18:27:55 +01:00
krakjoe 022eb18d1d ... 2013-11-22 16:15:24 +00:00
krakjoe e0c4f87a89 another tut 2013-11-22 13:49:35 +00:00
krakjoe 4fd2edbeb4 initializing tut 2013-11-22 12:38:40 +00:00
krakjoe f1042cb028 ... 2013-11-22 10:40:24 +00:00
krakjoe c51e7e26e9 add readline completion tip to phpdbginit 2013-11-22 10:39:21 +00:00
krakjoe 46a67d15fe better info literal 2013-11-22 09:56:17 +00:00
krakjoe a6bd3807c4 better handling of sigint
info literals command
2013-11-22 09:09:54 +00:00
Felipe Pena ae505ca339 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-21 21:24:21 -02:00
Felipe Pena 601b75731a - WS 2013-11-21 21:19:55 -02:00
Felipe Pena 3db99f7d20 Merge pull request #14 from aurora/master
Fixed typo in Makefile.frag
2013-11-21 13:23:15 -08:00
Felipe Pena 62a104170c - Fixed compiler warning 2013-11-21 19:20:10 -02:00
Harald Lapp bea935f56e Fixed typo in Makefile.frag 2013-11-21 22:15:47 +01:00
krakjoe 8350ca4621 ... 2013-11-21 20:56:28 +00:00
Anatol Belski 696d286911 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed test
  And here is the real fix for #66124
  Fix for Bug #66124 (mysqli under mysqlnd loses precision when bind_param with 'i')
2013-11-21 21:29:35 +01:00
krakjoe cdd72cfda7 housekeeping, moving stuff to appropriate units 2013-11-21 19:47:31 +00:00
krakjoe 8743afbaa4 move opcode stuff to opcode.c 2013-11-21 16:45:12 +00:00
krakjoe a13583d1df use constant numbers 2013-11-21 16:41:41 +00:00
krakjoe a3bcdba660 ws 2013-11-21 16:30:27 +00:00
krakjoe 916164c808 more on disassembler 2013-11-21 16:10:48 +00:00
krakjoe 0488640f4c better output for disassembler 2013-11-21 13:52:20 +00:00
krakjoe c8d408ffac left justify oplines 2013-11-21 13:38:32 +00:00
krakjoe fdde4aa80a var and temp var numbers 2013-11-21 13:35:39 +00:00
krakjoe ed8f64cc80 some work on opline output, incomplete 2013-11-21 11:16:14 +00:00
krakjoe f68fee5054 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-21 09:12:17 +00:00
krakjoe 2001acc372 spelling correcting 2013-11-21 09:12:03 +00:00
Felipe Pena d9b6f06aa0 - Removed unused var 2013-11-20 22:06:44 -02:00
krakjoe e36b718004 fix broken subs 2013-11-20 22:23:34 +00:00
krakjoe 1c046c02b8 tidy 2013-11-20 22:03:36 +00:00
krakjoe 5ec586ce94 restore sanity to commands/handlers/the universe 2013-11-20 21:47:44 +00:00
krakjoe 75e2e7ddf5 stop break on condition from bugging out 2013-11-20 20:29:14 +00:00
Felipe Pena 3c36fb99f2 - Drop unneeded code 2013-11-20 17:28:27 -02:00
Felipe Pena daf2b3e9ae - Update Changelog 2013-11-20 17:26:51 -02:00
Felipe Pena c3f43f0a6e - Added support to break when signaling ctrl+c 2013-11-20 17:16:07 -02:00
Felipe Pena 9ba9abfa2a Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-20 16:52:42 -02:00
Felipe Pena ed16d3b608 - Initial code for signal handling 2013-11-20 16:52:34 -02:00
krakjoe a0c824955c clean build on windows 2013-11-20 18:07:45 +00:00
krakjoe 17baeaa932 fix 2013-11-20 17:48:54 +00:00
krakjoe a81cc6c552 remove unused mshutdown 2013-11-20 17:43:42 +00:00
krakjoe 004249cec9 fix bug, allow init access to vm uninterrupted 2013-11-20 17:09:06 +00:00
krakjoe fdddde0d03 step through eval option 2013-11-20 17:01:37 +00:00
krakjoe 6d0991bad6 ... 2013-11-20 16:52:14 +00:00
krakjoe 311c22277d fix stepping into code from command line 2013-11-20 16:50:12 +00:00
krakjoe 3e8235e988 ... 2013-11-20 16:41:14 +00:00
krakjoe 63c0db3a1d fix eval 2013-11-20 16:32:30 +00:00
krakjoe a0e3cb08e6 Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6 2013-11-20 16:26:21 +00:00
krakjoe 1a1e83a5d9 export more Zend API 2013-11-20 16:24:22 +00:00
krakjoe 12d969558d -r option 2013-11-20 16:19:37 +00:00
krakjoe 53cddbca33 fix Makefile.frag on multicore builds ... possibly 2013-11-20 15:27:35 +00:00
krakjoe 96ae27eee0 update .phpdbginit with more info/example 2013-11-20 15:10:00 +00:00
krakjoe 734bc68375 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-20 14:59:41 +00:00
krakjoe c3444a294e add help for -q 2013-11-20 14:59:28 +00:00
Felipe Pena 0ce0c45191 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-20 12:55:22 -02:00
Felipe Pena 7384570bb2 - Fix extra byte allocation 2013-11-20 12:55:07 -02:00
krakjoe 54d6a99d83 fix strange chars on method breakpoint 2013-11-20 14:47:52 +00:00
krakjoe d5af8a0e48 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-20 14:40:21 +00:00
krakjoe 1ab45b4cce fix broken sub command error 2013-11-20 14:40:08 +00:00
Felipe Pena e3b3dfd7be - Update README 2013-11-20 12:36:48 -02:00
Felipe Pena 54f3dfa6fa - Added option to hide banner 2013-11-20 12:35:25 -02:00
krakjoe 640bf973ce correct help for register command 2013-11-20 14:30:56 +00:00
krakjoe e717662730 fix eval for new input handling 2013-11-20 14:25:15 +00:00
krakjoe 4f5c7a963c ... 2013-11-20 14:21:17 +00:00
krakjoe 7a81ed4b74 fix #13 output buffering not working during execution 2013-11-20 14:19:15 +00:00
krakjoe f92de15a1c align 2013-11-20 13:56:31 +00:00
krakjoe baff6e1d65 tidy alias menu 2013-11-20 13:51:47 +00:00
krakjoe d5388bac79 fix shell command to use new input 2013-11-20 13:43:58 +00:00
Felipe Pena de3b594156 - Fix conflict 2013-11-20 11:31:00 -02:00
Felipe Pena febeeea4ba - Fix conflict 2013-11-20 11:29:58 -02:00
Felipe Pena a0b75a24e5 - Passing input ptr to handlers 2013-11-20 11:28:41 -02:00
krakjoe 13e98cd2c7 don't allocate that, static inline this 2013-11-20 13:09:36 +00:00
krakjoe c10796e7e9 zend expects this to be clean memory 2013-11-20 13:00:28 +00:00
krakjoe 38679621bb Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-20 12:51:57 +00:00
krakjoe cad9fb826b registered functions able to accept any number of arguments 2013-11-20 12:49:47 +00:00
Felipe Pena 4ad50af9ac - CS 2013-11-20 10:10:27 -02:00
Felipe Pena 31e35c2671 - CS 2013-11-20 09:16:02 -02:00
Felipe Pena e7d0032bea - CS 2013-11-20 09:11:23 -02:00
krakjoe 80386a329b improve R 2013-11-20 10:49:39 +00:00
krakjoe dd71744d48 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-20 10:06:29 +00:00
krakjoe 6417e472b4 use new input handling everywhere 2013-11-20 10:04:05 +00:00
Anatol Belski c694d1df7b Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  permanently deactivate that place, not on runtime only
2013-11-20 10:12:06 +01:00
Felipe Pena 3e6f942d1a - Missing function prototype 2013-11-19 20:26:31 -02:00
Yasuo Ohgaki bf91f101a6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  added a test to cover distinction between boolean return value of unserialize function and deserializing serialized boolean
2013-11-20 07:25:04 +09:00
Felipe Pena a1adc8124e - Removed unnecessary check and allocation 2013-11-19 20:13:51 -02:00
Felipe Pena bc278c7013 - Removed unused var 2013-11-19 20:09:19 -02:00
krakjoe 3709ea995c Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-19 21:58:03 +00:00
krakjoe b65cef950a more on functions 2013-11-19 21:54:58 +00:00
Felipe Pena dace704d15 - Check for PHPDBG_DEBUG 2013-11-19 19:53:27 -02:00
Felipe Pena 4672313057 - Removed unused var 2013-11-19 19:40:01 -02:00
Felipe Pena 2e3723f08f - Cosmetic changes 2013-11-19 19:35:45 -02:00
Felipe Pena 3853f5b370 - Added phpdbg_trim() 2013-11-19 19:26:40 -02:00
Jeff Welch b4210efe76 Fixed tests that fail with non-default serialize_precision configurations.
See:

 * https://bugs.php.net/bug.php?id=64760
 * 4dc4302
2013-11-20 06:14:32 +09:00
Felipe Pena dee048c22a - WS, removed unused var 2013-11-19 19:02:38 -02:00
krakjoe 5af371409c debugging new input stuff 2013-11-19 20:27:23 +00:00
krakjoe 1a2618b229 avoid memory error 2013-11-19 19:36:39 +00:00
krakjoe 99a1414924 show where 2013-11-19 19:35:48 +00:00
krakjoe cfc62cdbe0 cleanup 2013-11-19 19:24:21 +00:00
krakjoe 13b0ef71b5 ... 2013-11-19 19:11:18 +00:00
krakjoe 690a3202fd escaped strings 2013-11-19 19:10:09 +00:00
krakjoe 8ac46de2cf argc/argv started 2013-11-19 17:18:58 +00:00
krakjoe 71811f1f7f include registered functions in help for register command 2013-11-19 14:28:57 +00:00
krakjoe b237401167 fix broken repeat command 2013-11-19 14:06:33 +00:00
krakjoe b2a19a42d1 removed a loop 2013-11-19 13:22:46 +00:00
krakjoe cf4b451d39 bail on fail for console input, fix - ./phpdbg 2013-11-19 13:11:45 +00:00
krakjoe 73e7f5c645 more tidy 2013-11-19 13:00:04 +00:00
krakjoe d906613eb5 tidy up reading input, avoid leaks, restore sanity 2013-11-19 12:39:48 +00:00
Remi Collet 8c05e861d6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  avoid doing a stream_select on a closed stream
2013-11-19 12:42:44 +01:00
krakjoe 924d5bdbe6 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-19 10:59:45 +00:00
krakjoe 2ebb9e48be better call register 2013-11-19 10:56:50 +00:00
Felipe Pena d45e882573 - Fixed memory issue 2013-11-19 08:53:51 -02:00
Felipe Pena e863e71234 - Removed unused variable 2013-11-19 08:49:44 -02:00
krakjoe 7c077f7040 ordering 2013-11-19 01:56:33 +00:00
krakjoe 54aaf898ca ... 2013-11-19 01:51:56 +00:00
krakjoe fb6df2fa08 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-19 01:50:38 +00:00
krakjoe 9ebc61f282 help for register better formatting for help menu 2013-11-19 01:48:21 +00:00
Felipe Pena db8f825414 - Fix build 2013-11-18 23:30:57 -02:00
krakjoe 0250a0992c don't dtor that 2013-11-19 01:22:02 +00:00
krakjoe dc1cd94dec Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-19 01:19:01 +00:00
krakjoe 599047f153 register functions, needs work 2013-11-19 01:18:43 +00:00
Felipe Pena 11b8fcf974 - Update changelog 2013-11-18 22:21:02 -02:00
krakjoe a37de13a20 correction to print stack 2013-11-18 23:49:57 +00:00
krakjoe af20f1a474 fix memory errors when printing execution context 2013-11-18 23:48:10 +00:00
krakjoe 407ab7d57e make errors stand out more, don't duplicate output 2013-11-18 23:41:57 +00:00
krakjoe d82eca8c86 add resource type to info 2013-11-18 23:18:22 +00:00
krakjoe 1051564059 changes to info 2013-11-18 23:04:20 +00:00
krakjoe 7f73c7486a no data in variable info, too messy with normal objects 2013-11-18 22:45:16 +00:00
krakjoe f141481cf2 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-18 22:18:29 +00:00
Felipe Pena 3660929530 - WS, removed unused var 2013-11-18 20:12:27 -02:00
krakjoe 2bd7ed4288 tidy vars 2013-11-18 22:10:41 +00:00
Felipe Pena 723c671750 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-18 20:08:31 -02:00
krakjoe 7b65a29471 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-18 22:04:36 +00:00
krakjoe a582d2793d fix memory errors 2013-11-18 21:59:42 +00:00
Felipe Pena b4d9fbdbff - WS 2013-11-18 19:59:15 -02:00
Felipe Pena 8951406678 - Fix valgrind reports + CS 2013-11-18 19:55:29 -02:00
Andrea Faulds 35b463a2c5 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Updated NEWS
  Removed UPGRADING note
  Rewrote test using tcp instead of http:// stream
  Implemented FR #65917 (getallheaders() is not supported by the built-in...)
2013-11-18 21:43:59 +00:00
Felipe Pena a1156cae5c - Avoid to show number of variable 2013-11-18 19:36:25 -02:00
Felipe Pena b649693a90 - Removed unused variable 2013-11-18 19:32:28 -02:00
krakjoe 9b30877d56 fix memory error 2013-11-18 20:20:07 +00:00
krakjoe 9190e783a2 no more allocing params 2013-11-18 18:05:37 +00:00
krakjoe 75bc53d7de avoid leaks from parameters 2013-11-18 17:51:14 +00:00
krakjoe c78d9bf283 update image 2013-11-18 17:15:44 +00:00
krakjoe 9a5d51555e remove changes 2013-11-18 17:05:34 +00:00
krakjoe 7a30a79fd4 improve uncaught exception handler 2013-11-18 17:00:26 +00:00
krakjoe e02c26d1f5 correction to aliases 2013-11-18 14:51:08 +00:00
krakjoe 93c5968e72 tidy help 2013-11-18 14:47:27 +00:00
krakjoe e349330a6f Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-18 14:25:29 +00:00
krakjoe 508ac961aa add stack printer
add alias examples in help
tidy up in help
2013-11-18 14:24:58 +00:00
Felipe Pena 4a1cb2262e - Removed unused variables 2013-11-18 12:09:25 -02:00
krakjoe 9b7b7c4a39 don't resize window on windows anymore, not required 2013-11-18 13:29:08 +00:00
krakjoe 8588f5cc84 compress text/tidy up 2013-11-18 13:23:28 +00:00
krakjoe a1478217ce corrections 2013-11-18 13:07:13 +00:00
krakjoe d34f1e59c0 help for shell command 2013-11-18 13:03:33 +00:00
krakjoe e7e3dbccbf shell command 2013-11-18 12:46:10 +00:00
krakjoe 81e1f70e52 change message, it's wrong 2013-11-18 12:09:01 +00:00
krakjoe 858629b600 destroy displayed exception and reset eg 2013-11-18 12:06:06 +00:00
krakjoe 57b67d71b0 display uncaught exceptions 2013-11-18 11:51:41 +00:00
kovacs.ferenc 2042d78fce Merge branch 'JSONCaseFix' of git://github.com/TazeTSchnitzel/php-src into TazeTSchnitzel-JSONCaseFix 2013-11-18 12:12:24 +01:00
krakjoe 5cc88ca88a fix stack entry detection for symbol breakpoints
count yield as return for leave/finish
2013-11-18 11:04:24 +00:00
krakjoe c70c156ca1 seek ZEND_YIELD 2013-11-18 10:32:33 +00:00
krakjoe 775376b362 better way to detect leave/finish 2013-11-18 03:18:37 +00:00
krakjoe 8ada4342a4 don't be lazy, scan for ZEND_RETURN when setting seek opline 2013-11-18 02:14:17 +00:00
krakjoe 5b4837846a clean flags on run 2013-11-18 01:50:28 +00:00
krakjoe a1620a7bb4 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-18 01:45:03 +00:00
krakjoe 07c0dc00cb fixup until/leave/finish 2013-11-18 01:44:46 +00:00
Felipe Pena 7e2a4bcc94 - WS 2013-11-17 23:18:12 -02:00
Felipe Pena a84ac64585 - WS 2013-11-17 23:08:53 -02:00
Felipe Pena f72b2d6c7c - Move phpdbg_welcome to phpdbg.c and staticfy it 2013-11-17 23:07:57 -02:00
Felipe Pena 66494ad94e - CS 2013-11-17 23:05:14 -02:00
Felipe Pena a7c4a6c21b - Removed unreached break stmt 2013-11-17 23:04:46 -02:00
Felipe Pena 44168c36a8 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-17 22:56:07 -02:00
Felipe Pena 2941a4ab50 - print command has optional arguments 2013-11-17 22:55:52 -02:00
krakjoe f9a66f0d44 brifer 2013-11-18 00:42:07 +00:00
krakjoe e97fcb4592 try another layout 2013-11-18 00:27:21 +00:00
Joe Watkins 27ae287c49 fix window size on windows
make window as big as possible on windows for readability
2013-11-18 00:23:04 +00:00
Joe Watkins 0966cad651 fix mmap in windows
fix mmap in windows
2013-11-17 23:48:07 +00:00
Joe Watkins ff2abccc4b fix windows build
fix windows build and add header
2013-11-17 23:34:11 +00:00
Felipe Pena eef21c186c - Rename has_args to arg_type 2013-11-17 20:07:19 -02:00
Felipe Pena 35601e6fec - Fix argument information 2013-11-17 20:05:21 -02:00
Felipe Pena 09391b1f72 - WS 2013-11-17 19:04:39 -02:00
Felipe Pena 0f7b4b3c30 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-17 19:02:22 -02:00
Felipe Pena d054172a33 - Clean up command macros
- Added flag to specify no argument, required argument and optional argument
2013-11-17 19:01:41 -02:00
Felipe Pena e514804cac - WS 2013-11-17 17:40:49 -02:00
krakjoe dbe8b26ab7 force clean build every time, no room for error 2013-11-17 19:10:12 +00:00
krakjoe 635466b609 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-17 19:07:12 +00:00
krakjoe cf5ef86a86 correction 2013-11-17 19:07:02 +00:00
Felipe Pena f2e4e63b5e Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-17 17:01:19 -02:00
Felipe Pena 66588d7ff7 - Implemented "info error" command 2013-11-17 17:00:59 -02:00
krakjoe 25d24f2ed9 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-17 18:57:34 +00:00
krakjoe 6acf069c58 added info funcs 2013-11-17 18:55:06 +00:00
Felipe Pena 2c9dbc6b62 - Fix conflict 2013-11-17 16:45:08 -02:00
Felipe Pena 31f45d5457 - Added "info vars" to show active variables 2013-11-17 16:43:37 -02:00
krakjoe 0230f7cd18 tidy 2013-11-17 18:33:34 +00:00
krakjoe 7c76e45410 info classes + help 2013-11-17 18:26:56 +00:00
Felipe Pena 33098232dc - Fix conflict 2013-11-17 14:13:13 -02:00
Felipe Pena 478446b665 - Added macro for trailling command 2013-11-17 14:10:43 -02:00
krakjoe 02e3718ef9 fix segfault when autoglobals are not properly setup 2013-11-17 16:06:30 +00:00
Felipe Pena 4ee192ae3d - Use macro here 2013-11-17 14:05:10 -02:00
krakjoe a0151e91a5 fix list not working when exec is set but not executing 2013-11-17 15:57:49 +00:00
Felipe Pena 17cc942e7c Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-17 13:42:46 -02:00
Felipe Pena ca32181b1c - Initial code for info command 2013-11-17 13:42:34 -02:00
krakjoe 2ba9e9306f leave function + help 2013-11-17 15:39:23 +00:00
krakjoe e2f20c57c1 finish? 2013-11-17 15:01:22 +00:00
Felipe Pena f2b8cdc5be - Added finish/f command 2013-11-17 11:59:21 -02:00
Felipe Pena 146520f045 - Missing credits 2013-11-17 10:40:51 -02:00
Felipe Pena 180bb579bf - Fix trailling newline handling 2013-11-17 10:23:50 -02:00
Felipe Pena f51a08b6d6 - Fix conflict 2013-11-17 10:12:10 -02:00
Felipe Pena 4eb20ecfe7 - Drop unneeded parenthesis 2013-11-17 10:10:02 -02:00
krakjoe ced99e1b1d fix whitepsace in here first 2013-11-17 12:07:01 +00:00
Felipe Pena 677aa7baa7 - Change error message 2013-11-17 09:37:14 -02:00
krakjoe 605adfc613 phpdbg_default_switch_case(); in list lines 2013-11-17 11:31:09 +00:00
Felipe Pena 1e0d92975e Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-17 09:29:13 -02:00
Felipe Pena dd25fb44fd - Fix conflict 2013-11-17 09:28:14 -02:00
krakjoe f2edc066f2 fix compiler warning 2013-11-17 11:17:47 +00:00
Felipe Pena c302c94b0a - Use offset when listing active file and reuse list handler code 2013-11-17 09:15:53 -02:00
krakjoe dcead8ea90 add highlight param to file listing 2013-11-17 11:11:09 +00:00
krakjoe 5768e98cb0 correction 2013-11-17 09:36:14 +00:00
krakjoe 22ae0d51a1 add print exec command to show current execution context instructions
make phpdbg_compile public
2013-11-17 09:30:44 +00:00
Xinchen Hui 140a42f779 Merge branch 'PHP-5.5' into PHP-5.6 2013-11-17 17:20:13 +08:00
krakjoe 434949c5b4 consistency in prompt/list, do not return FAILURE from command handlers 2013-11-16 23:35:11 +00:00
krakjoe 8f4f4f0628 uniform code in print.c 2013-11-16 23:25:33 +00:00
krakjoe a28ea698b8 cleanup in list ... last time 2013-11-16 23:11:39 +00:00
krakjoe 7bc369399b switches in list.c, be consistent in all command handlers 2013-11-16 22:58:30 +00:00
krakjoe b424771ce8 stat before setting breakpoints on files
default switch case for command handlers
trace route through handler tree for debugging etc **selected
2013-11-16 22:40:01 +00:00
krakjoe 102e3477d7 remove more no expression provided messages 2013-11-16 21:28:59 +00:00
krakjoe f0ed181081 get rid of No Expression Provided messages, not required anymore 2013-11-16 21:25:22 +00:00
krakjoe 593e7b28e8 stat execution context and check it is a regular file or symlink 2013-11-16 21:23:14 +00:00
krakjoe 5a0422d8c6 establish relationship between parent and child commands
extend alias help
automatically invoke child commands
2013-11-16 20:57:10 +00:00
krakjoe dd89817362 include all alias and child command information in help 2013-11-16 19:39:14 +00:00
krakjoe 80b82cd538 add list class and method commands
update help text to be more specific
2013-11-16 18:53:12 +00:00
krakjoe f03b6b4433 update bootstrap 2013-11-16 15:37:00 +00:00
krakjoe 74651f8d68 ... 2013-11-16 14:58:16 +00:00
krakjoe 7acf88322b fix is_class_method (needs revision)
don't free last (needs revision)
2013-11-16 14:55:53 +00:00
krakjoe cf58c7cea3 make handlers take phpdbg_param_t 2013-11-16 14:34:49 +00:00
krakjoe 10ec0ee8b1 move phpdbg_param_t to phpdbg.c|h
add string length and type to param_t (made struct instead of union)
typedef enumerated param types
add some error messages when command recieves unsupported values
2013-11-16 13:15:00 +00:00
Felipe Pena bff5abfd95 - Fixed possible memleak 2013-11-16 10:02:35 -02:00
Felipe Pena 515f7806c5 - Fixed repeat-last-command feature for next and until command 2013-11-16 09:50:25 -02:00
Felipe Pena 44d27200f6 - Fix compiler warning 2013-11-16 09:34:23 -02:00
krakjoe 403072e488 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-16 11:12:22 +00:00
krakjoe 19ada893cb add phpdbg_debug function and --enable-phpdbg-debug configure option
added debug statement to do_cmd in preparation for updates
2013-11-16 11:11:47 +00:00
Felipe Pena 0629f32afc - Added changelog file 2013-11-16 09:08:54 -02:00
Felipe Pena 25b9a366e4 - Implemented issue #11 (until command) 2013-11-16 08:59:50 -02:00
krakjoe 3cb6af2cc1 add clean-phpdbg rule to Makefile.frag to aid development 2013-11-16 10:39:12 +00:00
krakjoe 7a56e9bc84 fix segfault on some implementations of atoi 2013-11-15 20:52:48 +00:00
Christopher Jones 81d0ba10ba Update NEWS 2013-11-15 12:37:52 -08:00
Christopher Jones 419bef3070 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  This is CLI web server change.  Added some common MIME types to the existing lookup list, pending a more thorough lookup solution, if anyone wants to do that.  Ref http://news.php.net/php.internals/69990
2013-11-15 12:37:17 -08:00
Felipe Pena 1cbc914406 - Back to development 2013-11-15 18:21:36 -02:00
Felipe Pena d83c7c27d2 - Preparing for first release 2013-11-15 18:10:04 -02:00
Felipe Pena cd8efea14d Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-15 14:24:34 -02:00
Felipe Pena d13c02bf68 - Fix compiler warning 2013-11-15 14:24:22 -02:00
krakjoe 95f5d779ba arginfo for userland functions 2013-11-15 16:22:20 +00:00
krakjoe 8c67cf30b5 cleanup 2013-11-15 16:17:57 +00:00
krakjoe 24c6e3c317 add oplog status to context information on print command 2013-11-15 16:12:27 +00:00
krakjoe ae5f0d0f27 ... 2013-11-15 16:09:40 +00:00
krakjoe 1b615298bf tidy example 2013-11-15 15:59:54 +00:00
krakjoe 057f11c4ca extend userland api phpdbg_break function 2013-11-15 15:54:14 +00:00
krakjoe 38ed8d89d0 remove additional switch 2013-11-15 15:34:48 +00:00
krakjoe a3f2137173 ... 2013-11-15 15:26:51 +00:00
krakjoe b63fd6d261 embed code in .phpdbginit 2013-11-15 14:53:40 +00:00
Felipe Pena 8b41387343 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-15 09:27:18 -02:00
Felipe Pena 00159635ad - Removed unused var 2013-11-15 09:27:05 -02:00
krakjoe f304541589 ... 2013-11-15 11:21:30 +00:00
krakjoe aeeba85221 implement 5.4 support 2013-11-15 11:19:26 +00:00
Remi Collet 4508a84d0d Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  NEWS
  Fix Bug #65714 	PHP cli forces the tty to cooked mode
2013-11-15 09:53:07 +01:00
krakjoe 76ec5635a4 include conditional breakpoints in out 2013-11-14 23:06:31 +00:00
krakjoe ad73291405 swap welcome/init around 2013-11-14 21:51:55 +00:00
krakjoe 9516dc4269 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-14 21:40:44 +00:00
krakjoe 2a2c88cace change image on tutorial 2013-11-14 21:40:34 +00:00
Felipe Pena 99f35d72f1 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-14 19:40:25 -02:00
Felipe Pena 0896236a7a - Change comment style 2013-11-14 19:39:59 -02:00
krakjoe 0144192e0b .. 2013-11-14 21:37:07 +00:00
krakjoe 918703ff94 tidy 2013-11-14 21:20:37 +00:00
krakjoe 04149df489 update image 2013-11-14 21:18:12 +00:00
krakjoe 4c62cc97e4 better description 2013-11-14 21:15:47 +00:00
krakjoe c3c95610c1 ... 2013-11-14 21:13:29 +00:00
krakjoe 582a84d728 correction 2013-11-14 21:12:51 +00:00
krakjoe f2212c05c7 add opline logging and setup including command line option 2013-11-14 21:10:44 +00:00
Adam Harvey 3683713b2c Merge branch 'PHP-5.5' into PHP-5.6
Conflicts:
	NEWS
2013-11-14 10:52:43 -08:00
krakjoe 365b5db1f6 ... 2013-11-14 18:52:26 +00:00
krakjoe d948ea62cb correction 2013-11-14 18:51:45 +00:00
krakjoe cd956373ba help for command line options 2013-11-14 18:50:34 +00:00
krakjoe 5da544ecb3 correction 2013-11-14 17:32:10 +00:00
krakjoe 1e19001693 example .phpdbginit 2013-11-14 17:29:21 +00:00
krakjoe 6b864a8b0f fix crash when .phpdbginit quits 2013-11-14 17:03:36 +00:00
krakjoe 5147c87f2c updates 2013-11-14 17:00:51 +00:00
krakjoe 1ee3950747 implement init file and command line options 2013-11-14 16:58:50 +00:00
krakjoe 1544562b49 fix case sensitivity in print func command 2013-11-14 16:29:48 +00:00
krakjoe 6c6779d474 fix case sensitivity in print method command 2013-11-14 16:25:55 +00:00
krakjoe fb1ee0bbf6 ... 2013-11-14 16:17:22 +00:00
krakjoe e4fefee020 fix stepping 2013-11-14 16:14:20 +00:00
krakjoe b4de11a2b4 ... 2013-11-14 16:03:40 +00:00
krakjoe 6a3194a47d move listing commands out to their own command list
add TSRMLS_CC in clear_param for consistency
2013-11-14 15:46:06 +00:00
krakjoe 7763b0b383 phpdbg_init from file & command line option (no impl yet) 2013-11-14 14:14:13 +00:00
krakjoe 1107ccef99 fix for calculator hardware :) 2013-11-14 13:48:13 +00:00
krakjoe 22a3a2394f Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-14 13:05:37 +00:00
krakjoe 8e597eba07 additional checks in is_* 2013-11-14 13:04:59 +00:00
Felipe Pena b4ff86b79b Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-14 10:40:15 -02:00
Felipe Pena 1d7562bb99 - Added .gdbinit 2013-11-14 10:40:01 -02:00
krakjoe 187d1c726b fix duplicate message on print .func if no active class 2013-11-14 12:29:23 +00:00
krakjoe 4283b125c9 alias printing commands 2013-11-14 12:25:19 +00:00
krakjoe dc580c685f fix quit not working 2013-11-14 12:21:28 +00:00
krakjoe 801a575c47 fix crash on clean 2013-11-14 11:30:31 +00:00
krakjoe dcb6906bc4 fix crash when cleaning environment
fix crash when specifying exec on command line
2013-11-14 11:13:21 +00:00
krakjoe 6eba5c6664 clear conditional breaks in uapi 2013-11-14 09:18:06 +00:00
krakjoe 695decf7e1 TSRMLS_CC missing 2013-11-14 07:46:30 +00:00
Felipe Pena 2475207588 - Missing break 2013-11-13 22:30:03 -02:00
Felipe Pena 0eea7e4504 - Cosmetic changes 2013-11-13 22:29:44 -02:00
Felipe Pena b91a5053f8 - Cosmetics 2013-11-13 22:16:41 -02:00
Felipe Pena 782615ac1c - Use realpath on PHPDBG_G(exec) 2013-11-13 21:36:02 -02:00
Felipe Pena d074b7a9df Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-13 21:13:54 -02:00
Felipe Pena 4c59ad6e2e - Added parameter parsing functions 2013-11-13 21:13:41 -02:00
krakjoe 0c2a76ad5f Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-13 22:18:35 +00:00
krakjoe 453194d0ac change defaults for windows 2013-11-13 22:18:20 +00:00
Joe Watkins 667456529a windows preview image 2013-11-13 21:48:04 +00:00
Felipe Pena 9840c6ae97 - Unnesting some code 2013-11-13 19:43:54 -02:00
Felipe Pena b81236d694 - Removed double checking + ws changes 2013-11-13 19:31:33 -02:00
Felipe Pena 9bc6296fe0 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-13 19:27:38 -02:00
Felipe Pena 0cc067aa81 - Added check for file context on "break lineno" and name length on "break func" 2013-11-13 19:27:24 -02:00
krakjoe a43bc6ef91 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-13 21:15:57 +00:00
krakjoe 3f927019cb updates for windows 2013-11-13 21:15:45 +00:00
Felipe Pena 388b132d31 - Fixed crash when supplied invalid syntax to "break file" 2013-11-13 19:11:45 -02:00
krakjoe 1c1cc51295 ... 2013-11-13 19:32:21 +00:00
krakjoe 0bc987c9b4 fix clashing 2013-11-13 18:17:06 +00:00
krakjoe 375c90324c ... 2013-11-13 17:39:53 +00:00
krakjoe 188f4d3c51 aliasing commands 2013-11-13 17:35:51 +00:00
krakjoe a6a909101f ... 2013-11-13 14:53:28 +00:00
krakjoe f6d45107b2 show conditionals 2013-11-13 14:50:13 +00:00
krakjoe 072622e799 don't allow conditionals to be executed by eval()'d code 2013-11-13 14:41:25 +00:00
krakjoe b81005f94b ... 2013-11-13 14:32:36 +00:00
krakjoe 57ae58c9bf support conditional breakpoints 2013-11-13 14:22:01 +00:00
Remi Collet 74ab30e216 fix merge 2013-11-13 13:21:12 +01:00
Joe Watkins bc610565fc Merge pull request #10 from salathe/patch-1
Small grammar changes
2013-11-13 03:47:10 -08:00
Peter Cowburn 3bac20c598 Small grammar changes 2013-11-13 10:54:58 +00:00
krakjoe f55acc410c ... 2013-11-13 10:39:36 +00:00
krakjoe 03b43e3404 consistency 2013-11-13 10:35:25 +00:00
krakjoe 4def1ab3a9 ... 2013-11-13 10:32:54 +00:00
krakjoe 68ba58ee48 move image from root 2013-11-13 10:31:03 +00:00
krakjoe af1bb02dab ... 2013-11-13 10:26:27 +00:00
krakjoe ed3339f627 ... 2013-11-13 10:25:51 +00:00
krakjoe 9b616b17c9 ... 2013-11-13 10:25:14 +00:00
krakjoe ae1c05944c ... 2013-11-13 10:17:53 +00:00
krakjoe 7928d1f9e2 ... 2013-11-13 10:16:09 +00:00
krakjoe ae683043e2 ... 2013-11-13 10:10:47 +00:00
krakjoe b74dda9576 ... 2013-11-13 09:55:42 +00:00
krakjoe 0f2c75efb2 add intro tutorial 2013-11-13 09:55:06 +00:00
krakjoe 216c1f5e99 show printing image 2013-11-13 09:39:43 +00:00
krakjoe 34ca093f65 add show verbose execution image 2013-11-13 09:33:22 +00:00
krakjoe 459232e7b7 ... 2013-11-13 09:22:22 +00:00
krakjoe 2ee351d90b show break screen image 2013-11-13 09:17:58 +00:00
krakjoe 9967c7d6bb break help image 2013-11-13 09:03:58 +00:00
krakjoe f4f8246de9 help image 2013-11-13 08:29:00 +00:00
krakjoe b72a37dc5f tutorials directory for images and markdown 2013-11-13 08:23:40 +00:00
krakjoe 8b7ab83014 clean up build 2013-11-13 08:11:23 +00:00
krakjoe 5e266f34fc non readline fixes 2013-11-13 08:05:26 +00:00
krakjoe b6c4fbee1b ... 2013-11-13 05:39:18 +00:00
krakjoe 99bbc8e811 method printer 2013-11-13 05:36:01 +00:00
krakjoe 88ad7f9279 more detailed opline 2013-11-13 04:47:07 +00:00
krakjoe 63a0c1ca15 ... 2013-11-13 04:34:02 +00:00
krakjoe a6d08af06b fix leak from readline 2013-11-13 04:20:39 +00:00
krakjoe 176f995c24 activate globals 2013-11-13 04:04:41 +00:00
krakjoe 60a8d908ce ... 2013-11-13 03:04:47 +00:00
krakjoe 0354bab777 ... 2013-11-13 02:59:10 +00:00
krakjoe 2464629b5c fix 2013-11-13 02:50:00 +00:00
krakjoe fec3b77a0f ... 2013-11-13 02:48:22 +00:00
krakjoe 0ade5f0d9d fix list length lookup 2013-11-13 02:43:09 +00:00
krakjoe 94e887cf2a ... 2013-11-13 02:39:02 +00:00
krakjoe efee212045 class/func printers 2013-11-13 02:26:37 +00:00
krakjoe 0781e7b863 fix segfault on set break opline address 2013-11-13 01:44:59 +00:00
krakjoe 68cff82d8b class printer 2013-11-13 01:35:39 +00:00
krakjoe 43c2748dce fix bug in passing correct expression length
add class printer (half done)
2013-11-13 00:36:47 +00:00
krakjoe 5204026308 housework 2013-11-12 23:54:41 +00:00
krakjoe a8285e3bbf no more printf 2013-11-12 23:43:49 +00:00
krakjoe ce78503e15 remove more printf 2013-11-12 23:31:46 +00:00
krakjoe afa216fd7e deploy _write 2013-11-12 23:17:37 +00:00
krakjoe a712674964 added phpdbg_write to replace all the printf 2013-11-12 23:10:53 +00:00
Felipe Pena ff54d20b58 - Fix prototype and memory leak 2013-11-12 20:55:39 -02:00
Felipe Pena 5d435cb831 - Spred more some macro usage instead of phpdbg_print() 2013-11-12 20:48:52 -02:00
Felipe Pena 27f640d879 - Added phpdbg_notice() and phpdbg_error() 2013-11-12 20:39:39 -02:00
Felipe Pena bbd523e5cb - Cosmetic 2013-11-12 19:40:15 -02:00
Nikita Popov dc4bf922d9 Allow $num=0 in array_fill()
Implemented request #49824.
2013-11-12 22:02:51 +01:00
Felipe Pena e8cb646fed - Fix compiler warning 2013-11-12 16:53:48 -02:00
krakjoe 6b3b14e8dd ... 2013-11-12 16:13:14 +00:00
krakjoe b6f5b64c61 ... 2013-11-12 16:07:59 +00:00
krakjoe c43d5a558f ... 2013-11-12 16:04:41 +00:00
krakjoe 803303057a fix output from print command to show all breakpoints 2013-11-12 15:51:30 +00:00
Felipe Pena 9c37190876 - Fix allocation size 2013-11-12 13:17:24 -02:00
Felipe Pena edbb1313a1 - Simplify code 2013-11-12 13:10:29 -02:00
Felipe Pena 5a3285ae99 - Cosmetic change 2013-11-12 11:44:36 -02:00
Felipe Pena 2e14649c92 - Added check for malformed class::method syntax 2013-11-12 11:39:02 -02:00
Felipe Pena b133dbefe0 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-12 11:34:09 -02:00
Felipe Pena af90b6d5c7 - Improved breakpoint code 2013-11-12 11:33:51 -02:00
krakjoe 4269b29c03 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 13:23:54 +00:00
krakjoe 277b10a5c0 ... 2013-11-12 13:21:55 +00:00
Felipe Pena fdf26eaa0f - Removed name member to opline breakpoints 2013-11-12 11:07:35 -02:00
Felipe Pena fe7a3ef578 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-12 10:58:30 -02:00
Felipe Pena ffad3fa211 - Implemented "break N" where N is the line number on the current file 2013-11-12 10:58:19 -02:00
krakjoe 3168b7b057 more windows 2013-11-12 12:38:04 +00:00
krakjoe 9e47ce64ac windows 2013-11-12 12:11:02 +00:00
krakjoe 6cc7a5784e windows 2013-11-12 12:10:53 +00:00
krakjoe 7f743e1fca ... 2013-11-12 09:52:59 +00:00
krakjoe 1d373be4fb updates to helpers 2013-11-12 09:26:26 +00:00
krakjoe 83852d3bb7 ... 2013-11-12 08:28:03 +00:00
krakjoe c00abb0e75 printer commands 2013-11-12 08:26:11 +00:00
krakjoe ff4c0c9397 ... 2013-11-12 07:09:07 +00:00
krakjoe 6c5831aa09 ... 2013-11-12 07:08:00 +00:00
krakjoe 25475ff95e ... 2013-11-12 07:01:28 +00:00
krakjoe 4b2490426f web-bootstrap example 2013-11-12 06:57:56 +00:00
krakjoe bb715ac77d ... 2013-11-12 06:47:33 +00:00
krakjoe f566a6136b additional list option, class methods 2013-11-12 06:43:23 +00:00
krakjoe a29c0e5c96 ... 2013-11-12 06:31:29 +00:00
krakjoe f452364060 ... 2013-11-12 06:29:54 +00:00
krakjoe fd0aeb5b53 ... 2013-11-12 06:05:24 +00:00
krakjoe 78418cc38c ... 2013-11-12 06:04:32 +00:00
krakjoe 4112330bb5 colourfulness 2013-11-12 06:03:37 +00:00
krakjoe 12926b6aa9 ... 2013-11-12 04:54:41 +00:00
krakjoe 6c317b771e more command line options 2013-11-12 04:53:04 +00:00
krakjoe bf8a9c141f readline 2013-11-12 04:22:33 +00:00
krakjoe 33f0502f19 readline support #6 2013-11-12 04:20:14 +00:00
krakjoe 97d4052bb8 ... 2013-11-12 03:14:56 +00:00
krakjoe 08973a6bf5 ... 2013-11-12 03:04:12 +00:00
krakjoe 3097c36f30 more help 2013-11-12 03:02:42 +00:00
krakjoe ed690e1899 ... 2013-11-12 02:59:10 +00:00
krakjoe 94c32c7256 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:52:54 +00:00
Felipe Pena 5785df4957 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-12 00:54:35 -02:00
Felipe Pena f704fdea57 - Not needed strlen() here 2013-11-12 00:54:22 -02:00
krakjoe 32acf4736b ... 2013-11-12 02:52:43 +00:00
krakjoe 69a8403175 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:50:44 +00:00
krakjoe b9c1c872f6 ... 2013-11-12 02:50:24 +00:00
Felipe Pena 6658f58d4a - Added phpdbg_is_empty function 2013-11-12 00:50:15 -02:00
krakjoe 79ab9a3f74 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:35:29 +00:00
krakjoe 8c91727484 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:35:07 +00:00
Felipe Pena bd432b995e - Update list cmd description 2013-11-12 00:34:10 -02:00
krakjoe c7b51537a0 fix 2013-11-12 02:29:56 +00:00
Felipe Pena 6aad2ee42c - Fix function 2013-11-12 00:28:52 -02:00
Felipe Pena 629b96295e - Fix conflict 2013-11-12 00:25:30 -02:00
Felipe Pena e32d511cec - Added "list func" support 2013-11-12 00:19:43 -02:00
krakjoe d7e09f9564 blurb/version/issues string 2013-11-12 02:04:54 +00:00
krakjoe fa3056c833 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 01:58:39 +00:00
krakjoe c2365d8283 compress globals 2013-11-12 01:51:50 +00:00
Felipe Pena 77cb82dd22 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-11 23:41:29 -02:00
Felipe Pena 8ec5d30097 - Added PHPDBG_BP_MASK macro 2013-11-11 23:41:14 -02:00
krakjoe 8de21cb2e2 [Not running] 2013-11-12 01:31:51 +00:00
Felipe Pena 9d18e1dc3e Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-11 23:31:08 -02:00
krakjoe 8586a1b4cc ... 2013-11-12 01:27:48 +00:00
krakjoe 749e0cfc36 condense globals
introduce flags
sensible silence and stepping
2013-11-12 01:24:53 +00:00
krakjoe 0a6804a986 ... 2013-11-12 00:47:27 +00:00
krakjoe ef134e585f ... 2013-11-12 00:40:40 +00:00
krakjoe 179debd730 ... 2013-11-12 00:36:00 +00:00
Felipe Pena c9c61da288 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-11 22:33:26 -02:00
Felipe Pena 217c906ea5 - Improve error message and added check for fstat return 2013-11-11 22:33:17 -02:00
krakjoe 95d33c18a0 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 00:28:48 +00:00
krakjoe e0cbd92fa4 break on class methods
don't dtor eval'd retval
more reliable break on methods
2013-11-12 00:27:48 +00:00
Felipe Pena bbc35b60f9 - Added check for no context file 2013-11-11 22:24:24 -02:00
Felipe Pena 36d2329187 - Added initial code for list command 2013-11-11 21:40:03 -02:00
Andrea Faulds 91779db95b Fixed case part of bug #64874 ("json_decode handles whitespace and case-sensitivity incorrectly") 2013-11-11 22:54:16 +00:00
Felipe Pena d61fa4cc52 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-11 20:06:49 -02:00
Felipe Pena b5b7935d40 - Added lineno to breakpoint message 2013-11-11 20:06:36 -02:00
Felipe Pena dd4e962c56 - WS 2013-11-11 20:02:34 -02:00
krakjoe de3daf55c5 ... 2013-11-11 21:51:45 +00:00
krakjoe bce3481ed3 update 2013-11-11 17:37:59 +00:00
krakjoe 42eaa989af separation etc 2013-11-11 17:19:05 +00:00
krakjoe 5ef19b1b45 ws 2013-11-11 17:12:31 +00:00
krakjoe fb815caf7a fix segfault on empty eval 2013-11-11 17:09:08 +00:00
krakjoe f62b47c9ff fix opcode missing on eval 2013-11-11 17:06:30 +00:00
krakjoe 3c644612af typo 2013-11-11 17:01:33 +00:00
krakjoe 3e3a7babad stop multiple executions from occuring at once, #5 2013-11-11 15:54:33 +00:00
krakjoe da065d6fb2 no estrdup on opline breakpoints 2013-11-11 15:14:37 +00:00
krakjoe 632c89b65a fix output from userland break point insertion 2013-11-11 14:59:51 +00:00
krakjoe e8c98020ef fix breakpoint in userland 2013-11-11 14:55:36 +00:00
krakjoe 97fda0eaf2 precise break from userland 2013-11-11 14:38:11 +00:00
krakjoe 34ae94ad9a phpdbg_break userland 2013-11-11 14:33:53 +00:00
krakjoe dc3ef20964 ... 2013-11-11 14:11:06 +00:00
krakjoe 5fdae4612b ... 2013-11-11 14:07:07 +00:00
krakjoe 56957d9e25 output [] around phpdbg text 2013-11-11 14:03:14 +00:00
krakjoe 207e54a1c5 ... 2013-11-11 13:31:41 +00:00
krakjoe be460647ef ... 2013-11-11 13:07:02 +00:00
krakjoe 764d7d492c fix break on opline 2013-11-11 13:04:21 +00:00
krakjoe 616cb9c35f ... 2013-11-11 12:09:57 +00:00
krakjoe 28848919cf break opline help 2013-11-11 12:07:11 +00:00
krakjoe 67dc98732e break on opline 2013-11-11 11:54:41 +00:00
krakjoe cb24989f06 updates to break setting 2013-11-11 09:36:33 +00:00
krakjoe 3955dcf673 more output on setting break points
output breaks with print command
2013-11-11 09:14:30 +00:00
krakjoe 5f82f002f0 clean not destroy included files
remove argc, argv from phpdbg_interactive, unused
2013-11-11 08:08:26 +00:00
krakjoe b77508f250 noquit on fatal errors
clean command to clear environment
2013-11-11 08:02:04 +00:00
krakjoe b5da426776 ... 2013-11-10 23:44:16 +00:00
krakjoe f745c841b8 ... 2013-11-10 23:40:57 +00:00
krakjoe a6864679a2 ... 2013-11-10 23:38:55 +00:00
krakjoe 4f5096af3c register server vars 2013-11-10 23:30:52 +00:00
krakjoe 92c0fbebed ini working 2013-11-10 23:06:20 +00:00
krakjoe 4f9f86a15d update to default on 2013-11-10 22:55:07 +00:00
krakjoe aba249e5c7 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 22:46:49 +00:00
krakjoe 7de0b76ba8 ... 2013-11-10 22:44:28 +00:00
Felipe Pena 8ffa4025fb - Cosmetics 2013-11-10 20:04:22 -02:00
Felipe Pena f45f2ab8f8 - Fix comment 2013-11-10 20:01:40 -02:00
Felipe Pena 7886665b52 - Cosmetic changes 2013-11-10 19:57:43 -02:00
Felipe Pena e1931c14a5 - Move PHPDBG_NEXT to prompt header 2013-11-10 19:51:44 -02:00
krakjoe 587003ee48 exec last command automatically on enter 2013-11-10 21:49:37 +00:00
Felipe Pena 816925c7da Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-10 19:39:07 -02:00
Felipe Pena d141bf4ea8 - Get rid llist from symbol breakpoint 2013-11-10 19:38:58 -02:00
krakjoe 493e81e4c7 ... 2013-11-10 21:29:14 +00:00
krakjoe fedd47e383 ... 2013-11-10 21:28:12 +00:00
krakjoe 9ba19e8224 quiet 2013-11-10 21:23:18 +00:00
krakjoe 26ec44350e ... 2013-11-10 21:15:45 +00:00
Adam Harvey 1205a6c7dc Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Update NEWS and remove the unnecessary UPGRADING note.
  UPGRADING and NEWS
  Better test: Check combined leading/trailing
  Fixed whitespace part of bug #64874 ("json_decode handles whitespace and case-sensitivity incorrectly")
2013-11-10 16:15:12 -05:00
krakjoe 7d99241455 ... 2013-11-10 21:12:41 +00:00
krakjoe 1591b0e5f6 remove cont 2013-11-10 21:09:35 +00:00
krakjoe 6203c96061 ... 2013-11-10 21:07:29 +00:00
krakjoe 05c9f82a15 ... 2013-11-10 20:59:35 +00:00
Felipe Pena ac0ecc476c - Fix code 2013-11-10 19:00:58 -02:00
krakjoe 52f9c52475 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 20:30:32 +00:00
Felipe Pena fb4f94c52c - Improved phpdbg_set_breakpoint_symbol function 2013-11-10 18:30:24 -02:00
krakjoe dd141fa085 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 20:30:18 +00:00
Felipe Pena 3414680557 - Improved phpdbg_set_breakpoint_file function 2013-11-10 18:24:13 -02:00
Felipe Pena eaf5d89292 - Change breakpoint id to int 2013-11-10 18:10:54 -02:00
Felipe Pena 972550a120 - Change header inclusion order 2013-11-10 18:07:56 -02:00
Felipe Pena 5b6982796d - Renamed breakpoint find functions 2013-11-10 18:06:19 -02:00
Felipe Pena 20f37407e1 - Added separated file to opcode decode function 2013-11-10 18:01:09 -02:00
Felipe Pena 1fcc54a6b8 - Added breakpoint counter 2013-11-10 17:15:32 -02:00
krakjoe 663a13635a fix symbol breakpoints 2013-11-10 18:56:19 +00:00
krakjoe fa63ecbba9 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 18:29:04 +00:00
Felipe Pena aedf45252f - WS changes 2013-11-10 16:29:05 -02:00
krakjoe cc85f285c6 print opcode names 2013-11-10 18:28:50 +00:00
Felipe Pena 7752077b63 - Added prototype for breakpoint funcs 2013-11-10 16:24:08 -02:00
Felipe Pena ddf5c42e2d - Cosmetic changes 2013-11-10 16:21:49 -02:00
Felipe Pena 226052fb8a - Simplify code 2013-11-10 16:15:00 -02:00
Felipe Pena a7309b6d25 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-10 16:10:38 -02:00
Felipe Pena 7d43677b1f - Fix code 2013-11-10 16:10:23 -02:00
krakjoe 4bfbdf55dc next not quitting when not stepping 2013-11-10 18:08:08 +00:00
Felipe Pena 9f15e3791a Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-10 16:06:56 -02:00
Felipe Pena defc4c3180 - Added separated file to handle breakpoint feature 2013-11-10 16:06:41 -02:00
krakjoe 38883e7cbb Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 18:05:30 +00:00
krakjoe 4d127e4afb print_opline function to decode opline 2013-11-10 18:05:11 +00:00
krakjoe bd02c250b8 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 17:51:58 +00:00
krakjoe 307897e602 instructions 2013-11-10 17:51:48 +00:00
Felipe Pena 22f0ff6c12 - Fix conflict 2013-11-10 15:51:20 -02:00
Felipe Pena 16930d85f8 - Initial code for breakpoint on function 2013-11-10 15:49:25 -02:00
krakjoe 3716646d3c ... 2013-11-10 17:45:06 +00:00
krakjoe c6f443db2e improve output from eval() 2013-11-10 16:47:39 +00:00
krakjoe 5f6c416b14 consistency 2013-11-10 16:34:12 +00:00
krakjoe 782ea75c9e ... 2013-11-10 16:33:35 +00:00
krakjoe 5cca4190f4 fix interference while quitting 2013-11-10 16:30:36 +00:00
Felipe Pena 8532076c64 - WS changes 2013-11-10 14:16:52 -02:00
Felipe Pena c060093acf - WS change 2013-11-10 14:12:43 -02:00
krakjoe 5971ab299b ... 2013-11-10 16:06:57 +00:00
krakjoe 9a15ea4d58 ... 2013-11-10 16:06:15 +00:00
krakjoe 22d85c6a63 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 16:05:23 +00:00
krakjoe 2f4acda67b ... 2013-11-10 16:05:15 +00:00
krakjoe 72a60589ec consistent help 2013-11-10 15:55:53 +00:00
krakjoe 4ef6705a74 correction to headers
backtrace help
2013-11-10 15:54:19 +00:00
krakjoe 940f4e27de backtrace 2013-11-10 15:49:35 +00:00
Felipe Pena 53f4201566 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-10 13:47:37 -02:00
Felipe Pena 6069121e23 - Added llist dtor 2013-11-10 13:47:28 -02:00
krakjoe 48f9db90dd cont 2013-11-10 15:32:24 +00:00
krakjoe 2770068e76 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 15:21:48 +00:00
Felipe Pena 9552817864 - Get the realpath on break command 2013-11-10 13:21:20 -02:00
krakjoe 1b41ab2e34 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 15:16:54 +00:00
krakjoe 2f9b34d4b6 backtrace 2013-11-10 15:16:45 +00:00
Felipe Pena a6d573cd89 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-10 13:12:09 -02:00
Felipe Pena 23cfc8ed35 - More work on file:line breakpoint 2013-11-10 13:11:56 -02:00
krakjoe ac5063468a ... 2013-11-10 14:49:52 +00:00
krakjoe 2977840a4a eval() 2013-11-10 14:43:46 +00:00
Felipe Pena d772009921 - Breakpoint initial work 2013-11-10 12:36:30 -02:00
krakjoe 5c866a9f13 stepping 2013-11-10 14:28:14 +00:00
krakjoe 8043d1ee5f run help 2013-11-10 13:06:57 +00:00
krakjoe c6cb411d39 execution 2013-11-10 13:01:46 +00:00
Felipe Pena a366eadee2 - Renamed brake to break 2013-11-10 09:48:01 -02:00
Felipe Pena 9dd3e54351 - Cosmetic changes 2013-11-10 09:36:57 -02:00
krakjoe b978c20f63 +compile 2013-11-10 11:35:59 +00:00
krakjoe 6df19b3aa2 ... 2013-11-10 11:03:29 +00:00
krakjoe ad3aa32a2f woops 2013-11-10 10:46:18 +00:00
krakjoe 2089caed53 bit more work on menu
implement helper menu
name some macros to help with declarations (sorry Felipe :))
2013-11-10 10:44:42 +00:00
krakjoe 39263cbfb1 header in main 2013-11-10 08:20:57 +00:00
Remi Collet 6997b8793d missing 'config.h' in 5dc37b3 2013-11-10 07:10:36 +01:00
Felipe Pena 2bda09abc6 - Added prototype for non-static function, fixed typo and staticfy command handler 2013-11-09 23:42:41 -02:00
Felipe Pena 19c16083a7 - WS change 2013-11-09 23:38:17 -02:00
Felipe Pena 612d6b2582 - Added initial code for a simple prompt 2013-11-09 23:30:32 -02:00
Felipe Pena 1c7ae5f1a6 - Declaration first 2013-11-09 22:34:38 -02:00
Felipe Pena f16ccad2ff - Fixed unexpected memory leak warning 2013-11-09 21:33:43 -02:00
Felipe Pena 8ac55d018c - Added .gitignore 2013-11-09 21:08:01 -02:00
Felipe Pena 19a5ac93b4 - WS changes 2013-11-09 21:07:04 -02:00
krakjoe 1dd5d42bd8 cleanup 2013-11-09 22:53:27 +00:00
krakjoe 60ee0cc74c change server->phpdbg 2013-11-09 22:47:39 +00:00
krakjoe 2fee7dce77 import 2013-11-09 22:35:03 +00:00
Joe Watkins dac2297b10 Initial commit 2013-11-09 14:34:16 -08:00
Igor Wiedler 611da37617 use ZVAL_ZVAL to init ZVAL from ZVAL 2013-11-09 13:48:23 -05:00
Rasmus Lerdorf 6713f9c4b2 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix broken test
2013-11-09 09:46:55 -08:00
Igor Wiedler eb063e0075 Merge remote-tracking branch 'lgnome/use-function' into use-function
* lgnome/use-function:
  Only check user functions for filenames.
2013-11-08 21:50:04 -05:00
Adam Harvey cc049e6450 Only check user functions for filenames. 2013-11-08 21:49:05 -05:00
Igor Wiedler 719db1a7b2 Merge pull request #4 from LawnGnome/use-function
FIX ALL THE THINGS
2013-11-08 18:39:29 -08:00
Adam Harvey da553a8166 Fix constant resolution. 2013-11-08 21:37:38 -05:00
Adam Harvey 95675dfba9 Remove now unused function_filenames struct. 2013-11-08 21:32:09 -05:00
Adam Harvey 1ea01f55db Look in the function_table instead of function_filenames for actually declared
functions.
2013-11-08 21:29:23 -05:00
Adam Harvey 9711c58bc4 Stop PHP from modifying the lowercase function name in place. 2013-11-08 20:26:46 -05:00
Igor Wiedler 24e0b99103 Merge remote-tracking branch 'upstream/PHP-5.6' into use-function
* upstream/PHP-5.6: (399 commits)
  Fixed issue #115 (path issue when using phar). Fixed issue #149 (Phar mount points not working with OPcache enabled).
  Added tests for PHAR/OPCahce incompatibilities
  Update NEWS
  Fixed bug #65947 (basename is no more working after fgetcsv in certain situation)
  Update NEWS
  Fixed Bug #66043 (Segfault calling bind_param() on mysqli)
  NEWS entry
  NEWS entry
  Fix bug #65946 - pdo_sql_parser.c permanently converts values bound to strings
  bump API versions
  Add a couple more test cases to parse_url() tests
  fix missing change from 'tcp_socket' to the more common 'server'
  fix many parallel test issues
  Cleanup temp test file
  Revert "Fixed issue #115 (path issue when using phar)."
  Update LiteSpeed SAPI code to V6.4
  Fixed typo in Makefile.frag
  updated NEWS
  Remove outdate codes, make it clearer, although just a bit..
  Update NEWS
  ...

Conflicts:
	Zend/zend_compile.h
2013-11-08 19:14:58 -05:00
Dmitry Stogov 0e5c5072e6 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fixed issue #115 (path issue when using phar). Fixed issue #149 (Phar mount points not working with OPcache enabled).

Conflicts:
	NEWS
2013-11-08 16:36:31 +04:00
Dmitry Stogov 4e6a0bd5a9 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Added tests for PHAR/OPCahce incompatibilities
  Update NEWS
  Fixed bug #65947 (basename is no more working after fgetcsv in certain situation)
  Update NEWS
  Fixed Bug #66043 (Segfault calling bind_param() on mysqli)
  NEWS entry
  NEWS entry

Conflicts:
	NEWS
2013-11-08 14:15:41 +04:00
Rasmus Lerdorf 756dc19e59 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug #65946 - pdo_sql_parser.c permanently converts values bound to strings
2013-11-07 18:09:53 -08:00
Bob Weinand 152898ff28 Moved arrays again to "static_scalar:" & little cleanup 2013-11-07 16:39:47 +01:00
Dmitry Stogov e0135014c3 Renaming 2013-11-07 10:22:49 +04:00
Dmitry Stogov 9647c61dc1 Constant expressions refactoring 2013-11-06 22:21:07 +04:00
Dmitry Stogov af600c240d Merge branch 'const_scalar_exprs' of github.com:bwoebi/php-src into const_scalar_exprs
* 'const_scalar_exprs' of github.com:bwoebi/php-src:
  Removed operations on constant arrays. They make no sense as constants are not allowed to be arrays. And as just properties are allowed to; no problem, we still don't need operations on any constant array.
  Added a few more operators
  Whitespace fix
  converted several switches to ifs and made more opcache friendly
  Fatal error about self referencing constants fixed
  Fixed mem leaks, added tests and ternary operator
  Working commit for constant scalar expressions (with constants). Tests will follow.

Conflicts:
	Zend/Makefile.am
	configure.in
	win32/build/config.w32
2013-11-06 15:41:33 +04:00
Ferenc Kovacs 929bf11e91 bump API versions 2013-11-06 11:17:58 +01:00
Ferenc Kovacs d87388ba0f Merge branch 'PHP-5.5' 2013-11-06 10:47:45 +01:00
Xinchen Hui c76be5696d Merge branch 'PHP-5.5'
Conflicts:
	ext/opcache/ZendAccelerator.c
2013-11-06 17:01:24 +08:00
George Wang 01bc13212e Update LiteSpeed SAPI code to V6.4 2013-11-05 16:14:49 -05:00
George Wang 3720fd77b5 Fixed typo in Makefile.frag 2013-11-05 16:12:24 -05:00
Anatol Belski c4cfdfa911 updated NEWS 2013-11-05 19:54:50 +01:00
Anatol Belski c675980046 Merge branch 'pull-request/500'
* pull-request/500:
  limit virtual_cwd_activate() duplicated call to ZTS only
  reverted the previous commit, both calls are needed in TS mode
  virtual_cwd_activate() should be called only in one place
  back to do_alloca()
  removed unnecessary call
  simplify the state free macros
  compact the code to preserve the error info after state freeing
  back to do_alloca(), reverted the wrong replacement
  enabled windows to use stack in both ts/nts mode, some more fixes
  moved to do_alloca() usage where appropriate
  fixed invalid free
  fixed virtual cwd header in phar
  updated NEWS
  fixed all the places where last error could be lost
  preserve the error code
  applied and fixed the original patch
  initial move on renaming files and fixing includes

Conflicts:
	ext/opcache/ZendAccelerator.c
2013-11-05 19:23:23 +01:00
Xinchen Hui 6c8ff0031c Merge branch 'PHP-5.5'
Conflicts:
	ext/phar/phar_internal.h
	ext/phar/stream.c
	ext/phar/util.c
2013-11-05 19:29:13 +08:00
Xinchen Hui 2a94494b7e Merge branch 'PHP-5.5' 2013-11-05 11:09:08 +08:00
Pierre Joye bf875e269a Merge branch 'master' of git.php.net:php-src
# By Remi Collet (2) and Xinchen Hui (2)
# Via Xinchen Hui (5) and Remi Collet (1)
* 'master' of git.php.net:php-src:
  NEWS + UPGRADING
  Sync ext/zip with pecl/zip version 1.3.2 - update libzip to version 1.11.1. We don't use any private symbol anymore - new method ZipArchive::setPassword($password) - add --with-libzip option to build with system libzip
  Fixed coredump due to abnormal implemention of phar
  remove "PHP 6" staff
2013-11-04 22:26:40 +01:00
Remi Collet 5b8ae0143f NEWS + UPGRADING 2013-11-04 13:32:45 +01:00
Remi Collet 5dc37b3510 Sync ext/zip with pecl/zip version 1.3.2
- update libzip to version 1.11.1. We don't use any private symbol anymore
- new method ZipArchive::setPassword($password)
- add --with-libzip option to build with system libzip
2013-11-04 13:23:36 +01:00
Xinchen Hui 2f555b8e60 Merge branch 'master' of git.php.net:php-src 2013-11-04 14:47:34 +08:00
Xinchen Hui 15eabbb436 Merge branch 'PHP-5.5' 2013-11-04 14:43:30 +08:00
Bob Weinand 18e2b1a9a9 Removed operations on constant arrays.
They make no sense as constants are not allowed to be arrays.
And as just properties are allowed to; no problem, we still don't
need operations on any constant array.
2013-11-03 12:28:00 +01:00
Bob Weinand ad967e1329 Added a few more operators 2013-11-03 01:58:39 +01:00
Rasmus Lerdorf e5e25c43f4 Fix English here 2013-11-02 10:46:37 -07:00
Anatol Belski 699f07ba44 limit virtual_cwd_activate() duplicated call to ZTS only 2013-11-02 13:32:31 +01:00
Bob Weinand 82cd3779f4 Whitespace fix 2013-11-01 16:49:23 +01:00
Bob Weinand b45043a1b7 converted several switches to ifs and made more opcache friendly 2013-11-01 16:16:58 +01:00
Anatol Belski 9df78bf9fd reverted the previous commit, both calls are needed in TS mode 2013-11-01 01:20:57 +01:00
Anatol Belski 6aedfac7f7 virtual_cwd_activate() should be called only in one place 2013-11-01 00:56:22 +01:00
Anatol Belski 39e7dcc3bb back to do_alloca() 2013-10-31 21:42:55 +01:00
Anatol Belski f1c2f8f9f1 removed unnecessary call 2013-10-31 21:38:24 +01:00
Bob Weinand b56c1ca95e Fatal error about self referencing constants fixed 2013-10-31 19:05:29 +01:00
Bob Weinand 466c5dd1fe Fixed mem leaks, added tests and ternary operator 2013-10-31 18:21:37 +01:00
Anatol Belski 4d430ecb02 simplify the state free macros 2013-10-31 17:39:17 +01:00
Rasmus Lerdorf a0244a69cc Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #66008
2013-10-31 03:18:36 -07:00
Bob Weinand 2361745806 Working commit for constant scalar expressions (with constants).
Tests will follow.
2013-10-31 08:57:12 +01:00
Dmitry Stogov 3b2ca392f1 Removed unnecessary GC checks 2013-10-31 11:33:39 +04:00
Yasuo Ohgaki 832c82603f Add crypt() change in UPGRADING 2013-10-31 07:29:00 +09:00
Anatol Belski abb962d54d compact the code to preserve the error info after state freeing 2013-10-30 20:46:08 +01:00
Anatol Belski fc707a27ff back to do_alloca(), reverted the wrong replacement 2013-10-30 20:13:14 +01:00
Sherif Ramadan 98c9e56ef0 Merge branch 'pull-request/287'
Add ability to use array keys with array_filter().
This adds a third (optional) argument to array_filter() that will determine
what gets passed to the callback, the array key, value or both.
The third argument can be one of two constants: ARRAY_FILTER_USE_BOTH or,
ARRAY_FILTER_USE_KEY.
2013-10-30 09:36:19 -04:00
Nikita Popov 4218e89f8d Fix bug #65997 by switching to Serializable for GMP
Rather than using get_properties and __wakeup for serialization
the code now uses Serializable::serialize() and
Serializable::unserialize(). The get_properties handler is switched
to a get_debug_info handler. Thus get_gc will now return only
the normal properties and not do any modifications, thus fixing
the leak. This also avoids a $num property from being publicly
visible after the object was dumped or serialized, so that's an
extra plus.
2013-10-29 20:58:30 +01:00
Nikita Popov 647e0be64b Fix compile warning in GMP 2013-10-29 20:07:34 +01:00
Nikita Popov 82eca388d2 Fix ZTS build 2013-10-29 20:01:37 +01:00
Anatol Belski e17de5e9fd Merge branch 'bug50333' of github.com:weltling/php-src into bug50333 2013-10-29 17:15:40 +01:00
Anatol Belski 4295bfeeaf Merge branch 'PHP-5.5'
* PHP-5.5:
  updated libs_versions.txt
2013-10-29 13:35:38 +01:00
Yasuo Ohgaki 416f8fce5c Implemented Change crypt() behavior w/o salt RFC 2013-10-29 18:53:45 +09:00
Yasuo Ohgaki 3cf2682083 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
2013-10-29 17:30:58 +09:00
Yasuo Ohgaki 5c89d5a539 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src: (22 commits)
  add bundled libzip LICENSE, as required by BSD License terms
  Avoid copy in func_get_arg()
  - Updated to version 2013.8 (2013h)
  Use zval* instead of zval**
  Increased limit for opcache.max_accelerated_files to 1,000,000. (Chris)
  Improved performance of array_merge() by eliminating useless copying
  Improved performance of func_get_args() by eliminating useless copying
  fix limitation of upload size == (U)INT_MAX in CGI
  Link to more readmes
  test commit
  increase backlog to the highest value everywhere
  Update NEWS
  Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
  - test3
  - test commit 2
  - test commit1
  ldap_escape() notes
  - Updated to version 2013.7 (2013g)
  Increment version number, since this will be 5.5.6.
  Added Zend Debugger to the note about the load order (by trash4you at online dot de)
  ...
2013-10-29 17:30:47 +09:00
Remi Collet 141b77d97d Merge branch 'PHP-5.5'
* PHP-5.5:
  add bundled libzip LICENSE, as required by BSD License terms
2013-10-29 09:02:58 +01:00
Nikita Popov d86b5f01ac Avoid copy in func_get_arg()
Complements dmitry's change to func_get_args()
2013-10-28 19:51:31 +01:00
Derick Rethans f626db130c Merge branch 'PHP-5.5' 2013-10-28 15:12:38 +01:00
Derick Rethans 8d8e8a43de Merge branch 'master' of git.php.net:/php-src 2013-10-28 15:02:37 +01:00
Dmitry Stogov 592be912c2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Use zval* instead of zval**

Conflicts:
	Zend/zend_vm_def.h
	Zend/zend_vm_execute.h
2013-10-28 15:23:10 +04:00
Dmitry Stogov ace2ee931c Merge branch 'PHP-5.5'
* PHP-5.5:
  Increased limit for opcache.max_accelerated_files to 1,000,000. (Chris)

Conflicts:
	NEWS
2013-10-28 14:22:05 +04:00
Dmitry Stogov c6fb00e6d7 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  increase backlog to the highest value everywhere
  Update NEWS
  Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
2013-10-28 13:48:02 +04:00
Dmitry Stogov b0f9768e02 Merge branch 'PHP-5.5'
* PHP-5.5:
  Improved performance of array_merge() by eliminating useless copying

Conflicts:
	NEWS
2013-10-28 13:47:37 +04:00
Antony Dovgal 09ad5fbbb3 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Improved performance of func_get_args() by eliminating useless copying
  fix limitation of upload size == (U)INT_MAX in CGI
  Link to more readmes
  test commit
  Update NEWS
  Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
2013-10-28 13:46:40 +04:00
Yasuo Ohgaki 4bdac868da Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Improved performance of func_get_args() by eliminating useless copying
  fix limitation of upload size == (U)INT_MAX in CGI
  Link to more readmes
  test commit
  - test3
  - test commit 2
  - test commit1
2013-10-28 18:36:51 +09:00
Dmitry Stogov 9bbdc90ed2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Improved performance of func_get_args() by eliminating useless copying

Conflicts:
	NEWS
2013-10-28 13:19:08 +04:00
Michael Wallner 8962f3ff0c fix limitation of upload size == (U)INT_MAX in CGI 2013-10-28 07:37:47 +01:00
Hannes Magnusson d1727d8401 Merge branch 'PHP-5.5'
* PHP-5.5:
  Link to more readmes
2013-10-27 16:41:31 -07:00
Rasmus Lerdorf 8da5734cf5 test commit 2013-10-27 15:21:21 -07:00
Antony Dovgal 73788d1c23 Merge branch 'PHP-5.5'
* PHP-5.5:
  increase backlog to the highest value everywhere
2013-10-27 22:57:31 +04:00
Xinchen Hui 7fe370f9c7 Merge branch 'PHP-5.5' 2013-10-27 16:53:35 +08:00
Derick Rethans 59f4c351d3 Merge branch 'master' of git.php.net:/php-src 2013-10-26 09:53:34 +01:00
Yasuo Ohgaki 37fb8e0c15 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
2013-10-26 10:43:14 +09:00
Sascha Schumann 8cef677dc3 - test3 2013-10-25 21:34:28 +02:00
Sascha bf087d85af - test commit 2 2013-10-25 21:26:58 +02:00
Sascha e53afaafcd - test commit1 2013-10-25 21:04:45 +02:00
Anatol Belski 25dc4af392 enabled windows to use stack in both ts/nts mode, some more fixes 2013-10-24 08:48:09 -07:00
Anatol Belski 08f6a76b92 moved to do_alloca() usage where appropriate 2013-10-24 05:12:37 -07:00
Michael Wallner dfe4b15b8e ldap_escape() notes 2013-10-24 10:36:44 +02:00
Derick Rethans 20f7fcefdb Merge branch 'PHP-5.5' 2013-10-23 22:33:59 +01:00
Adam Harvey 96b6d4be49 Merge branch 'PHP-5.5'
* PHP-5.5:
  Increment version number, since this will be 5.5.6.

Conflicts:
	configure.in
	main/php_version.h
2013-10-23 12:39:16 -07:00
Xinchen Hui 5241cf7000 Merge branch 'PHP-5.5' 2013-10-23 19:27:48 +08:00
Christopher Jones e68c1ef2ec Added a LICENSE file to make it easier for PECL binary distributions to conform with the license. 2013-10-22 11:03:09 -07:00
Yasuo Ohgaki 29e5a9659f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix Coverity issue reporting wrong sizeof()
2013-10-22 12:30:24 +09:00
Yasuo Ohgaki fa11c7c1cc Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src: (270 commits)
  Fixed bug #65939 (Space before ";" breaks php.ini parsing). (brainstorm at nopcode dot org)
  exif NEWS
  add tests for bug #62523
  Merged PR #293 (Exif crash on unknown encoding was fixed) By: 	Draal Conflicts: 	configure.in 	main/php_version.h
  fix bug #65936 (dangling context pointer causes crash)
  remove TRAVIS check in test source
  Fixed compilation warning
  Just SKIP that test on travis
  Fixed issue #115 (path issue when using phar).
  fix memory leak on error (from Coverity scan)
  fix argument type & remove warning
  fix const warnings in intl methods
  Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag
  fix possibility of access to *storedType without initialization
  Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag
  5.4.21 release date
  fix argument type & remove warning
  fix const warnings in intl methods
  When src->src is null this doesn't get initialized but it is still used, so the passed in *ze will point to unitialized memory. Hopefully src->src is never null, but just in case this initialization doesn't hurt.
  Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag
  ...
2013-10-22 12:29:41 +09:00
Christopher Jones b3a2b44198 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65939 (Space before ";" breaks php.ini parsing). (brainstorm at nopcode dot org)
2013-10-21 14:21:19 -07:00
Michael Wallner d15cedfba9 Merge branch 'PHP-5.5'
* PHP-5.5:
  exif NEWS
2013-10-21 22:45:12 +02:00
Michael Wallner cfd911473b Merge branch 'PHP-5.5'
* PHP-5.5:
  add tests for bug #62523
  Merged PR #293 (Exif crash on unknown encoding was fixed) By: 	Draal Conflicts: 	configure.in 	main/php_version.h
2013-10-21 22:16:21 +02:00
Anatol Belski 8591a52fab fixed invalid free 2013-10-21 11:15:31 -07:00
Antony Dovgal 605b3c2ca1 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #65936 (dangling context pointer causes crash)
2013-10-21 15:10:15 +04:00
Michael Wallner 4ddbb7dd15 Merge remote-tracking branch 'refs/remotes/origin/master'
* refs/remotes/origin/master:
  Fixed compilation warning
2013-10-21 12:23:10 +02:00
Michael Wallner 6764993358 Merge branch 'PHP-5.5'
* PHP-5.5:
  remove TRAVIS check in test source
  Just SKIP that test on travis
2013-10-21 12:21:21 +02:00
Dmitry Stogov 02214e7a22 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed compilation warning
2013-10-21 14:18:17 +04:00
Michael Wallner 454a9fcb14 Merge branch 'master' of https://github.com/guggemand/php-src
* 'master' of https://github.com/guggemand/php-src:
  Dont reset other counters when incrementing slow_rq
2013-10-21 12:04:37 +02:00
Michael Wallner 41da537614 Merge branch 'master' of https://github.com/DylanArnold/php-src
* 'master' of https://github.com/DylanArnold/php-src:
  Call php_module_shutdown() for php-fpm child processes
2013-10-21 12:04:06 +02:00
Xinchen Hui aed56fc9a7 Merge branch 'PHP-5.5' 2013-10-21 17:41:03 +08:00
Stanislav Malyshev 19e8052be3 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix memory leak on error (from Coverity scan)
2013-10-21 00:02:33 -07:00
Stanislav Malyshev ae31a68774 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag
  5.4.21 release date
  fix argument type & remove warning
  fix const warnings in intl methods
  Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag
  fix possibility of access to *storedType without initialization
  5.4.21 release date
2013-10-20 23:04:41 -07:00
Stanislav Malyshev 3900ce97a3 fix argument type & remove warning 2013-10-20 23:04:38 -07:00
Stanislav Malyshev 06954d1bc1 fix const warnings in intl methods 2013-10-20 23:04:38 -07:00
Stanislav Malyshev 444612cdc4 Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag 2013-10-20 23:04:38 -07:00
Stanislav Malyshev 219a682e8e fix possibility of access to *storedType without initialization 2013-10-20 23:04:38 -07:00
Rasmus Lerdorf ec2e6951b8 Merge branch 'PHP-5.5'
* PHP-5.5:
  When src->src is null this doesn't get initialized but it is still used, so the passed in *ze will point to unitialized memory. Hopefully src->src is never null, but just in case this initialization doesn't hurt.
2013-10-20 22:18:33 -07:00
Rasmus Lerdorf 7ccffeea75 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix typo
2013-10-20 17:56:24 -07:00
Rasmus Lerdorf 73e65ea3c9 Merge branch 'PHP-5.5'
* PHP-5.5:
  These getpwnam('') tests are silly and not portable
2013-10-20 14:05:29 -07:00
Rasmus Lerdorf 7b2a4c168e Merge branch 'PHP-5.5'
* PHP-5.5:
  Clean up this weird safe_emalloc() call
2013-10-20 09:37:40 -07:00
Rasmus Lerdorf 32a729a3ae Merge branch 'PHP-5.5'
* PHP-5.5:
  Minor Coverity tweaks
2013-10-20 08:56:41 -07:00
Felipe Pena 048923b3c6 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Moved NULL check before dereferencing
2013-10-20 09:50:17 -02:00
Felipe Pena d23f089fb9 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed possible NULL ptr dereference
2013-10-20 09:04:36 -02:00
Felipe Pena b7c64683da Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed possible uninitialized scalar variable usage (spotted by Coverity)
2013-10-20 08:51:27 -02:00
Rasmus Lerdorf eb616f8c0f Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove senseless check here
2013-10-19 20:57:02 -07:00
Felipe Pena ab7b0f9f43 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fix extern declaration according to definition
2013-10-20 01:16:15 -02:00
Felipe Pena 84011f7c32 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fix possible memory leak
2013-10-20 01:05:06 -02:00
Felipe Pena 39e746a424 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Moved allocation to if block to make Coverity happy
2013-10-19 23:36:41 -03:00
Felipe Pena 07361a4efc Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed possible memory leak
2013-10-19 23:30:53 -03:00
Rasmus Lerdorf 6650bed41c Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix unitialized opened_path here - found by Coverity
2013-10-19 19:25:47 -07:00
Rasmus Lerdorf 259c74654c Merge branch 'PHP-5.5'
* PHP-5.5:
  Trivial Coverity fix
2013-10-19 17:56:21 -07:00
Rasmus Lerdorf 12aa4aa61c Merge branch 'PHP-5.5'
* PHP-5.5:
  Initialize these to make Coverity happy
  Typo fix: managment -> management
  Use minus sign instead of hyphen
  Merge branch 'pull-request/499' Fix RFC 6598 IPv4 Reserved Range Checks
2013-10-19 17:42:36 -07:00
Nikita Popov 9b46a15a6e Remove extraneous NULL check of Z_ARRVAL_P()
Z_ARRVAL_P() is never NULL
2013-10-19 23:52:23 +02:00
Nikita Popov 870d3e75ca Remove dead comparison (size_t < 0) 2013-10-19 23:46:09 +02:00
Nikita Popov 1292091670 Fix misleading sizeof
An array of zval* is allocated, but sizeof(zval **) is used.
Makes no practical difference as sizeof(zval *) == sizeof(zval **).
2013-10-19 23:43:05 +02:00
Nikita Popov a1ae79e114 Fix assignment in dummy_encoding_list_parser 2013-10-19 23:25:31 +02:00
Nikita Popov 64caedd927 Use zend_error_noreturn for all E_COMPILE_ERRORs 2013-10-19 23:22:20 +02:00
Xinchen Hui e1f9993ba8 Merge branch 'PHP-5.5' 2013-10-19 22:19:11 +08:00
Xinchen Hui b96bee6fdd Merge branch 'PHP-5.5' 2013-10-19 22:17:06 +08:00
Rasmus Lerdorf adcd481ddf Merge branch 'pull-request/499'
Fix RFC 6598 IPv4 Reserved Range Checks
2013-10-19 00:01:13 -07:00
Xinchen Hui 9a2aa11132 Merge branch 'PHP-5.5' 2013-10-19 13:29:42 +08:00
Anatol Belski ecd03baf61 fixed virtual cwd header in phar 2013-10-18 10:02:19 -07:00
Anatol Belski 423e1c77b5 updated NEWS 2013-10-18 07:57:01 -07:00
Anatol Belski 2786a2a1ab fixed all the places where last error could be lost
whereby this commit should be applied to master anyway
2013-10-18 07:00:05 -07:00
Anatol Belski 515ef09b62 preserve the error code
otherwise it'd be cleared by a subsequent calls
2013-10-18 05:01:16 -07:00
Michael Wallner c86862cb3c Merge branch 'openssl_compile_warning_fix' of https://github.com/bukka/php-src
* 'openssl_compile_warning_fix' of https://github.com/bukka/php-src:
  Fix compiler warnings in openssl.c
2013-10-18 12:03:02 +02:00
Michael Wallner a03b1328b8 fix compiler warnings and type usage 2013-10-18 11:34:24 +02:00
Michael Wallner f711c1219d Merge branch 'ldap_escape-dev' of https://github.com/DaveRandom/php-src
* 'ldap_escape-dev' of https://github.com/DaveRandom/php-src:
  Add ldap_escape()
2013-10-18 11:17:41 +02:00
jrchamp fd06c5206a Fix RFC 6598 IPv4 Range 2013-10-18 02:04:15 -04:00
jrchamp 8713089f22 Fix 100.64 IPv4 Range Check 2013-10-18 02:01:06 -04:00
Xinchen Hui d345ad211b Merge branch 'zend-documentation-fix' of https://github.com/AskDrCatcher/php-src-1 2013-10-18 10:40:44 +08:00
Xinchen Hui 065bbeb83f Merge branch 'PHP-5.5' 2013-10-18 10:34:59 +08:00
ArunSK 6b90f23787 fixed typo and few grammar mistakes 2013-10-17 22:00:40 -04:00
Christopher Jones 5e368b76ed Add missing test to package.xml 2013-10-17 13:49:50 -07:00
Christopher Jones c59d790949 Prepare for OCI8 2.0.5 release 2013-10-17 12:15:45 -07:00
Christopher Jones cefbf932c8 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  TLS news
  previous revert killed that file
  Revert "TLS news"
  Revert "Added support for TLSv1.1 and TLSv1.2"
  TLS news
  fix ws
  Added support for TLSv1.1 and TLSv1.2
  Added support for TLSv1.1 and TLSv1.2
2013-10-17 09:23:15 -07:00
Michael Wallner 66868c8fd4 TLS news 2013-10-17 15:47:55 +02:00
Michael Wallner b95f9fa0aa previous revert killed that file 2013-10-17 15:32:18 +02:00
Michael Wallner 3f2fba4c34 Merge branch 'updated_tls_support' of https://github.com/rdlowrey/php-src
* 'updated_tls_support' of https://github.com/rdlowrey/php-src:
  Added support for TLSv1.1 and TLSv1.2

Conflicts:
	ext/openssl/xp_ssl.c
2013-10-17 15:27:15 +02:00
Michael Wallner dd3a4c303b Merge branch 'PHP-5.5'
* PHP-5.5:
  Revert "TLS news"
  Revert "Added support for TLSv1.1 and TLSv1.2"
2013-10-17 15:22:07 +02:00
Michael Wallner e6481e2393 Merge branch 'PHP-5.5'
* PHP-5.5:
  TLS news
2013-10-17 15:13:25 +02:00
Michael Wallner ad0a85b9e2 fix ws 2013-10-17 15:09:28 +02:00
Michael Wallner 5a7ca69e56 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added support for TLSv1.1 and TLSv1.2

Conflicts:
	ext/openssl/xp_ssl.c
2013-10-17 14:53:50 +02:00
Christopher Jones 134caeb837 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Assume the free space is correct on Travis CI.
2013-10-17 05:41:53 -07:00
Michael Wallner bd666e2f99 Merge branch 'PHP-5.5'
* PHP-5.5:
  Assume the free space is correct on Travis CI.
2013-10-17 12:12:26 +02:00
Anatol Belski cf6ab0e915 applied and fixed the original patch
initial work on the patch import done
2013-10-17 10:40:43 +02:00
Anatol Belski e30b2aae5a initial move on renaming files and fixing includes 2013-10-17 09:43:52 +02:00
Christopher Jones 89e93bd2a2 OCI8: More test updates 2013-10-16 22:33:34 -07:00
Christopher Jones 0d909f5bfc OCI8: Mostly SKIPIF version updates to simplify version checks at the expense of not testing some edge cases with older Oracle patch set versions.
Delete two obsolete .phpt's.
2013-10-16 22:02:32 -07:00
Xinchen Hui a1a7522105 Merge branch 'PHP-5.5' 2013-10-17 12:25:01 +08:00
Nikita Popov d51553e399 Merge branch 'PHP-5.5' 2013-10-16 18:39:13 +02:00
Paul Tarjan a2eacd8a2c fix typo in copy_variation16 test 2013-10-14 23:54:59 -07:00
Igor Wiedler 602fef0e52 Clarify type of use in error messages 2013-10-14 23:32:11 +02:00
Igor Wiedler e23ad4eeb2 Add "Done" output to distinguish hard from soft failures 2013-10-14 23:21:06 +02:00
Anatol Belski eb97d270da Merge branch 'PHP-5.5'
* PHP-5.5:
  fix whitespaces
2013-10-14 17:13:30 +02:00
Anatol Belski 2a093551e7 Merge branch 'PHP-5.5'
* PHP-5.5:
  added notes about the PECL site conformity

Conflicts:
	README.EXTENSIONS
2013-10-14 16:10:10 +02:00
Anatol Belski dcfd753104 fixed skeleton to produce the normalized ext version macros
See http://news.php.net/php.pecl.dev/11191 for more info.
2013-10-14 14:37:39 +02:00
Anatol Belski ea4ef75918 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed skeleton to produce the normalized ext version macros
2013-10-14 14:34:33 +02:00
Jakub Zelenka c092d286fc Fix compiler warnings in openssl.c 2013-10-13 15:52:39 +01:00
Felipe Pena 314a3aa9ac Merge branch 'master' of git.php.net:/php-src 2013-10-12 18:07:58 -03:00
Felipe Pena eed5d9cc5f Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed possible memory leak
2013-10-12 18:06:39 -03:00
Daniel Lowrey 9d57243794 Fixes broken zts build (recent openssl changes) 2013-10-12 22:28:15 +02:00
Felipe Pena 0ca4b6c083 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed resource leak
2013-10-12 17:25:37 -03:00
Felipe Pena 54a595a091 Merge branch 'master' of git.php.net:/php-src 2013-10-12 17:05:20 -03:00
Levi Morrison 73c44d6e6a Fixed assumption that the temporary directory is located in /tmp 2013-10-11 22:18:07 +02:00
Levi Morrison 7f3b5b77cc Standardized usage of zpp_none and the order of the comparison zpp(...) == FAILURE 2013-10-11 10:32:40 -06:00
Christopher Jones 5ae8c51e68 OCI8: sync README and package.xml descriptions 2013-10-10 13:38:38 -07:00
Christopher Jones 71a3c07843 Merge branch 'master' of https://git.php.net/repository/php-src
# By Dmitry Stogov
# Via Christopher Jones (2) and Dmitry Stogov (2)
* 'master' of https://git.php.net/repository/php-src:
  Fixed bug #65845 (Error when Zend Opcache Optimizer is fully enabled).
2013-10-10 11:15:12 -07:00
Dmitry Stogov a2aa6a3440 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65845 (Error when Zend Opcache Optimizer is fully enabled).

Conflicts:
	NEWS
2013-10-10 15:33:17 +04:00
Christopher Jones 141c2cb97a Re-enable OCI8 DLL builds with Oracle 10g & 11g client libraries on
Windows, in addition to Oracle 12c.  From discussions with Anatol &
Pierre this seems to be the most direct way for the Windows PECL build
scripts to automatically create links to the generated DLLs.  The
issue is that the name php_oci8_12c.dll doesn't match the package
name.

In the far future when php_oci8.dll (with Oracle 10g) is no longer
built then another Windows PECL packaging fix will be needed.
2013-10-09 12:17:11 -07:00
Christopher Jones 3979b8b9c4 Merge branch 'master' of https://git.php.net/repository/php-src
# By Michael Wallner (4) and others
# Via Michael Wallner (8) and Stanley Sufficool (1)
* 'master' of https://git.php.net/repository/php-src:
  C89
  Changed return types to zend_bool, renamed test
  C89 compatibility
  Fixed segfault when built with OpenSSL >= 1.0.1
  Thanks Daniel, I didn't think long enough
  consolidate NEWS with 5.4
  Added SAN matching during peer verification
  fixing a minor typo in CODING_STANDARDS document
  FIX BUG #65219 - Typo correction
  FIX BUG #65219 - USE DB not being sent for FreeTDS version < 0.92 FreeTDS <0.92 does not support DBSETLDBNAME option and therefore will not work with SQL Azure. Fallback to dbuse command in letter versions.
  run-tests.php: Adding support for sections EXPECT_EXTERNAL, EXPECTF_EXTERNAL and EXPECTREGEX_EXTERNAL. (Issue 55736)
2013-10-09 09:41:12 -07:00
Michael Wallner e2d123a720 C89 2013-10-09 17:16:25 +02:00
Michael Wallner c85c50e35c Merge branch 'san_peer_matching' of https://github.com/rdlowrey/php-src
* 'san_peer_matching' of https://github.com/rdlowrey/php-src:
  Changed return types to zend_bool, renamed test
  Added SAN matching during peer verification
2013-10-09 17:09:03 +02:00
Daniel Lowrey a40dd6e963 Changed return types to zend_bool, renamed test 2013-10-09 09:55:36 -04:00
Michael Wallner 302b9d4e5c Merge branch 'PHP-5.5'
* PHP-5.5:
  C89 compatibility
2013-10-09 12:30:51 +02:00
Michael Wallner 5f41cb18be Merge branch 'issue-55736' of https://github.com/tistre/php-src
implements FR #55736

* 'issue-55736' of https://github.com/tistre/php-src:
  run-tests.php: Adding support for sections EXPECT_EXTERNAL, EXPECTF_EXTERNAL and EXPECTREGEX_EXTERNAL. (Issue 55736)
2013-10-09 10:06:45 +02:00
Michael Wallner 29d5ff75d5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed segfault when built with OpenSSL >= 1.0.1
  fixing a minor typo in CODING_STANDARDS document
  FIX BUG #65219 - Typo correction
  FIX BUG #65219 - USE DB not being sent for FreeTDS version < 0.92 FreeTDS <0.92 does not support DBSETLDBNAME option and therefore will not work with SQL Azure. Fallback to dbuse command in letter versions.
2013-10-09 09:18:29 +02:00
Michael Wallner 1815942f53 Thanks Daniel, I didn't think long enough 2013-10-09 08:22:33 +02:00
Michael Wallner cfa4eced9f Merge branch 'PHP-5.5'
* PHP-5.5:
  consolidate NEWS with 5.4
2013-10-09 08:16:23 +02:00
Daniel Lowrey 2ddefbd2b3 Added support for TLSv1.1 and TLSv1.2 2013-10-08 14:09:17 -04:00
Christopher Jones c0bcedafbc Merge branch 'master' of https://git.php.net/repository/php-src
# By Tjerk Meesters (12) and others
# Via Michael Wallner
* 'master' of https://git.php.net/repository/php-src: (24 commits)
  openssl NEWS,UPGRADING
  fix bad cast
  fix bug #51076 (race condition in shtool's mkdir -p)
  DNS name comparison is now case insensitive.
  Use zend_bool as return value for _match()
  Added two more test cases for CN matching.
  Using SUCCESS and FAILURE for return values Using zend_bool for boolean arguments and return values Reduced one level of zval indirection where possible
  Add unit test that covers setting the crypto method.
  show method in error message
  Support string and array for peer fingerprint matching
  who put that stupid newline there?
  add md5 and sha1 fingerprint tests
  Renamed to be more descriptive of what it does
  Streams for ssl:// transports can now be configured to use a specific crypto method (SSLv3, SSLv2 etc.) by calling
  yay, reduced one variable
  Fixed bug that would lead to out of bounds memory access
  don't leak cert on errors, return null on zpp failure
  added better wildcard matching for CN
  Added test case for openssl_x509_digest()
  removed the byref result
  ...
2013-10-08 10:21:42 -07:00
Daniel Lowrey 1970b96443 Added SAN matching during peer verification 2013-10-08 12:37:44 -04:00
Michael Wallner cf6413ae7c openssl NEWS,UPGRADING 2013-10-08 16:20:07 +02:00
Michael Wallner ea0578e223 Merge branch 'ssl-streams-crypto-method' of https://github.com/mj/php-src
* 'ssl-streams-crypto-method' of https://github.com/mj/php-src:
  Add unit test that covers setting the crypto method.
  Streams for ssl:// transports can now be configured to use a specific crypto method (SSLv3, SSLv2 etc.) by calling
2013-10-08 16:10:00 +02:00
Michael Wallner 8300ced2f7 Merge branch 'bug65729' of https://github.com/datibbaw/php-src
* 'bug65729' of https://github.com/datibbaw/php-src:
  DNS name comparison is now case insensitive.
  Use zend_bool as return value for _match()
  Added two more test cases for CN matching.
  yay, reduced one variable
  Fixed bug that would lead to out of bounds memory access
  added better wildcard matching for CN
2013-10-08 15:58:28 +02:00
Michael Wallner 0d8c83a251 Merge branch 'openssl-x509-digest' of https://github.com/datibbaw/php-src
* 'openssl-x509-digest' of https://github.com/datibbaw/php-src:
  Using SUCCESS and FAILURE for return values Using zend_bool for boolean arguments and return values Reduced one level of zval indirection where possible
  show method in error message
  Support string and array for peer fingerprint matching
  who put that stupid newline there?
  add md5 and sha1 fingerprint tests
  Renamed to be more descriptive of what it does
  don't leak cert on errors, return null on zpp failure
  Added test case for openssl_x509_digest()
  removed the byref result
  indentation fail
  added option for hash function
  added option for raw output
  added openssl_x509_digest(), output is binary sha1
2013-10-08 15:57:18 +02:00
Michael Wallner 5d430ad902 fix bad cast 2013-10-08 11:16:53 +02:00
Michael Wallner b15765412a Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #51076 (race condition in shtool's mkdir -p)
2013-10-08 08:37:44 +02:00
datibbaw 6106896440 DNS name comparison is now case insensitive. 2013-10-08 10:07:54 +08:00
Christopher Jones f0863fa43a Add new tests to package.xml 2013-10-07 17:38:56 -07:00
Christopher Jones 1675fd2277 Add new tests 2013-10-07 17:26:00 -07:00
Christopher Jones 12f9939b79 Bump mininum requirements for PHP OCI8 2.0 to PHP 5.2 and Oracle
client library 10.2 (Note this will connect to Oracle Database 8.1.7
onwards). Use the older OCI8 1.4 from PECL if using an earlier PHP
version or older Oracle client library support is necessary.
2013-10-07 17:23:11 -07:00
Tjerk Meesters 39c0daeb71 Use zend_bool as return value for _match() 2013-10-07 23:04:24 +08:00
Tjerk Meesters 674dd73f8c Added two more test cases for CN matching. 2013-10-07 22:10:05 +08:00
Anatol Belski 4fe7ec33f1 Merge branch 'PHP-5.5'
* PHP-5.5:
  added fixed tests for ICU >= 51.2
  fixed failing tests for ICU >= 51.2
  FIX BUG #65219 - Typo correction
  FIX BUG #65219 - USE DB not being sent for FreeTDS version < 0.92 FreeTDS <0.92 does not support DBSETLDBNAME option and therefore will not work with SQL Azure. Fallback to dbuse command in letter versions.
  - Fixed bug #65818 (Segfault with built-in webserver and chunked transfer encoding)
  - BFN
2013-10-07 13:50:59 +02:00
datibbaw 955bc1d91b Using SUCCESS and FAILURE for return values
Using zend_bool for boolean arguments and return values
Reduced one level of zval indirection where possible
2013-10-07 15:38:48 +08:00
Stanley Sufficool 9c7dbb0487 Fix bug #64338 pdo_dblib can't connect to Azure SQL 2013-10-05 18:26:25 -07:00
Stanley Sufficool 3e023c3ddf Merge branch 'master' of https://git.php.net/push/php-src
* 'master' of https://git.php.net/push/php-src: (705 commits)
  Allow the ldap extension to be compiled with Oracle's LDAP implementation, if desired.  Note the implementations differ so you will see different ldap behavior.
  Fix bug #65667: ftp_nb_continue produces segfault
  fix bug #64146 (serialize incorrectly saving objects when they are cloned)
  such a weird hack probably helps in finding regressions in the future
  Fix bug #65821: By-ref foreach on property access of string offset segfaults
  Fixed bug #64230 (XMLReader does not suppress errors)
  add NEWS and UPGRADING about gost-crypto
  fix bug #55285 XMLReader::getAttribute/No/Ns methods inconsistency
  typo: really fix bug #51936 	Crash with clone xmlreader
  fix bug #59613 (Crash with clone XMLReader)
  Fix Bug #60633 build warning in bcmath
  fix bug #65808 	the socket_connect() won't work with IPv6 address
  5.4.22-dev now
  Revert "Make 'make distclean' remove the downloaded pear PHAR"
  fix bug #62396 'make test' crashes starting with 5.3.14 (missing gzencode())
  Fixed bug #61548
  Reverted patch (it was used for internal testing and was committed by accident)
  OCI8 2.0: Added a new oci_set_db_operation() user space function for the "DB Operation" tracing feature of Oracle DB 12c.
  Make 'make distclean' remove the downloaded pear PHAR
  fix test
  ...
2013-10-05 17:57:23 -07:00
Felipe Pena 606a97f4ec Merge branch 'master' of git.php.net:/php-src 2013-10-05 12:55:35 -03:00
Felipe Pena 8153dd2a95 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed bug #65818 (Segfault with built-in webserver and chunked transfer encoding)
  - BFN
  Allow the ldap extension to be compiled with Oracle's LDAP implementation, if desired.  Note the implementations differ so you will see different ldap behavior.
2013-10-05 12:53:24 -03:00
Christopher Jones 3261eb348f Merge branch 'PHP-5.5'
* PHP-5.5:
  Allow the ldap extension to be compiled with Oracle's LDAP implementation, if desired.  Note the implementations differ so you will see different ldap behavior.
2013-10-04 15:51:39 -07:00
Martin Jansen 047877e810 Add unit test that covers setting the crypto method. 2013-10-04 21:55:29 +02:00
Christopher Jones 1fee78e465 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fix bug #65667: ftp_nb_continue produces segfault
  fix bug #64146 (serialize incorrectly saving objects when they are cloned)
  such a weird hack probably helps in finding regressions in the future
2013-10-04 10:51:36 -07:00
Nikita Popov 44a2ae059e Merge branch 'PHP-5.5' 2013-10-04 17:27:22 +02:00
Michael Wallner f72ed22749 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #64146 (serialize incorrectly saving objects when they are cloned)
2013-10-04 16:17:46 +02:00
Michael Wallner 39022ba227 Merge branch 'PHP-5.5'
* PHP-5.5:
  such a weird hack probably helps in finding regressions in the future
2013-10-04 16:12:41 +02:00
Christopher Jones 27d46a4454 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fix bug #65821: By-ref foreach on property access of string offset segfaults
  Fixed bug #64230 (XMLReader does not suppress errors)
2013-10-04 05:41:03 -07:00
Nikita Popov ff46b6f633 Merge branch 'PHP-5.5' 2013-10-04 13:15:45 +02:00
Michael Wallner e13e5b17ff Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64230 (XMLReader does not suppress errors)
2013-10-04 11:22:52 +02:00
Christopher Jones 5d6087497c Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  add NEWS and UPGRADING about gost-crypto
  fix bug #55285 XMLReader::getAttribute/No/Ns methods inconsistency
  fix failing tests
  fix indention
  Add support for CryptoPro S-box for GOST
2013-10-03 13:37:34 -07:00
Michael Wallner 099b295646 add NEWS and UPGRADING about gost-crypto 2013-10-03 16:23:59 +02:00
Michael Wallner 05f847da45 Merge PR #430 gost-crypto
Merge branch 'master' of github.com:manuelm/php-src

* 'master' of github.com:manuelm/php-src:
  fix failing tests
  fix indention
  Add support for CryptoPro S-box for GOST
2013-10-03 16:20:00 +02:00
Michael Wallner c7b1d76eb9 fix bug #55285 XMLReader::getAttribute/No/Ns methods inconsistency 2013-10-03 15:23:05 +02:00
Christopher Jones 333539b5fc Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  typo: really fix bug #51936 	Crash with clone xmlreader
  fix bug #59613 (Crash with clone XMLReader)
  Fix Bug #60633 build warning in bcmath
  fix bug #65808 	the socket_connect() won't work with IPv6 address
  5.4.22-dev now
2013-10-03 05:41:05 -07:00
Michael Wallner 2a1bd123d6 Merge branch 'PHP-5.5'
* PHP-5.5:
  typo: really fix bug #51936 	Crash with clone xmlreader
2013-10-03 13:35:09 +02:00
Michael Wallner 95fd508dfa Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #59613 (Crash with clone XMLReader)
2013-10-03 13:30:02 +02:00
Remi Collet 99598fd873 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix Bug #60633 build warning in bcmath
2013-10-03 08:45:40 +02:00
Michael Wallner bc16dfda1f Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #65808 	the socket_connect() won't work with IPv6 address
  5.4.22-dev now
2013-10-02 15:56:09 +02:00
Christopher Jones 83955de57e Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Revert "Make 'make distclean' remove the downloaded pear PHAR"
  fix bug #62396 'make test' crashes starting with 5.3.14 (missing gzencode())
2013-10-02 05:41:20 -07:00
Christopher Jones 67df40fd54 Merge branch 'PHP-5.5'
* PHP-5.5:
  Revert "Make 'make distclean' remove the downloaded pear PHAR"
2013-10-01 10:35:03 -07:00
Christopher Jones 471413ab19 Merge branch 'master' of https://git.php.net/repository/php-src
# By Michael Wallner (2) and Dmitry Stogov (1)
# Via Michael Wallner (5) and others
* 'master' of https://git.php.net/repository/php-src:
  fix bug #62396 'make test' crashes starting with 5.3.14 (missing gzencode())
  Fixed bug #61548
  Reverted patch (it was used for internal testing and was committed by accident)
2013-10-01 10:19:45 -07:00
Michael Wallner 54c08e3e1e Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #62396 'make test' crashes starting with 5.3.14 (missing gzencode())
2013-10-01 17:02:20 +02:00
Christopher Jones 1d65acea41 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fixed bug #61548
  Reverted patch (it was used for internal testing and was committed by accident)
  OCI8 2.0: Added a new oci_set_db_operation() user space function for the "DB Operation" tracing feature of Oracle DB 12c.
2013-10-01 05:40:48 -07:00
Michael Wallner d29a01de3f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #61548

Conflicts:
	ext/standard/http_fopen_wrapper.c
2013-10-01 11:11:48 +02:00
Dmitry Stogov 66cd9ef04c Merge branch 'PHP-5.5'
* PHP-5.5:
  Reverted patch (it was used for internal testing and was committed by accident)
2013-10-01 11:34:19 +04:00
Christopher Jones 954a0f8bf4 OCI8 2.0: Added a new oci_set_db_operation() user space function for the "DB Operation" tracing feature of Oracle DB 12c.
Currently this code is #ifdef'd out, since I can't consider the feature stable until an Oracle-side fix for Oracle bug 16695981 is available.  Having the code available in PHP OCI8 facilitates testing of any fix.
2013-09-30 16:51:07 -07:00
Christopher Jones ca6a259ed1 Merge branch 'master' of https://git.php.net/repository/php-src
# By Michael Wallner (2) and others
# Via Christopher Jones (8) and others
* 'master' of https://git.php.net/repository/php-src:
  Make 'make distclean' remove the downloaded pear PHAR
  fix test
  fix memleak on resetting rebind_proc
  Fix bug #64979: Wrong behavior of static variables in closure generators
  Fix bug #65322: compile time errors won't trigger auto loading
  5.5.4 release date
  5.4.20 release date
  Add information about which INI file is which inside respective files
2013-09-30 15:54:39 -07:00
Christopher Jones 86c3378c5c Merge branch 'PHP-5.5'
* PHP-5.5:
  Make 'make distclean' remove the downloaded pear PHAR
2013-09-30 15:47:33 -07:00
Tjerk Meesters e45eacd8fa show method in error message 2013-09-30 21:21:56 +08:00
Michael Wallner 6757033355 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix test
  fix memleak on resetting rebind_proc
2013-09-30 14:05:37 +02:00
Nikita Popov cbf0683c6f Merge branch 'PHP-5.5' 2013-09-29 20:19:40 +02:00
Nikita Popov 9529b8f5c4 Merge branch 'PHP-5.5' 2013-09-29 18:01:42 +02:00
Stanislav Malyshev 7a9530612d Merge branch 'PHP-5.5'
* PHP-5.5:
  5.5.4 release date
  5.4.20 release date
  Add information about which INI file is which inside respective files
2013-09-28 18:07:32 -07:00
Christopher Jones 0a3ee7b26b Prepare for next release 2013-09-27 17:16:02 -07:00
Christopher Jones 9b9eaba083 OCI8: Fix alloc function and DLL generation 2013-09-27 17:00:41 -07:00
Christopher Jones aba30ce306 Merge branch 'master' of https://git.php.net/repository/php-src
# By Dmitry Stogov (2) and others
# Via Christopher Jones (22) and others
* 'master' of https://git.php.net/repository/php-src:
  Removed references to "Zend Support"
  Added support for GNU Hurd. (Svante Signell)
  - Updated to version 2013.6 (2013f)
  More OCI8 DTrace probe updates. Change php.ini-* doc to match an earlier change to config.w32
  FIX BUG #48539 - Disable TEXTLIMIT for FreeTDS driver
  Don't track parameter number in separate znode
  fix missing change from 'tcp_socket' to the more common 'server'
  fix many parallel test issues
2013-09-27 15:57:13 -07:00
Tjerk Meesters 75ba75e205 Using only two constants to signal use type intent. 2013-09-28 00:06:04 +08:00
datibbaw 0492145e58 added bitmask variation 2013-09-28 00:06:04 +08:00
Tjerk Anne Meesters b8653d3457 fixed test case to pass on other systems than my own 2013-09-28 00:06:03 +08:00
datibbaw 6442e49b22 forgot introspection changes 2013-09-28 00:06:03 +08:00
datibbaw a88c7be88b added use_keys argument to array_filter() 2013-09-28 00:06:03 +08:00
Dmitry Stogov 56eee05f66 Merge branch 'PHP-5.5'
* PHP-5.5:
  Removed references to "Zend Support"
2013-09-27 14:02:01 +04:00
Dmitry Stogov 3eba8cf673 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added support for GNU Hurd. (Svante Signell)

Conflicts:
	NEWS
2013-09-27 13:44:31 +04:00
Derick Rethans 9ef4e5d23d Merge branch 'PHP-5.5' 2013-09-27 10:14:51 +01:00
datibbaw edd93f3452 Support string and array for peer fingerprint matching 2013-09-27 14:13:11 +08:00
Christopher Jones 5ac7c533a0 More OCI8 DTrace probe updates.
Change php.ini-* doc to match an earlier change to config.w32
2013-09-26 21:12:11 -07:00
Christopher Jones 8554800e76 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Don't track parameter number in separate znode
  fix missing change from 'tcp_socket' to the more common 'server'
  fix many parallel test issues
2013-09-26 21:07:57 -07:00
Sara Golemon 92fe33c570 Merge branch 'pull-request/473' 2013-09-26 13:24:08 -07:00
Nikita Popov 0ceea8a2e8 Don't track parameter number in separate znode
We already track it in the op array already.
2013-09-26 19:43:32 +02:00
Christopher Jones eb8e63bd3c Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Implement variadic function syntax
2013-09-26 09:57:54 -07:00
Christopher Jones a3b0fa0d04 Merge branch 'master' of https://git.php.net/repository/php-src
# By Adam Harvey (2) and others
# Via Adam Harvey (2) and others
* 'master' of https://git.php.net/repository/php-src:
  Implement variadic function syntax
  Added function opcache_compile_file() to load PHP scripts into cache without execution.
  Fixed issue #135 (segfault in interned strings if initial memory is too low)
  Fix typo: HTTP_ROW_POST_DATA → HTTP_RAW_POST_DATA.
  Make message and format arguments const char * to avoid build warning about invalid cast.
  Copy dba_*() keys before converting to string.
2013-09-26 09:57:36 -07:00
Nikita Popov 0d7a638866 Implement variadic function syntax
As per RFC: https://wiki.php.net/rfc/variadics
2013-09-26 18:39:17 +02:00
ptarjan 361e984e46 fix missing change from 'tcp_socket' to the more common 'server' 2013-09-26 01:06:36 -07:00
ptarjan ecbe4af0de fix many parallel test issues
While running these on HHVM I've run into a lot of parallelism issues.
I'm backporting all the fixes I had to do in
https://github.com/facebook/hiphop-php/blob/master/hphp/tools/import_zend_test.py#L650
to php core.

Most of these changes were just filenames that were shared between
tests, but I did more surgery on the fixed ports. I can apreciate port
31337 as much as the next nerd, but random ports are better for tests.
2013-09-26 00:30:23 -07:00
Christopher Jones c02ff01548 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Added function opcache_compile_file() to load PHP scripts into cache without execution.
  Fixed issue #135 (segfault in interned strings if initial memory is too low)
2013-09-25 05:40:56 -07:00
Dmitry Stogov 6daa04a4f6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added function opcache_compile_file() to load PHP scripts into cache without execution.

Conflicts:
	NEWS
2013-09-25 12:15:01 +04:00
Dmitry Stogov 4e249c8a93 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed issue #135 (segfault in interned strings if initial memory is too low)

Conflicts:
	NEWS
2013-09-25 11:04:03 +04:00
Christopher Jones f4ce01864a Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fix typo: HTTP_ROW_POST_DATA → HTTP_RAW_POST_DATA.
2013-09-24 05:40:53 -07:00
Adam Harvey 8d087dc0d7 Fix typo: HTTP_ROW_POST_DATA → HTTP_RAW_POST_DATA.
Fixes bug #65745 (Typo in commit 4a3936ef4a).
2013-09-23 13:30:47 -07:00
Tjerk Meesters 69bdc5aca8 who put that stupid newline there? 2013-09-23 23:42:31 +08:00
Tjerk Meesters 1c7cabb2ca add md5 and sha1 fingerprint tests 2013-09-23 23:29:17 +08:00
Christopher Jones fad80daec5 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Make message and format arguments const char * to avoid build warning about invalid cast.
  Copy dba_*() keys before converting to string.
2013-09-23 05:41:25 -07:00
Remi Collet c760ff1615 Merge branch 'PHP-5.5'
* PHP-5.5:
  Make message and format arguments const char * to avoid build warning about invalid cast.
2013-09-23 13:23:00 +02:00
Adam Harvey 859b708722 Merge branch 'PHP-5.5'
* PHP-5.5:
  Copy dba_*() keys before converting to string.
2013-09-22 16:54:12 -07:00
Tjerk Meesters 2bfc5a253b Renamed to be more descriptive of what it does 2013-09-23 00:51:17 +08:00
Martin Jansen ce2789558a Streams for ssl:// transports can now be configured to use a specific
crypto method (SSLv3, SSLv2 etc.) by calling

stream_context_set_option($ctx, "ssl", "crypto_method", $crypto_method)

where $crypto_method can be one of STREAM_CRYPTO_METHOD_SSLv2_CLIENT,
STREAM_CRYPTO_METHOD_SSLv3_CLIENT, STREAM_CRYPTO_METHOD_SSLv23_CLIENT
or STREAM_CRYPTO_METHOD_TLS_CLIENT. SSLv23 remains the default crypto
method.

This change makes it possible to fopen() SSL URLs that are only
provided using SSL v3.
2013-09-21 21:26:40 +02:00
Tjerk Meesters a820c3d6ba yay, reduced one variable 2013-09-21 20:42:52 +08:00
Tjerk Meesters 8e847b5845 Fixed bug that would lead to out of bounds memory access 2013-09-21 19:38:09 +08:00
Tjerk Meesters 521a5c9568 don't leak cert on errors, return null on zpp failure 2013-09-21 18:24:00 +08:00
Tjerk Meesters 8915c3fb4f added better wildcard matching for CN 2013-09-21 16:45:20 +08:00
Christopher Jones b3a17e53f3 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fix the broken sh syntax in ext/imap/config.m4.
  Fixed bug #65678 the test cli_process_title_windows will fails on particular environnement
2013-09-20 17:10:16 -07:00
Christopher Jones c175617b80 Merge branch 'master' of https://git.php.net/repository/php-src
# By Adam Harvey (1) and Anatol Belski (1)
# Via Adam Harvey (3) and others
* 'master' of https://git.php.net/repository/php-src:
  Fix the broken sh syntax in ext/imap/config.m4.
  Fixed bug #65678 the test cli_process_title_windows will fails on particular environnement
2013-09-20 17:09:53 -07:00
Adam Harvey 9e3bedcd73 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix the broken sh syntax in ext/imap/config.m4.
2013-09-20 14:21:28 -07:00
Tjerk Meesters a97aec16c0 Added test case for openssl_x509_digest() 2013-09-20 23:29:04 +08:00
Tjerk Meesters 574fe449dc removed the byref result 2013-09-20 22:50:30 +08:00
Anatol Belski ac562b027b Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65678 the test cli_process_title_windows will fails on particular environnement
2013-09-20 16:01:11 +02:00
datibbaw ce13f9fa32 indentation fail 2013-09-20 16:59:44 +08:00
datibbaw b2881db9a9 added option for hash function 2013-09-20 16:56:50 +08:00
datibbaw 5cff92fb12 added option for raw output 2013-09-20 15:45:41 +08:00
datibbaw b8f9a20286 added openssl_x509_digest(), output is binary sha1 2013-09-20 15:04:52 +08:00
Christopher Jones d135e08a98 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Added application/pdf to PHP CLI Web Server mime types.
2013-09-19 20:38:53 -07:00
Christopher Jones b0a5e760fe Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  add note about request_body and php://input
2013-09-19 20:27:28 -07:00
Christopher Jones dcafcd01a9 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added application/pdf to PHP CLI Web Server mime types.
2013-09-19 20:23:18 -07:00
Christopher Jones d879d3de1e Merge branch 'PHP-5.5'
* PHP-5.5:
2013-09-19 20:22:12 -07:00
Christopher Jones 6ee3472a5f Merge branch 'master' of https://git.php.net/repository/php-src
# By Michael Wallner
# Via Michael Wallner
* 'master' of https://git.php.net/repository/php-src:
  add note about request_body and php://input
2013-09-19 10:53:22 -07:00
Michael Wallner 11d60447f9 add note about request_body and php://input 2013-09-19 15:41:04 +02:00
Christopher Jones 4f62df4f28 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Build OCI8 2.0 on Windows with Oracle Database 12c libraries only
2013-09-19 05:40:24 -07:00
Michael Wallner 98e4ecb6f0 fix Zend/tests/ns_040.phpt failing
It was wrongly assumed the namespace has to be looked up in a case
sensitive manner too. Fixed the lookup to use a lower case
represenation of the import name.
2013-09-19 10:51:57 +02:00
Christopher Jones b6d0cb0553 Build OCI8 2.0 on Windows with Oracle Database 12c libraries only 2013-09-18 19:50:32 -07:00
Christopher Jones 3d165224da Merge branch 'master' of https://git.php.net/repository/php-src
# By Michael Wallner (18) and others
# Via David Soria Parra (8) and others
* 'master' of https://git.php.net/repository/php-src: (37 commits)
  better way to fix PRIu64 availability on windows
  Revert "EmptyIterator now implements Countable; fixes bug 60577"
  RFC 6598 reserved ip range starts at 100.64.0.0
  fix a very rare case of use of uninitialized value combined with a memleak
  fix test concurrency
  fix test concurrency
  fix test concurrency
  fix test concurrency
  fix test concurrency
  fix build - PRIu64 vs %I64u
  final bits
  we need to use the full stream wrapper for filters
  let the libsqlite3 symbols be exported in dll
  NEWS/UPGRADING{,.INTERNALS} notes about temp POST stream
  Exclude bison 3.0 by Mike
  NEWS for added reserved ip addresses according to RFC 6598
  Add RFC 6598 IPs to reserved addresses
  upload2G note
  NEWS for #60577
  NEWS for bug #64441
  ...
2013-09-18 19:49:40 -07:00
Christopher Jones 44ff556a82 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  better way to fix PRIu64 availability on windows
  Revert "EmptyIterator now implements Countable; fixes bug 60577"
2013-09-18 08:16:09 -07:00
Anatol Belski 86dfe7be49 better way to fix PRIu64 availability on windows 2013-09-18 15:14:36 +02:00
David Soria Parra dc7015d4e4 Merge branch 'PHP-5.5'
* PHP-5.5:
  Revert "EmptyIterator now implements Countable; fixes bug 60577"
2013-09-18 15:06:58 +02:00
Christopher Jones b1574a78e7 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  RFC 6598 reserved ip range starts at 100.64.0.0
  fix a very rare case of use of uninitialized value combined with a memleak
  fix test concurrency
  fix test concurrency
  fix test concurrency
  fix test concurrency
  fix test concurrency
  fix build - PRIu64 vs %I64u
2013-09-18 05:41:20 -07:00
David Soria Parra 58c6e05748 Merge branch 'PHP-5.5'
* PHP-5.5:
  RFC 6598 reserved ip range starts at 100.64.0.0
2013-09-18 14:29:02 +02:00
Chris Wright 0d534d7c5e Add ldap_escape() 2013-09-18 12:18:05 +01:00
Michael Wallner 33c4b61c7f Merge branch 'PHP-5.5'
* PHP-5.5:
  fix a very rare case of use of uninitialized value combined with a memleak
2013-09-18 11:12:44 +02:00
Michael Wallner cdf5d201ab fix test concurrency 2013-09-18 11:02:45 +02:00
Michael Wallner e9877fe92e fix test concurrency 2013-09-18 10:53:11 +02:00
Michael Wallner 14d5341787 fix test concurrency 2013-09-18 10:52:51 +02:00
Michael Wallner 6866b45a48 fix test concurrency 2013-09-18 10:52:35 +02:00
Michael Wallner 002763fb7b fix test concurrency 2013-09-18 10:52:18 +02:00
Anatol Belski 4a85b5e190 fix build - PRIu64 vs %I64u 2013-09-17 16:02:08 +02:00
Christopher Jones f0d8de4ca3 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src: (27 commits)
  final bits
  we need to use the full stream wrapper for filters
  let the libsqlite3 symbols be exported in dll
  NEWS/UPGRADING{,.INTERNALS} notes about temp POST stream
  Exclude bison 3.0 by Mike
  NEWS for added reserved ip addresses according to RFC 6598
  Add RFC 6598 IPs to reserved addresses
  upload2G note
  NEWS for #60577
  NEWS for bug #64441
  Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
  EmptyIterator now implements Countable; fixes bug 60577
  News for bugfix #64157
  Bug 64157 Changed error message to make sense
  remove unused code
  tests
  make reading php://input JIT if enable_post_data_reading=0
  revert stream cast
  fix ZTS build
  slim post data
  ...
2013-09-17 05:40:50 -07:00
Michael Wallner e6084da473 final bits 2013-09-17 13:59:49 +02:00
Michael Wallner 423c70fb4d Merge branch 'slim-postdata-merge'
* slim-postdata-merge:
  remove unused code
  tests
  make reading php://input JIT if enable_post_data_reading=0
  revert stream cast
  fix ZTS build
  slim post data

Conflicts:
	ext/soap/soap.c
	ext/standard/php_fopen_wrapper.c
	main/SAPI.c
2013-09-17 13:52:25 +02:00
Michael Wallner 0f78d8612a we need to use the full stream wrapper for filters 2013-09-17 13:44:50 +02:00
Anatol Belski 41d78110ff let the libsqlite3 symbols be exported in dll 2013-09-17 13:05:44 +02:00
Michael Wallner 512734b58d Merge remote-tracking branch 'refs/remotes/origin/master'
* refs/remotes/origin/master:
  Exclude bison 3.0 by Mike
2013-09-17 11:10:38 +02:00
Michael Wallner 4a3936ef4a NEWS/UPGRADING{,.INTERNALS} notes about temp POST stream 2013-09-17 11:08:23 +02:00
Xinchen Hui be581ec66d Exclude bison 3.0 by Mike 2013-09-17 16:54:27 +08:00
Michael Wallner 1c15d70cbd Merge branch 'slim-postdata'
* slim-postdata:
  slim post data
  add NEWS entry; add simple test
  more precise condition
  make this work in vc11 too
  Use int64_t and atoll() after discussion with johannes
  ws
  Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.
2013-09-17 10:50:49 +02:00
David Soria Parra 52ff129607 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for added reserved ip addresses according to RFC 6598
  Add RFC 6598 IPs to reserved addresses
2013-09-17 09:55:59 +02:00
Michael Wallner 552f22abae upload2G note 2013-09-17 08:04:07 +02:00
David Soria Parra ca75e6f760 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for #60577
  NEWS for bug #64441
  Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
  EmptyIterator now implements Countable; fixes bug 60577
  News for bugfix #64157
  Bug 64157 Changed error message to make sense
2013-09-16 23:36:48 +02:00
Christopher Jones b740bfc741 Merge branch 'master' of https://git.php.net/repository/php-src
# By Michael Wallner (3) and others
# Via Michael Wallner (2) and Xinchen Hui (2)
* 'master' of https://git.php.net/repository/php-src:
  use 65k of data to get a more explicit result
  double test timeout for travis
  this test is fragile on travis, let's see why
  Add test for ISSUE #128
  Fixed bug #65665 (Exception not properly caught when opcache enabled)
  Save a TSRMLS_FETCH() for zval_ptr_dtor in executor
2013-09-16 10:21:31 -07:00
Christopher Jones 699b43ff87 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  use 65k of data to get a more explicit result
  double test timeout for travis
  this test is fragile on travis, let's see why
  Add test for ISSUE #128
  Fixed bug #65665 (Exception not properly caught when opcache enabled)
  Save a TSRMLS_FETCH() for zval_ptr_dtor in executor
2013-09-16 05:40:44 -07:00
Michael Wallner ca3d5d06e4 use 65k of data to get a more explicit result 2013-09-16 10:50:02 +02:00
Michael Wallner 6dff371a35 Merge branch 'PHP-5.5'
* PHP-5.5:
  double test timeout for travis
2013-09-16 09:35:29 +02:00
Michael Wallner 52bd9f05ea this test is fragile on travis, let's see why 2013-09-16 09:29:42 +02:00
Xinchen Hui 743c680545 Merge branch 'PHP-5.5' 2013-09-16 15:03:09 +08:00
Xinchen Hui e53e79c701 Merge branch 'PHP-5.5' 2013-09-16 14:43:13 +08:00
Nikita Popov bdfa03d79d Save a TSRMLS_FETCH() for zval_ptr_dtor in executor
This gives me about 9% improvement on Zend/bench.php for a zts build.
2013-09-14 23:02:26 +02:00
Christopher Jones f71167e252 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fix intl build
2013-09-13 16:46:20 -07:00
Christopher Jones c4df19187a Merge branch 'master' of https://git.php.net/repository/php-src
# By Nikita Popov
# Via Nikita Popov
* 'master' of https://git.php.net/repository/php-src:
  Fix intl build
2013-09-13 16:44:10 -07:00
Nikita Popov 8748e146b9 Fix intl build 2013-09-14 01:37:09 +02:00
Christopher Jones 81b5a06fd6 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Remove some more unnecessary macros from phar
  Remove PHAR_(Z)STR* usages
  Remove version checks in phar
2013-09-13 16:21:28 -07:00
Christopher Jones e03a3d55d8 Merge branch 'master' of https://git.php.net/repository/php-src
# By Nikita Popov (10) and others
# Via Nikita Popov (6) and others
* 'master' of https://git.php.net/repository/php-src: (26 commits)
  Remove some more unnecessary macros from phar
  Remove PHAR_(Z)STR* usages
  Remove version checks in phar
  Fix two warnings
  Provide more macros for handling of interned strings
  Make use of Z_*VAL and ZVAL_* in language scanner
  Make consistent use of Z_*VAL macros in compiler
  fix broken sha2 configure tests
  fix broken sha2 configure tests
  Small cleanup in class name resolution of compiler
  Fixed minor bug in test.
  Move NEWS entries to correct version
  Fix bug #64782: SplFileObject constructor make $context optional
  Prepare pdo_firebird for a pecl release also
  Fix bug #65502: DateTimeImmutable::createFromFormat returns DateTime
  Fix bug #65548: Comparison for DateTimeImmutable doesn't work
  Sort the NEWS file alphabetically.
  Request non-keep-alive connections by default in HTTP 1.1 requests.
  Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir.
  Tinker with the wording of the short_open_tag description.
  ...
2013-09-13 14:10:58 -07:00
Nikita Popov db6d93feca Remove some more unnecessary macros from phar 2013-09-13 21:49:09 +02:00
Nikita Popov e6b228332f Remove PHAR_(Z)STR* usages 2013-09-13 21:49:09 +02:00
Nikita Popov 39bd738fbf Remove version checks in phar
No need to keep around compatability code for PHP 5.0 and PHP 6.
2013-09-13 21:47:59 +02:00
Christopher Jones 3a8f0b1077 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fix two warnings
  Provide more macros for handling of interned strings
  Make use of Z_*VAL and ZVAL_* in language scanner
  Make consistent use of Z_*VAL macros in compiler
2013-09-13 11:20:38 -07:00
Nikita Popov 91a9569d85 Fix two warnings 2013-09-13 20:01:23 +02:00
Nikita Popov 96b1c2145c Provide more macros for handling of interned strings
* str_erealloc behaves like erealloc for normal strings, but will
   use emalloc+memcpy for interned strings.
 * str_estrndup behaves like estrndup for normal strings, but will
   not copy interned strings.
 * str_strndup behaves like zend_strndup for normal strings, but
   will not copy interned strings.
 * str_efree_rel behaves like efree_rel for normal strings, but
   will not free interned strings.
 * str_hash will return INTERNED_HASH for interned strings and
   compute it using zend_hash_func for normal strings.
2013-09-13 19:42:10 +02:00
Nikita Popov d2950ac279 Make use of Z_*VAL and ZVAL_* in language scanner 2013-09-13 15:08:01 +02:00
Nikita Popov 00799319f9 Make consistent use of Z_*VAL macros in compiler 2013-09-13 15:07:47 +02:00
Christopher Jones e75171ec8a Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  fix broken sha2 configure tests
  fix broken sha2 configure tests
  Small cleanup in class name resolution of compiler
  Fixed minor bug in test.
  Move NEWS entries to correct version
2013-09-13 05:40:48 -07:00
Michael Wallner da30202d55 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix broken sha2 configure tests
2013-09-13 12:59:45 +02:00
Michael Wallner 2e692b22e9 fix broken sha2 configure tests
see http://patch-tracker.debian.org/patch/series/view/php5/5.5.3+dfsg-1/fix_broken_sha2_test.patch
2013-09-13 12:56:38 +02:00
Nikita Popov ef9e003b0c Small cleanup in class name resolution of compiler
* The fetch_type and check_ns_name parameters of
   zend_resolve_class_name were unused and are now removed.
 * ZEND_FETCH_CLASS_GLOBAL is no longer used (no code actually
   checking for it).
 * The checks for usage of "namespace" as class name were
   unnecessary as that situation can't occur anyways.
2013-09-13 12:18:39 +02:00
Nikita Popov 5350b9957a Merge branch 'PHP-5.5' 2013-09-12 23:30:40 +02:00
Nikita Popov 70cd85b6ec Merge branch 'PHP-5.5' 2013-09-12 18:25:49 +02:00
Christopher Jones d59db90d37 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fix bug #64782: SplFileObject constructor make $context optional
  Prepare pdo_firebird for a pecl release also
  Fix bug #65502: DateTimeImmutable::createFromFormat returns DateTime
  Fix bug #65548: Comparison for DateTimeImmutable doesn't work
2013-09-12 08:57:33 -07:00
Nikita Popov 64ee0cde5d Merge branch 'PHP-5.5' 2013-09-12 17:49:28 +02:00
Popa Adrian Marius 074385cb33 Prepare pdo_firebird for a pecl release also 2013-09-12 17:47:05 +03:00
Nikita Popov 89d115264c Merge branch 'PHP-5.5' 2013-09-12 15:23:11 +02:00
Nikita Popov 32437b945a Merge branch 'PHP-5.5' 2013-09-12 15:15:17 +02:00
Christopher Jones c10d8a4b1e Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Sort the NEWS file alphabetically.
  Request non-keep-alive connections by default in HTTP 1.1 requests.
2013-09-12 05:40:59 -07:00
Adam Harvey 59e2ce9ff1 Sort the NEWS file alphabetically.
Insert OCD otter meme here.
2013-09-11 14:37:07 -07:00
Adam Harvey 8983a38d51 Request non-keep-alive connections by default in HTTP 1.1 requests.
As noted in FR #65634, at present we don't send a Connection request header
when the protocol version is set to 1.1, which means that RFC-compliant Web
servers should respond with keep-alive connections. Since there's no way of
reusing the HTTP connection at present, this simply means that PHP will appear
to hang until the remote server hits its connection timeout, which may be quite
some time.

This commit sends a "Connection: close" header by default when HTTP 1.1 (or
later) is requested by the user via the context options. It can be overridden
by specifying a Connection header in the context options. It isn't possible to
disable sending of the Connection header, but given "Connection: keep-alive" is
the same as the default HTTP 1.1 behaviour, I don't see this as a significant
issue — users who want to opt in for that still can.

As a note, although I've removed an efree(protocol_version), this doesn't
result in a memory leak: protocol_version is freed in the out: block at the end
of the function anyway, and there are no returns between the removed efree()
and the later call. Yes, I ran the tests with valgrind to check that. ☺

Implements FR #65634 (HTTP wrapper is very slow with protocol_version 1.1).
2013-09-11 14:11:29 -07:00
Christopher Jones f34e9fcd5f Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir.
2013-09-11 05:41:00 -07:00
Adam Harvey fba290c061 Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir.
Newer versions of libcurl prevent file:// location response headers by default,
which means that the open_basedir check is unnecessary — the fact
CURLOPT_REDIR_PROTOCOLS can't set CURLPROTO_FILE with open_basedir enabled
means that there's no possibility of breaching the open_basedir restriction,
and this allows HTTP redirects to be followed automatically.

Implements FR #65646 (re-enable CURLOPT_FOLLOWLOCATION with open_basedir or
safe_mode).
2013-09-10 11:42:42 -07:00
Christopher Jones 97f9a677b8 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Tinker with the wording of the short_open_tag description.
  Fix NEWS: these commits were after 5.5.4 was branched and will be in 5.5.5.
  Handle CLI server request headers case insensitively.
  5.4.21 now
2013-09-10 05:41:01 -07:00
Michael Wallner 71bee63fad remove unused code 2013-09-10 13:16:24 +02:00
Michael Wallner 832e2d0d8c tests 2013-09-10 13:14:02 +02:00
Michael Wallner 449d4c0b1c make reading php://input JIT if enable_post_data_reading=0 2013-09-10 13:13:33 +02:00
Michael Wallner e3e4d1b144 revert stream cast 2013-09-10 13:13:09 +02:00
Adam Harvey b8beb657ca Merge branch 'PHP-5.5'
* PHP-5.5:
  Tinker with the wording of the short_open_tag description.

Conflicts:
	php.ini-development
	php.ini-production
2013-09-09 16:59:26 -07:00
Adam Harvey 2240f9531b Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix NEWS: these commits were after 5.5.4 was branched and will be in 5.5.5.
2013-09-09 16:46:45 -07:00
Adam Harvey 1ff81965c5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Handle CLI server request headers case insensitively.
  5.4.21 now
2013-09-09 16:33:43 -07:00
Christopher Jones 3ce8b70220 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  ensure that the defined interpolation method is used by the generic scaling functions
  Fixed issue #128 (opcache_invalidate segmentation fault)
  5.5.5 now
2013-09-09 05:43:28 -07:00
unknown d32194172a Merge branch 'PHP-5.5'
* PHP-5.5:
  ensure that the defined interpolation method is used by the generic scaling functions
2013-09-09 11:56:58 +02:00
Dmitry Stogov df711f2c56 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed issue #128 (opcache_invalidate segmentation fault)
2013-09-09 10:11:43 +04:00
Dmitry Stogov 2f4bc9d4af Merge commit 'fc9d886f6cd7858bc38c0b564a547dfa2bb743c6'
* commit 'fc9d886f6cd7858bc38c0b564a547dfa2bb743c6':
  5.5.5 now
2013-09-09 10:11:20 +04:00
Dylan Arnold a911fbc80a Call php_module_shutdown() for php-fpm child processes 2013-09-09 13:06:38 +12:00
Christopher Jones ac519eaef2 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Remove obsolete flag
  Update DTrace probes
  Add test for oci_set_* error changes
  Make oci_set_*($connection,...) errors retrievable via oci_error($connection). Improve some error handling to produce error text on some rare edge cases. Disambiguate the Oracle library function call return status values from ORA error numbers. Review and unify error data types.
2013-09-06 11:05:13 -07:00
Christopher Jones 43289d664c Remove obsolete flag 2013-09-06 10:12:16 -07:00
Christopher Jones ca4d122adc Update DTrace probes 2013-09-06 08:54:19 -07:00
Christopher Jones e504ed66a8 Add test for oci_set_* error changes 2013-09-06 08:14:18 -07:00
Christopher Jones 4b778faa80 Make oci_set_*($connection,...) errors retrievable via oci_error($connection).
Improve some error handling to produce error text on some rare edge cases.
Disambiguate the Oracle library function call return status values from ORA error numbers.
Review and unify error data types.
2013-09-05 18:18:29 -07:00
Manuel Mausz 7dbb1bba64 fix failing tests 2013-09-05 09:32:12 +02:00
Manuel Mausz 0be6ecb862 fix indention 2013-09-05 01:19:00 +02:00
Manuel Mausz 8ca43527e8 Add support for CryptoPro S-box for GOST
This adds a new hash identifier "gost-crypto" which uses the CryptoPro
S-box tables as specified by RFC 4357, section 11.2.
2013-09-05 01:04:25 +02:00
Christopher Jones 6ece550394 Cast time_t since some "dtrace -G" invocations fail on time_t arguments 2013-09-03 15:17:36 -07:00
Christopher Jones 8a0ae67dd9 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Update NEWS/UPGRADING with info about incompat ctx
2013-09-03 05:40:49 -07:00
Tim Strehle 5ffaf95d3f run-tests.php: Adding support for sections EXPECT_EXTERNAL, EXPECTF_EXTERNAL and EXPECTREGEX_EXTERNAL. (Issue 55736) 2013-09-03 14:40:43 +02:00
Gustavo André dos Santos Lopes 04fcf6a98b Update NEWS/UPGRADING with info about incompat ctx 2013-09-02 23:19:53 +02:00
Christopher Jones d532ffae42 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Typo....
  Add a XFAIL test for #64896
  Implement phase 1 of rfc/incompat_ctx
  Make use of direct returns in some places
  Always pass return_value_ptr to internal functions
2013-09-02 05:40:51 -07:00
Xinchen Hui 825c1f239b Merge branch 'PHP-5.5' 2013-09-02 16:16:15 +08:00
Xinchen Hui f33bdf68b1 Merge branch 'PHP-5.5' 2013-09-02 16:03:10 +08:00
Gustavo André dos Santos Lopes d515455589 Implement phase 1 of rfc/incompat_ctx
Just changing the error level of the message from E_STRICT to
E_DEPRECATED. This comes one version later than the timeline
mentioned in the RFC.

Oddly, there were no tests for this ‘feature’. I added a simple
one.
2013-09-02 01:53:06 +02:00
Nikita Popov 47ee470992 Make use of direct returns in some places 2013-08-31 13:16:50 +02:00
Nikita Popov 0856714576 Always pass return_value_ptr to internal functions
Previous some places passed return_value_ptr only if the function
returned by reference. Now return_value_ptr is always set, even
for functions returning by-value.

This allows you to return zvals without copying their contents. For
this purpose two new macros RETVAL_ZVAL_FAST and RETURN_ZVAL_FAST
are added:

    RETVAL_ZVAL_FAST(zv); /* Analog to RETVAL_ZVAL(zv, 1, 0) */
    RETURN_ZVAL_FAST(zv); /* Analog to RETURN_ZVAL(zv, 1, 0) */

These macros behave similarly to the non-FAST versions with
copy=1 and dtor=0, with the difference that the FAST versions
will try return the zval without copying by utilizing return_value_ptr.
2013-08-31 13:16:41 +02:00
Christopher Jones d7ffca590b Allow OCI8 to be DTrace-enabled independently of core PHP's DTrace
status.  The proviso is OCI8 must be built "shared" when DTrace is
enabled.  This implementation (i) works around an incomplete core PHP
solution for extension tracing (ii) avoid any issues with DOF section
location and the complexities of needing to merge all provider .d
files for static builds (iii) allows OCI8 to be DTrace-enabled when
doing PECL installs of OCI8 on PHP versions without core PHP DTrace
support.

This is an initial patch i.e. it will undergo further testing.
2013-08-30 17:37:44 -07:00
Christopher Jones 82da51bbce OCI8: remove unused ext/oci8/config.m4 macro 2013-08-30 11:15:56 -07:00
Christopher Jones e6053acd78 OCI8 whitespace: remove tabs embedded in code 2013-08-30 11:14:20 -07:00
Anthony Ferrara 612e77e5c9 Fix issue with global fallback not in global space 2013-08-30 11:55:43 -04:00
Anthony Ferrara d7e3aca9c9 Fix issue with global fallback when not in global space 2013-08-30 11:53:57 -04:00
Christopher Jones faddd409a4 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fixed bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
  Fixed Bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
  Update NEWS
  Fixed bug #60598 (cli/apache sapi segfault on objects manipulation)
  Remove ini dependency in test
2013-08-30 05:40:44 -07:00
Remi Collet 9e17094cf4 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
  Fixed Bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
2013-08-30 10:46:06 +02:00
Xinchen Hui a607a08e09 Merge branch 'PHP-5.5' 2013-08-30 11:23:24 +08:00
Yasuo Ohgaki 09ed50fa44 Remove ini dependency in test 2013-08-30 11:46:16 +09:00
Igor Wiedler e14a769c56 Add test for conditional function declaration 2013-08-29 17:16:18 +02:00
Christopher Jones 598466e6d3 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fixed bug #65510 (5.5.2 crashes in _get_zval_ptr_ptr_var)
  Fixed bug #61759 (class_alias() should accept classes with leading backslashes). (Julien)
  Fixed bug #61759 (class_alias() should accept classes with leading backslashes). (Julien)
  Fixed compatibility with php-5.2
  Fixed bug #65561 (Zend Opcache on Solaris 11 x86 needs ZEND_MM_ALIGNMENT=4). (Terry Ellison)
  Avoid compiler warning
  Fix bug #65579 (Using traits with get_class_methods causes segfault).
2013-08-29 05:40:31 -07:00
Dmitry Stogov ec173433da Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65510 (5.5.2 crashes in _get_zval_ptr_ptr_var)

Conflicts:
	NEWS
2013-08-29 11:57:19 +04:00
Dmitry Stogov 462f2167ae Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #61759 (class_alias() should accept classes with leading backslashes). (Julien)
  Fixed bug #61759 (class_alias() should accept classes with leading backslashes). (Julien)

Conflicts:
	NEWS
2013-08-29 11:20:12 +04:00
Dmitry Stogov c8673b64ce Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed compatibility with php-5.2
2013-08-29 10:45:00 +04:00
Dmitry Stogov 6ff7dd05bf Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Avoid compiler warning
  Fix bug #65579 (Using traits with get_class_methods causes segfault).
2013-08-29 10:31:50 +04:00
Dmitry Stogov b6864d978c Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65561 (Zend Opcache on Solaris 11 x86 needs ZEND_MM_ALIGNMENT=4). (Terry Ellison)

Conflicts:
	NEWS
2013-08-29 10:31:14 +04:00
Xinchen Hui 0ea00936be Merge branch 'PHP-5.5' 2013-08-29 14:02:53 +08:00
Christopher Jones 6d66d613f6 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  removed the /Wp64 switch as we use true 64 bit compiler now
  updated lib versions
  updated lib versions, the vc11 ones only matter now
2013-08-28 11:14:51 -07:00
Anatol Belski 82bb2a2535 Merge branch 'PHP-5.5'
* PHP-5.5:
  removed the /Wp64 switch as we use true 64 bit compiler now
2013-08-28 15:10:42 +02:00
Anatol Belski 29fa735dfc Merge branch 'PHP-5.5'
* PHP-5.5:
  updated lib versions
2013-08-28 14:43:53 +02:00
Anatol Belski 8cc1ee8c81 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated lib versions, the vc11 ones only matter now
2013-08-28 14:30:03 +02:00
Christopher Jones 49cd21e71c OCI8 2.0: add oci8-check-connection probe and do some renaming 2013-08-27 16:41:02 -07:00
Michael Wallner d4b673a34c fix ZTS build 2013-08-27 14:01:59 +02:00
Michael Wallner bb1f9d3826 slim post data 2013-08-27 13:43:22 +02:00
Michael Wallner 2438490add slim post data 2013-08-27 13:31:35 +02:00
Xinchen Hui 72f80b2997 Merge branch 'PHP-5.5' 2013-08-27 15:45:27 +08:00
Christopher Jones 4b67c781f3 Use "__" consistently in OCI8 DTrace probe definitions. It maps to "-" in the probe name. 2013-08-26 15:42:57 -07:00
Christopher Jones 493ad87027 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Evaluate ZVAL_ZVAL arguments only once
2013-08-26 14:36:22 -07:00
Christopher Jones 8aca4e45bb Leave it to DTrace FBT to trace underlying library calls 2013-08-26 14:20:58 -07:00
Nikita Popov d18b969858 Evaluate ZVAL_ZVAL arguments only once
Also remove some isref/refcount assignments, which are no longer
necessary (as ZVAL_COPY_VALUE is used now).
2013-08-26 19:57:14 +02:00
Dmitry Stogov a13c00cd14 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed compilation warning
2013-08-26 09:49:22 +04:00
Stanislav Malyshev 7c08ce243c Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #65554 in DateTime, when use it with D/l in format and textual day have dot at the end
2013-08-25 15:14:36 -07:00
Igor Wiedler 6263f221ff Handle case sensivity of constants (nikic) 2013-08-25 16:21:51 +02:00
Igor Wiedler 28fa0896df Comment nitpick (nikic) 2013-08-25 15:09:19 +02:00
Igor Wiedler 84c8aa3691 self and parent are valid function and const names (nikic) 2013-08-25 15:08:26 +02:00
Igor Wiedler bc473228c8 Adjust some test names, remove obsolete and duplicate tests (nikic) 2013-08-25 14:03:07 +02:00
Stanislav Malyshev 60854d1d26 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix mysql tests & mark nextRowset problematic tests
  fix mysql init
  add openssl
  add mysql settings
2013-08-25 00:30:00 -07:00
Stanislav Malyshev a84bb6bf86 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix DateInterval->days value when object was created not from DateTime::diff()
2013-08-24 23:39:13 -07:00
Stanislav Malyshev 01c028a475 Merge branch 'pull-request/322'
* pull-request/322:
  Remove semicolon
  Fix DateInterval->days value when object was created not from DateTime::diff()
2013-08-24 23:39:09 -07:00
Stanislav Malyshev cbc848a555 Merge branch 'PHP-5.5'
* PHP-5.5:
  Test extension xmlrpc encode type double and string decode type string and int
2013-08-24 21:45:26 -07:00
Stanislav Malyshev 26cd3425ee Merge branch 'pull-request/419'
* pull-request/419:
  Test extension xmlrpc encode type double and string decode type string and int
2013-08-24 21:45:21 -07:00
Stanislav Malyshev 603098d73d Merge branch 'PHP-5.5'
* PHP-5.5:
  Stricter libc-client symlink check
2013-08-24 21:41:03 -07:00
Stanislav Malyshev fa26576932 Merge branch 'pull-request/417'
* pull-request/417:
  Stricter libc-client symlink check
2013-08-24 21:40:38 -07:00
Stanislav Malyshev 524fab3e41 Merge branch 'PHP-5.5'
* PHP-5.5:
  Expose fputcsv's escape_char to userland
2013-08-24 20:46:03 -07:00
Stanislav Malyshev 3e4f862076 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix #65483: quoted-printable encode stream filter incorrectly encoding spaces
  Update NEWS
2013-08-24 19:50:11 -07:00
Stanislav Malyshev 8ee126f0bb Merge branch 'pull-request/414'
* pull-request/414:
  Fix #65483: quoted-printable encode stream filter incorrectly encoding spaces
2013-08-24 19:49:59 -07:00
Igor Wiedler 115c5ec726 Compile error on const definition conflicting with import 2013-08-25 00:05:55 +02:00
Igor Wiedler 85d4cfb00d Disallow using functions/consts defined in the same file
* Keep track of defined function and const filenames
* Prohibit use function foo if function foo exists
* Prohibit use const foo if const foo exists
2013-08-25 00:02:46 +02:00
Igor Wiedler 30f16c3540 Compile error on function definition conflicting with import 2013-08-23 23:39:42 +02:00
Igor Wiedler 5b18530e8c Add test cases for conflicting use and definition in same ns (stas) 2013-08-23 23:31:17 +02:00
Anatol Belski 07fa043cc3 Merge branch 'PHP-5.5'
* PHP-5.5:
  Suppress static analyzer warnings in specialized executor
  Update NEWS
2013-08-23 17:45:45 +02:00
Anatol Belski 77303a3248 Merge branch 'PHP-5.5'
* PHP-5.5:
  ensure the test doesn't fail because of tz warning
2013-08-23 16:41:02 +02:00
Nikita Popov c0856a178f Merge branch 'PHP-5.5' 2013-08-23 13:30:46 +02:00
root a4de9c0397 Test extension xmlrpc encode type double and string decode type string and int 2013-08-23 01:06:58 +00:00
Christopher Jones 27954a8b8a Merge branch 'PHP-5.5'
* PHP-5.5:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"
  Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""
  Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""
2013-08-22 09:07:07 -07:00
Christopher Jones a61f5bf925 Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""
This reverts commit f38bd22ed2.
2013-08-22 08:57:18 -07:00
Igor Wiedler 31d77053a1 More test cases for conflicting aliases 2013-08-22 15:51:26 +02:00
Danack 6b385ebc85 Removed assumption that \\ will be present
The function zend_add_ns_func_name_literal is called if the parser finds a function that is not in the global or current namespace. It assumes such a function will have a \\ in it, which is no longer true with the use function patch. The code change above removes that assumption and makes the test work:
PASS use and use function with the same alias [Zend/tests/use_function/conflicting_use_alias.phpt]
2013-08-22 15:51:26 +02:00
Igor Wiedler 2dbbb8ae4b Add test case for conflicting use and use function alias (stas) 2013-08-22 15:51:26 +02:00
Igor Wiedler 4adf49eeaf Import namespaced constants via new 'use const' sequence 2013-08-22 15:51:26 +02:00
Igor Wiedler e1125a6a89 Correctly distinguish between functions and constants
So far 'use function' applied to both constants and functions. This
patch correctly separates the two.
2013-08-22 15:51:26 +02:00
Igor Wiedler 5dd41627be Add new 'use function' sequence for importing namespaced functions
This is specified as the use_function RFC:

* https://wiki.php.net/rfc/use_function
2013-08-22 15:51:25 +02:00
Matteo Beccati 80917e5ca2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed other compiler warnings
2013-08-22 15:34:22 +02:00
Nikita Popov 926987bdc7 Merge branch 'PHP-5.5' 2013-08-22 14:07:32 +02:00
Nikita Popov 1a88fcc2d8 Remove trailing whitespace in test
Third try to make this work...
2013-08-22 13:09:53 +02:00
Nikita Popov 96045e1b33 Forgot newline in test 2013-08-22 12:26:34 +02:00
Nikita Popov 647059abc7 Merge branch 'PHP-5.5' 2013-08-22 11:47:55 +02:00
Nikita Popov b668a26c2f Fix pgsql notice test failure 2013-08-22 11:31:56 +02:00
Christopher Jones e212320a0c Remove duplicate calls to set filename & lineno for the DTRACE_FUNCTION_ENTRY/RETURN cases 2013-08-22 11:23:07 +02:00
Nikita Popov 4db494a3ab Merge branch 'PHP-5.5' 2013-08-22 11:01:19 +02:00
Ole Markus With e3619778c9 Stricter libc-client symlink check 2013-08-22 08:59:33 +02:00
Christopher Jones 9507fcfdc5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Suppress compiler warning "warning: variable ‘length’ set but not used [-Wunused-but-set-variable]"
  Suppress compiler warning "warning: variable ‘retcount’ set but not used [-Wunused-but-set-variable]"
2013-08-21 15:43:33 -07:00
Christopher Jones 0b60f32247 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"
2013-08-21 15:23:50 -07:00
Christopher Jones 71ba571e53 Merge branch 'PHP-5.5'
* PHP-5.5:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"
2013-08-21 15:07:13 -07:00
Christopher Jones d9bfe06194 Merge branch 'PHP-5.5'
* PHP-5.5:
  Reduce compilation noise during normal compilation:     php-5.5/ext/session/session.c:836: warning: unused variable ‘struc’     php-5.5/ext/session/session.c:836: warning: unused variable ‘num_key’     php-5.5/ext/session/session.c:836: warning: unused variable ‘key_length’     php-5.5/ext/session/session.c:836: warning: unused variable ‘key’     php-5.5/ext/session/session.c:835: warning: unused variable ‘key_type’     php-5.5/ext/session/session.c:834: warning: unused variable ‘_ht’     php-5.5/ext/session/session.c:857: warning: unused variable ‘has_value’     php-5.5/ext/session/session.c:856: warning: unused variable ‘namelen’     php-5.5/ext/session/session.c:853: warning: unused variable ‘name’     php-5.5/ext/session/session.c:852: warning: unused variable ‘p’
2013-08-21 10:35:07 -07:00
Michael Wallner 4abee3730f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix pointer sign warning showing up in EVERY build
2013-08-21 19:18:29 +02:00
Anthony Ferrara 90b489f826 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix return types of password API helper functions.
2013-08-21 12:11:10 -04:00
Matteo Beccati 3ec28b1d1f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed compiler warnings in ext/pgsql
  Fixed other compiler warnings in PDO_PGSQL
  Fixed compiler warning
  Update NEWS

Conflicts:
	ext/pdo_pgsql/pgsql_driver.c
2013-08-21 11:26:41 +02:00
Yasuo Ohgaki aaf95aa1b6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add php_serialize session.serialize_handler. This patch closes
2013-08-21 11:06:11 +09:00
Yasuo Ohgaki d2a99a7c31 Fixed Bug #65475 2013-08-21 08:12:11 +09:00
Christopher Jones 89c4abab2b Merge branch 'PHP-5.5'
* PHP-5.5:
  Quash compile warning "warning: 'flags' may be used uninitialized in this function"
2013-08-20 13:37:22 -07:00
Christopher Jones 92b946bb9e Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)
2013-08-20 11:27:01 -07:00
Christopher Jones 77f5caae53 Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove compilation warning "warning: no newline at end of file"
2013-08-20 11:04:51 -07:00
Christopher Jones 4883fc5365 Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove compilation warnings: "warning: no newline at end of file"
2013-08-20 11:03:26 -07:00
Christopher Jones 8457636240 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix compile warning "intl_cppshims.h:34:7: warning: no newline at end of file"
2013-08-20 10:55:16 -07:00
Christopher Jones 0e56277d35 Merge branch 'PHP-5.5'
* PHP-5.5:
  Tabify
  Eliminate compiler warnings: "warning: pointer targets in initialization differ in signedness"
  Eliminate compiler warnings "warning: pointer targets in initialization differ in signedness"
2013-08-20 10:47:00 -07:00
Christopher Jones 8d614dcf54 Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove some compilation warnings:   'unused variable' and   'enumeration value not handled in switch'
2013-08-20 10:34:47 -07:00
Michael Wallner 90218e8e7a Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)
2013-08-20 19:22:31 +02:00
Christopher Jones 96d435f9ae Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  split the glob() test to test different basedir
  Add session.use_strict_mode description to php.ini-*
  Revert wrong description
  bump version
  Fixed test bug
  Update NEWS
2013-08-20 05:40:48 -07:00
Anatol Belski 827100df82 split the glob() test to test different basedir 2013-08-20 13:40:19 +02:00
Yasuo Ohgaki 8da7aa7e41 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add session.use_strict_mode description to php.ini-*
2013-08-20 18:30:46 +09:00
Yasuo Ohgaki 117bd0848a Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src: (37 commits)
  Revert wrong description
  bump version
  Fixed test bug
  Remove compile warning:    warning: unused variable ‘j’ [-Wunused-variable]
  Remove compile warnings:   warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]   warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:   variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]   unused variable ‘last’ [-Wunused-variable]   unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
  Update NEWS
  Update NEWS
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  fixed glob() edge case on windows, ref bug #47358
  modified the new glob() test for master
  added new glob() test
  fix using wrong buffer pointer
  Fix bug #65470	Segmentation fault in zend_error() with --enable-dtrace
  ...
2013-08-20 17:46:40 +09:00
Yasuo Ohgaki fdef0e38f7 Revert wrong description 2013-08-20 17:38:17 +09:00
Michael M Slusarz 5201a2d566 Fix #65483: quoted-printable encode stream filter incorrectly encoding spaces 2013-08-20 01:12:12 -06:00
Stanislav Malyshev a52b8fe117 Merge branch 'PHP-5.5'
* PHP-5.5:
  bump version
  Update NEWS

Conflicts:
	configure.in
	main/php_version.h
2013-08-20 00:03:29 -07:00
Yasuo Ohgaki 7d538cf8dd Fixed test bug 2013-08-20 14:25:12 +09:00
Christopher Jones 902c3025ed Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Remove compile warning:    warning: unused variable ‘j’ [-Wunused-variable]
  Remove compile warnings:   warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]   warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:   variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]   unused variable ‘last’ [-Wunused-variable]   unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
  Update NEWS
2013-08-19 18:26:59 -07:00
Christopher Jones 24288eb4d1 Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove compile warning:
      warning: unused variable ‘j’ [-Wunused-variable]
2013-08-19 17:58:53 -07:00
Christopher Jones 682c28c1f8 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
2013-08-19 17:55:27 -07:00
Christopher Jones 5697aa5728 Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove compile warnings:
      warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]
      warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:
      variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]
      unused variable ‘last’ [-Wunused-variable]
      unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"
2013-08-19 17:51:04 -07:00
Christopher Jones 19476f51f2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
  Update NEWS
2013-08-19 17:18:28 -07:00
Michael Wallner 73cd2e0ab1 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #65481 (shutdown segfault due to serialize)
2013-08-20 00:09:26 +02:00
Adam Harvey 2a46fc0470 Merge branch 'PHP-5.5'
* PHP-5.5:
  Track created curl_slist structs by option so they can be updated in situ.

Conflicts:
	ext/curl/interface.c
2013-08-19 12:19:13 -07:00
Stanislav Malyshev d17ade127b Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
2013-08-19 11:19:43 -07:00
Christopher Jones bd7d7a2ba2 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src: (22 commits)
  fixed glob() edge case on windows, ref bug #47358
  modified the new glob() test for master
  added new glob() test
  fix using wrong buffer pointer
  Fix bug #65470	Segmentation fault in zend_error() with --enable-dtrace
  Fix for php bug #64802 includes test case
  Use in preg_replace_callback() using variables by reference and test for bug #64979
  https://bugs.php.net/bug.php?id=64979
  add CVE-2011-4718
  new for fix #65225
  Fixed #65225: PHP_BINARY incorrectly set
  Use pkg-config to detect iodbc
  Add -P option to use the current binary
  Create test to the extension xmlrpc
  Fixbug: phpize --clean will delete include/*.h
  code related typo fixes
  Create test to the extension xmlrpc
  Revise pgsql tests
  Use pkg-config to detect iodbc
  Fix duplicated 5.5.2 NEWS in my tree
  ...
2013-08-19 10:53:59 -07:00
Anatol Belski f4df40108b fixed glob() edge case on windows, ref bug #47358 2013-08-19 14:21:16 +02:00
Anatol Belski f61b648da4 modified the new glob() test for master 2013-08-19 11:22:18 +02:00
Anatol Belski 6c570ad322 Merge branch 'PHP-5.5'
* PHP-5.5:
  added new glob() test
2013-08-19 11:21:47 +02:00
Stanislav Malyshev cfe5833579 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix using wrong buffer pointer
2013-08-19 01:07:50 -07:00
Stanislav Malyshev ecd67ed3e5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #65470	Segmentation fault in zend_error() with --enable-dtrace
2013-08-18 17:24:16 -07:00
Stanislav Malyshev 12c2a8a5eb Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix for php bug #64802 includes test case
2013-08-18 16:55:03 -07:00
Stanislav Malyshev 42214b6474 Merge branch 'PHP-5.5'
* PHP-5.5:
  Use in preg_replace_callback() using variables by reference and test for bug #64979
  https://bugs.php.net/bug.php?id=64979
2013-08-18 15:19:27 -07:00
Stanislav Malyshev 33e9c02451 Merge branch 'PHP-5.5'
* PHP-5.5:
  add CVE-2011-4718
2013-08-18 14:42:59 -07:00
Stanislav Malyshev 4bc6e06037 Merge branch 'PHP-5.5'
* PHP-5.5:
  new for fix #65225
  Fixed #65225: PHP_BINARY incorrectly set
2013-08-18 14:21:24 -07:00
Stanislav Malyshev 4fbce676bd Merge branch 'pull-request/381'
* pull-request/381:
  Fixed #65225: PHP_BINARY incorrectly set
2013-08-18 14:20:46 -07:00
Stanislav Malyshev 756ce65b92 Merge branch 'PHP-5.5'
* PHP-5.5:
  Use pkg-config to detect iodbc
2013-08-18 14:16:34 -07:00
Stanislav Malyshev 8845262995 Merge branch 'pull-request/411'
* pull-request/411:
  Use pkg-config to detect iodbc
2013-08-18 14:15:53 -07:00
Stanislav Malyshev 958ee39fc7 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add -P option to use the current binary
  Create test to the extension xmlrpc
2013-08-18 14:11:15 -07:00
Stanislav Malyshev f4da131328 Merge branch 'pull-request/412'
* pull-request/412:
  Create test to the extension xmlrpc
2013-08-18 14:08:57 -07:00
Stanislav Malyshev 5786e779fb Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixbug: phpize --clean will delete include/*.h
2013-08-18 13:52:49 -07:00
Stanislav Malyshev 625152591b Merge branch 'pull-request/405'
* pull-request/405:
  Fixbug: phpize --clean will delete include/*.h
2013-08-18 13:50:33 -07:00
Stanislav Malyshev 03b2603ce0 Merge branch 'PHP-5.5'
* PHP-5.5:
  code related typo fixes
  Fix duplicated 5.5.2 NEWS in my tree
2013-08-18 13:47:00 -07:00
root acda3dab6c Create test to the extension xmlrpc 2013-08-18 18:44:52 +00:00
Yasuo Ohgaki e960eebfea Revise pgsql tests 2013-08-18 18:24:34 +09:00
Yasuo Ohgaki b6c14af3f7 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src: (22 commits)
  fix typo
  merge news for 5.5.2
  Update NEWS
  Update NEWS
  With --enable-dtrace, the correct PIC/non-PIC .o files on Solaris and Linux are now used.  DTrace is part of Oracle Linux.  See https://oss.oracle.com/projects/DTrace/
  fix cve number
  New news section
  Prepare news for PHP-5.5.2
  Remove unused variable
  Reduce compiler noise by removing unused variables and labels
  Fixed #65431 in zend_exception.c by Sixd
  Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
  Skip test if SKIP_ONLINE_TESTS set
  Fix to file uploads >2G with size overflow
  Fix CVE-2013-4073 - handling of certs with null bytes
  Fix CVE-2013-4073 - handling of certs with null bytes
  Fixed #65431 (Discarded qualifiers from pointer target warnings when using --enable-dtrace) by Sixd
  Fix unused variable warning in OCI8 2.0
  removed unused vars
  fixed strndup usage in the pgsql ext
  ...
2013-08-18 12:30:25 +09:00
Ole Markus With 7e7a8f00c4 Use pkg-config to detect iodbc 2013-08-17 14:22:11 +02:00
Christopher Jones 0c4ba514be Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  fix typo
  merge news for 5.5.2
2013-08-16 11:39:37 -07:00
Stanislav Malyshev a42e87dadb Merge branch 'PHP-5.5'
* PHP-5.5:
  fix typo
2013-08-16 11:34:27 -07:00
Stanislav Malyshev 94cd406b1e Merge branch 'PHP-5.5'
* PHP-5.5:
  merge news for 5.5.2
2013-08-16 11:31:39 -07:00
Christopher Jones c04d1406e9 Merge branch 'PHP-5.5'
* PHP-5.5:
  Update NEWS
  Update NEWS
2013-08-16 11:16:27 -07:00
Christopher Jones 8807726be3 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  fix cve number
2013-08-16 11:10:10 -07:00
Christopher Jones 2251e4369a Merge branch 'PHP-5.5'
* PHP-5.5:
  With --enable-dtrace, the correct PIC/non-PIC .o files on Solaris and Linux are now used.  DTrace is part of Oracle Linux.  See https://oss.oracle.com/projects/DTrace/
2013-08-16 10:57:55 -07:00
Stanislav Malyshev 991f0113bf Merge branch 'PHP-5.5'
* PHP-5.5:
  fix cve number
2013-08-16 10:39:15 -07:00
David Soria Parra 30502dbc75 Merge branch 'PHP-5.5'
* PHP-5.5:
  New news section
  Prepare news for PHP-5.5.2
2013-08-15 22:47:28 +02:00
Christopher Jones 77dea7898b Merge branch 'PHP-5.5'
* PHP-5.5:
2013-08-14 21:33:35 -07:00
Christopher Jones de0a602ce1 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fixed #65431 in zend_exception.c by Sixd
2013-08-14 21:32:20 -07:00
Christopher Jones ac03b67e6a Remove unused variable 2013-08-14 21:21:17 -07:00
Christopher Jones 4824d0f43e Merge branch 'PHP-5.5'
* PHP-5.5:
  Reduce compiler noise by removing unused variables and labels
2013-08-14 21:08:55 -07:00
Xinchen Hui 7d3ec0c3ca Merge branch 'PHP-5.5' 2013-08-15 11:50:54 +08:00
Christopher Jones 3c166c4758 Merge branch 'PHP-5.5'
* PHP-5.5:
  Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.

Conflicts:
	ext/gmp/gmp.c
2013-08-14 20:47:00 -07:00
Christopher Jones 759517651e Merge branch 'PHP-5.5'
* PHP-5.5:
  Skip test if SKIP_ONLINE_TESTS set
2013-08-14 15:47:42 -07:00
Anatol Belski 9d4e5b0dba Fix to file uploads >2G with size overflow
Represent the file size as string when the total size would overflow
LONG_MAX. Otherwise while file itself were uploaded, the size would
be shown wrong. This mostly applies to systems with 32 bit long.
2013-08-14 18:59:46 +02:00
Stanislav Malyshev 4da6273092 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix CVE-2013-4073 - handling of certs with null bytes
  Fix CVE-2013-4073 - handling of certs with null bytes
2013-08-13 22:26:32 -07:00
Xinchen Hui b6fa0b40f7 Merge branch 'PHP-5.5' 2013-08-14 11:44:53 +08:00
Christopher Jones f95cd93408 Fix unused variable warning in OCI8 2.0 2013-08-13 15:15:57 -07:00
Michael Wallner fddc82dd0e Merge branch 'master' into slim-postdata
* master: (62 commits)
  removed unused vars
  fixed strndup usage in the pgsql ext
  Fixes to unified stdint usage
  Fixed bug #65382 (Segfault in closure_030.phpt)
  Revise pgsql test files
  Revise pgsql test for Travis CI
  Add 00version.phpt to get server/protocol/client version. Revise test script description
  use mysqlnd, some tests fail otherwise
  ensure notices are not ignored when tests need them
  Embeds the content of the DTD in the DOCTYPE declaration of the XML files.
  Adds 2 new xml files which include the dtd path relative to the base directory for the php source code. It fixs the fail on the load of the dtd in the tests modified by this commit.
  Adds files: error 1 to 5 and variation 1 to 4
  Fix #61345: fix install of CGI binary
  Fix #61345: fix install of CGI binary
  php.ini-development/production: remove php_zip.dll
  Update NEWS
  Update NEWS
  Fixed possible buffer overflow under Windows. Note: Not a security fix.
  Fixed Bug #62015 Changed session.auto_start to PHP_INI_PERDIR. It is simply wrong and never worked if the value is changed at runtime
  Implemented Request #20421 (session_abort() and session_reset() function
  ...

Conflicts:
	sapi/cli/tests/upload_2G.phpt
2013-08-13 17:08:01 +02:00
Anatol Belski c5674bb502 Merge branch 'PHP-5.5'
* PHP-5.5:
  removed unused vars
2013-08-12 15:53:34 +02:00
Anatol Belski 42171b13f4 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed strndup usage in the pgsql ext
2013-08-12 15:45:43 +02:00
Anatol Belski acea91b18c Fixes to unified stdint usage
This recalls 14caf174ff
2013-08-12 13:39:17 +02:00
Dmitry Stogov 52dac3e8cd Fixed bug #65382 (Segfault in closure_030.phpt) 2013-08-12 10:53:20 +04:00
Tianfeng 19312fa8f6 Fixbug: phpize --clean will delete include/*.h 2013-08-12 13:55:23 +08:00
Yasuo Ohgaki 3ada3aaea6 Revise pgsql test files 2013-08-12 05:14:43 +09:00
Yasuo Ohgaki 727318546d Revise pgsql test for Travis CI 2013-08-11 18:57:39 +09:00
Yasuo Ohgaki 713aedfe65 Add 00version.phpt to get server/protocol/client version. Revise test script description 2013-08-11 18:33:33 +09:00
Stanislav Malyshev 6e92f07926 Merge branch 'PHP-5.5'
* PHP-5.5:
  use mysqlnd, some tests fail otherwise
2013-08-11 01:37:44 -07:00
Stanislav Malyshev 6c494edfb7 Merge branch 'PHP-5.5'
* PHP-5.5:
  ensure notices are not ignored when tests need them
2013-08-10 23:13:09 -07:00
Stanislav Malyshev d8a2779456 Merge branch 'PHP-5.5'
* PHP-5.5:
  Embeds the content of the DTD in the DOCTYPE declaration of the XML files.
  Adds 2 new xml files which include the dtd path relative to the base directory for the php source code. It fixs the fail on the load of the dtd in the tests modified by this commit.
  Adds files: error 1 to 5 and variation 1 to 4
2013-08-10 18:03:07 -07:00
Stanislav Malyshev 3db907b803 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add schema default/fixed value support
2013-08-10 17:56:46 -07:00
Stanislav Malyshev 871e937df7 Merge branch 'pull-request/402'
* pull-request/402:
  bison upgrading notes
  use $YACC instead of 'bison' as suggested by Yasuo
  improve comments and messages as suggested
  add excluded version exmaple
  make the bison version check a blacklist
2013-08-10 17:39:06 -07:00
Stanislav Malyshev 3c349cfa50 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix #61345: fix install of CGI binary
  Fix #61345: fix install of CGI binary
2013-08-10 17:36:17 -07:00
Stanislav Malyshev 0f09b978cc Merge branch 'PHP-5.5'
* PHP-5.5:
  php.ini-development/production: remove php_zip.dll
  Update NEWS
  Update NEWS
2013-08-10 17:31:59 -07:00
Yasuo Ohgaki 0959475e11 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed possible buffer overflow under Windows. Note: Not a security fix.
2013-08-11 06:44:01 +09:00
Yasuo Ohgaki 771b06f585 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug #62015 Changed session.auto_start to PHP_INI_PERDIR. It is simply wrong and never worked if the value is changed at runtime
2013-08-10 18:30:05 +09:00
Yasuo Ohgaki 6941ce3583 Implemented Request #20421 (session_abort() and session_reset() function 2013-08-10 16:57:56 +09:00
Yasuo Ohgaki 54a42f0d0c Implemented Request #11100 (session_gc() function). 2013-08-10 15:20:24 +09:00
Yasuo Ohgaki f2b5725115 Remove compile warning of commit 554021d21e 2013-08-10 14:35:30 +09:00
Yasuo Ohgaki 554021d21e Implemented Bug #17860 Suggestion: auto detect whether session changed 2013-08-10 13:56:32 +09:00
Yasuo Ohgaki 678ec30655 Implement Bug #54649 Create session_serializer_name() 2013-08-10 09:26:10 +09:00
Michael Wallner 3419ee9547 bison upgrading notes 2013-08-09 22:23:35 +02:00
Michael Wallner 2d403f0c1d haha, a bit too optimistic; not merged yet 2013-08-09 21:33:48 +02:00
Michael Wallner 867b6c05e7 add upgrading notes about bison and 2Guploads 2013-08-09 21:16:47 +02:00
Dmitry Stogov 2bc886abed Merge branch 'PHP-5.5'
* PHP-5.5:
  Replce ZEND_FETCH_* instructions with IS_CV if possible

Conflicts:
	ext/opcache/Optimizer/zend_optimizer.c
2013-08-09 17:52:22 +04:00
Michael Wallner 7c3afd31f9 fix test 2013-08-09 13:30:29 +02:00
Michael Wallner 611122c22e Merge branch '2Guploads'
* 2Guploads:
  add NEWS entry; add simple test
  more precise condition
  make this work in vc11 too
  Use int64_t and atoll() after discussion with johannes
  ws
  Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.
  unify stdint type usage
2013-08-09 11:47:25 +02:00
Michael Wallner 5acdcbc0bc Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #65391
  Update NEWS
  Update NEWS

Conflicts:
	ext/zlib/tests/bug65391.phpt
2013-08-09 11:39:41 +02:00
Michael Wallner 5cea7a9047 fix bug #65391
Unable to send vary header user-agent when
ob_start('ob_gzhandler') is called
2013-08-09 11:25:54 +02:00
Yasuo Ohgaki b6b425d2cf Fixed Bug #65315 session.hash_function silently fallback to default md5 2013-08-09 18:05:24 +09:00
Michael Wallner 742a0106fe use $YACC instead of 'bison' as suggested by Yasuo 2013-08-09 08:32:39 +02:00
Michael Wallner 1e30987a53 improve comments and messages as suggested 2013-08-09 08:31:40 +02:00
Michael Wallner 3903c182da add excluded version exmaple 2013-08-08 21:45:08 +02:00
Michael Wallner 3e41201a6f make the bison version check a blacklist
Let the bison version be checked by a blacklist (where no version
is blacklisted yet) and require at least bison 2.4
2013-08-08 14:27:32 +02:00
Andrey Hristov c53b425763 Merge branch 'PHP-5.5' 2013-08-08 14:05:18 +02:00
Andrey Hristov f4f255016a Merge branch 'PHP-5.5' 2013-08-08 14:03:22 +02:00
Andrey Hristov 42dbc598dd Merge branch 'PHP-5.5' 2013-08-08 13:53:08 +02:00
Michael Wallner 4a9d7c1f00 add NEWS entry; add simple test 2013-08-06 22:51:58 +02:00
Ralf Lang 8a7ea474a4 more precise condition 2013-08-06 22:51:58 +02:00
Ralf Lang 679fa1fc68 make this work in vc11 too 2013-08-06 22:51:58 +02:00
Ralf Lang cb4c195f0b Use int64_t and atoll() after discussion with johannes 2013-08-06 22:51:57 +02:00
Ralf Lang de3527002a ws 2013-08-06 22:51:57 +02:00
Ralf Lang 84f9213e00 Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files
above 2G.

This is essentially the same as the patch
"uploads_larger_than_2g_HEAD_v2 (last revision 2012-03-26 03:59 UTC) by
jason at infininull dot com)" but using off_t instead of signed long
(originally: uint)

I tested this on 64bit linux and succeeded uploading a file of 4.8 G.
The File did not get corrupted or truncated in any way.

I did not yet test this under windows or 32 bit linux

Note that there are still limitations:

* Did not test for files > 8 G
* php does not yet reject absurdly high values
* Still limited by underlying file system specific limits and free space
* in upload
* tmp dir and destination dir
2013-08-06 22:51:57 +02:00
Michael Wallner 14caf174ff unify stdint type usage
if you need C99 stdint types, just include "php_stdint.h"
2013-08-06 22:49:56 +02:00
Christopher Jones d8344c18a8 Merge branch 'PHP-5.5'
* PHP-5.5:
  One more './configure --help' alignment fix
2013-08-06 11:23:21 -07:00
Christopher Jones 4c3c9d1fe5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix long-standing visual pain point: the misalignment of './configure help' text. Whitespace changes and a couple of grammar fixes.
2013-08-06 11:09:12 -07:00
Christopher Jones db610ba050 Merge branch 'master' of https://git.php.net/repository/php-src
# By Christopher Jones (2) and Xinchen Hui (1)
# Via Xinchen Hui
* 'master' of https://git.php.net/repository/php-src:
  Re-fix Bug #65372 (Segfault in gc_zval_possible_root when return reference fails)
  PHP 5.5.2 has already branched
  Doh. PHP 5.5 NEWS needs own commit.
2013-08-06 10:01:47 -07:00
Xinchen Hui 9b38673776 Merge branch 'PHP-5.5' 2013-08-06 15:39:46 +08:00
Christopher Jones ca0497bba2 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for recent DTrace merges. Remove redundant 'cp' during DTrace install.
  Fixed bug #62691 (solaris sed has no -i switch) Make 'make distclean' remove generated DTrace .h file
  Enable dtrace probes on linux as they are compatible with systemtap
  Fixed bug #63706: Cannot build PHP-5.5 with --enable-dtrace on Fedora 17
2013-08-05 15:46:54 -07:00
Christopher Jones 8fdf1ad32d Merge branch 'PHP-5.5'
* PHP-5.5:
  Add an empty make command for DTrace .d files to stop an implicit circular dependency in GNU Make which causes .d files to be overwritten (Bug 61268)
  Merge branch 'PHP-5.4'
2013-08-05 14:28:24 -07:00
Christopher Jones 85cc3b3240 Merge branch 'PHP-5.5'
* PHP-5.5:
  Merge branch 'PHP-5.5'
2013-08-05 14:25:43 -07:00
Kalle Sommer Nielsen 85b7e9f046 Check for NULL ptr from get_stream() before passing it on to php_stream_cast() 2013-08-05 16:58:37 +02:00
Michael Wallner 15c351cc52 add NEWS entry; add simple test 2013-08-05 13:53:35 +02:00
Michael Wallner 69aed1b61f Merge branch 'master' of github.com:/ralflang/php-src
merged pull request #372:
>2G uploads by Ralf Lang
https://github.com/php/php-src/pull/372
2013-08-05 12:02:10 +02:00
Yasuo Ohgaki 8f74384947 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #62978. pg_select()/etc may allow SQL injection when table name is user parameter, users are able to control table names.
2013-08-05 18:27:19 +09:00
Stanislav Malyshev 7ca7ea85cd Merge branch 'PHP-5.5'
* PHP-5.5:
  add news about session fix
2013-08-04 20:07:00 -07:00
Stanislav Malyshev eb20966f75 Merge branch 'PHP-5.5'
* PHP-5.5:
  add news about session fix
  fix crash, enable session_id and fix test
  Strict session. Detect session id collision
  Strict session
2013-08-04 20:05:17 -07:00
Stanislav Malyshev 169b78eb79 add news about session fix 2013-08-04 20:04:42 -07:00
Stanislav Malyshev c9c53e0763 Merge branch 'PHP-5.5'
* PHP-5.5:
  First fixes for a 64bit compatible ftp extension
2013-08-04 19:36:29 -07:00
Stanislav Malyshev f20d28a6b1 Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT, 1))
The exists test should has covered this bug

Conflicts:

	ext/pdo_dblib/dblib_driver.c
2013-08-04 19:19:37 -07:00
Stanislav Malyshev 1d6a136051 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix compiler warning, use longs for hashes
2013-08-04 18:05:18 -07:00
Stanislav Malyshev 68e8326e0e Merge branch 'PHP-5.5'
* PHP-5.5:
  non living code related typo fixes
2013-08-04 16:07:13 -07:00
Stanislav Malyshev c620a51a32 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix typo
2013-08-04 16:03:02 -07:00
Rasmus Lerdorf b48f7e0c79 Merge commit '626d96a'
* commit '626d96a':
  This doesn't fail in 5.5 anymore
2013-08-03 12:15:28 -04:00
Rasmus Lerdorf cadbec2fa0 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Fix phar phpinfo test after markup changes
2013-08-03 12:15:16 -04:00
Nikita Popov 43cbec0fa9 Fix phar phpinfo test after markup changes 2013-08-03 16:32:02 +02:00
Rasmus Lerdorf 9fa7e8932d Merge commit 'a03f094'
* commit 'a03f094':
  We shouldn't load any local ini files for these tests
2013-08-02 16:23:52 -04:00
Rasmus Lerdorf 4e90145932 Merge commit 'd60e168'
* commit 'd60e168':
  pcre_quote? No such thing. How did this ever pass?
2013-08-02 16:13:12 -04:00
Rasmus Lerdorf c682f2f68a Merge commit 'ea75b1b'
* commit 'ea75b1b':
  This test needs local infile enabled
2013-08-02 15:33:49 -04:00
Rasmus Lerdorf d69ec93428 Merge commit 'e55f08a'
* commit 'e55f08a':
  This test will only work if gc is enabled
2013-08-02 12:01:20 -04:00
Rasmus Lerdorf 0fce1b4f72 Merge commit '5753b74'
* commit '5753b74':
  Make sure test.php isn't coming in from the include_path
2013-08-02 11:48:07 -04:00
Michael Wallner a8bc184207 fix generating config.nice
Configure runs like:
$./configure -C CFLAGS="-ggdb" --enable-debug --prefix=$(pwd)/usr
did result in an empty config.nice

* allow single dash flags like -C, -s etc.
* allow passing evnironment variables as arguments
2013-08-02 13:15:55 +02:00
Xinchen Hui 55d335fa95 Merge branch 'PHP-5.5' 2013-08-02 18:43:17 +08:00
Xinchen Hui 78673d1bad Merge branch 'PHP-5.5' 2013-08-02 18:39:58 +08:00
Yasuo Ohgaki fbd01eaecf Merge branch 'PHP-5.5'
* PHP-5.5:
  Add user contributed test. Bug #61748
2013-08-02 09:54:51 +09:00
Christopher Jones 9cd1ac7b61 Merge branch 'PHP-5.5'
* PHP-5.5:
  Clean up the 'generated' phar.inc file. When building outside the source tree the copied phar.inc needs to be removed, but when building in the tree, the file must remain since it is part of the source. See the copying logic in ext/phar/Makefile.frag.
2013-08-01 09:22:47 -07:00
Christopher Jones 1c91ca990f Merge branch 'PHP-5.5'
* PHP-5.5:
  Revert "Allow 'make distclean' to clean up the 'generated' phar.inc"
2013-08-01 08:49:19 -07:00
Christopher Jones 1f6b940dd1 Merge branch 'PHP-5.5'
* PHP-5.5:
  Use PHP's major version when cleaning up Apache .module files
  Allow 'make distclean' to clean up the 'generated' phar.inc
2013-07-31 12:36:20 -07:00
Christopher Jones 8bff800f6a Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Constify streams API and a few other calls down the rabbit hole. (`char *` to `const char *` for parameters and few return values) In a few places int len moved to size_t len.
2013-07-31 12:02:23 -07:00
Christopher Jones 7caea7d182 Clean generated OCI8 DTrace files in 'make distclean' 2013-07-31 12:01:35 -07:00
Christopher Jones d84fa9731a Merge branch 'PHP-5.5'
* PHP-5.5:
  Give 'make distclean' some love. Clean files created by AC_OUTPUT, shell redirection etc.
2013-07-31 11:50:57 -07:00
Christopher Jones f5521a357a Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #62691 (solaris sed has no -i switch) Make 'make distclean' remove generated DTrace .h file
2013-07-31 10:00:05 -07:00
Christopher Jones f3c3aa8a67 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Improved fix for bug #44686 (SOAP-ERROR: Parsing WSDL)
  Fixed bug #65018 (SoapHeader problems with SoapServer)
  Added opcache.restrict_api configuration directive that may limit usage of OPcahce API functions only to patricular script(s)
  MFH: fixed #65045: mb_convert_encoding breaks well-formed character.
  Fixed php-5.2 support
  added test script for bug65045.
  MFH: fixed #65045: mb_convert_encoding breaks well-formed character.
  Added support for glob symbols in blacklist entries (?, *, **)
  Fixed bug #65336
2013-07-31 09:02:06 -07:00
Dmitry Stogov e8b1739949 Merge branch 'PHP-5.5'
* PHP-5.5:
  Improved fix for bug #44686 (SOAP-ERROR: Parsing WSDL)
2013-07-31 17:37:27 +04:00
Dmitry Stogov 380e5d5d03 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65018 (SoapHeader problems with SoapServer)
  MFH: fixed #65045: mb_convert_encoding breaks well-formed character.
  Fixed bug #65336

Conflicts:
	NEWS
2013-07-31 16:35:09 +04:00
Dmitry Stogov e2a433fc5d Merge branch 'PHP-5.5'
* PHP-5.5:
  Added opcache.restrict_api configuration directive that may limit usage of OPcahce API functions only to patricular script(s)
  added test script for bug65045.
  MFH: fixed #65045: mb_convert_encoding breaks well-formed character.

Conflicts:
	NEWS
2013-07-31 14:24:30 +04:00
Sara Golemon 2141f394d8 Merge branch 'pull-request/399' 2013-07-31 00:49:30 -07:00
Dmitry Stogov a0fece5201 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed php-5.2 support
2013-07-31 03:23:10 +04:00
Dmitry Stogov fa041cb2f0 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Remove tabs on blanklines in Makefile sources. This prevents a 'suspicious line' warning when editing & saving Makefile using Emacs.
2013-07-31 03:04:22 +04:00
Dmitry Stogov 5338bbbf38 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added support for glob symbols in blacklist entries (?, *, **)

Conflicts:
	NEWS
2013-07-31 03:04:00 +04:00
Christopher Jones 3af80d7df3 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Improved implementation of NOP removal pass from O(n^2) to O(n) (hnw)
  A minor fix for configure outpu (Tony)
2013-07-30 13:39:29 -07:00
Christopher Jones 6af7526c77 Remove tabs on blanklines in Makefile sources. This prevents a
'suspicious line' warning when editing & saving Makefile using Emacs.
2013-07-30 13:36:10 -07:00
Dmitry Stogov 147d5241dc Merge branch 'PHP-5.5'
* PHP-5.5:
  Improved implementation of NOP removal pass from O(n^2) to O(n) (hnw)
2013-07-30 22:33:46 +04:00
Dmitry Stogov e831041c5a Merge branch 'PHP-5.5'
* PHP-5.5:
  A minor fix for configure outpu (Tony)
2013-07-30 22:04:55 +04:00
Dmitry Stogov 0aa342e903 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65338 (Enabling both php_opcache and php_wincache AVs on shutdown).

Conflicts:
	NEWS
2013-07-30 17:36:47 +04:00
Andrey Hristov 92d27ccb05 Constify streams API and a few other calls down the rabbit hole.
(`char *` to `const char *` for parameters and few return values)
In a few places int len moved to size_t len.
2013-07-30 12:49:36 +02:00
Anatol Belski 5e1ac558c3 make simplexml headers available to the outta world 2013-07-29 22:18:55 +02:00
Dmitry Stogov 294335761b Merge branch 'PHP-5.5'
* PHP-5.5:
  Merge from GitHub
  Update NEWS
  Fixed bug #65336

Conflicts:
	NEWS
2013-07-28 13:50:13 +04:00
Yasuo Ohgaki d4aee1021e Fixed bug #65336 2013-07-27 05:55:02 +09:00
Christopher Jones 85b66e9e21 OCI8 extension: Allow Implicit Result Set statement resources to inherit the parent's current prefetch count 2013-07-26 13:34:45 -07:00
Christopher Jones fc410f6ece Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fix --enable-maintainer-zts mode in OCI8 2.0
2013-07-26 11:34:21 -07:00
Christopher Jones 586fc4909e Fix --enable-maintainer-zts mode in OCI8 2.0 2013-07-25 16:15:32 -07:00
Christopher Jones c67714b782 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Update UPGRADING and make typo fixes to OCI8 package.xml
2013-07-25 10:57:53 -07:00
Christopher Jones fe98ffc227 Update UPGRADING and make typo fixes to OCI8 package.xml 2013-07-25 10:54:03 -07:00
Christopher Jones 1224e6cccd Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Upper section name
  Update NEWs
  Fixed bug #65328 (Segfault when getting SplStack object Value)
2013-07-25 10:42:47 -07:00
Christopher Jones b39f973c63 Merge branch 'master' of https://git.php.net/repository/php-src
# By Johannes Schlüter (3) and others
# Via Johannes Schlüter (4) and others
* 'master' of https://git.php.net/repository/php-src:
  Upper section name
  Update NEWs
  Fixed bug #65328 (Segfault when getting SplStack object Value)
  Initial PHP OCI8 2.0.0-dev commit.
  Expand the ZEND_STRL macro to handle platforms where strncmp() is a macro.
  fix missing include
  Fix bug 65299
  Fix compiler warning on redefined constant
  Fix comment
  fixed bug #65311 testsuite failure due to incomplete fix to bug28985.phpt
  fix bug #65028 	Phar::buildFromDirectory creates corrupt archives for some specific contents
2013-07-25 08:53:33 -07:00
Xinchen Hui c49de17fe5 Merge branch 'PHP-5.5' 2013-07-25 22:46:21 +08:00
Christopher Jones 4a9d0e1579 Merge branch 'oci8_20'
* oci8_20:
  Initial PHP OCI8 2.0.0-dev commit.
2013-07-24 15:36:57 -07:00
Christopher Jones bfc3c223da Initial PHP OCI8 2.0.0-dev commit.
Includes Oracle Database 12c Implicit Result Set support, DTrace
support, and various code cleanups.

See package.xml for details.
2013-07-24 15:33:22 -07:00
Stanislav Malyshev 86064e0701 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #65028 	Phar::buildFromDirectory creates corrupt archives for some specific contents
2013-07-23 21:46:23 -07:00
Adam Harvey 7fa841c888 Merge branch 'PHP-5.5'
* PHP-5.5:
  Expand the ZEND_STRL macro to handle platforms where strncmp() is a macro.
2013-07-23 11:19:02 -07:00
Anatol Belski 678ef6a133 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix missing include
2013-07-23 18:07:16 +02:00
Johannes Schlüter 416e270835 Merge branch 'PHP-5.5' 2013-07-23 14:14:18 +02:00
Johannes Schlüter 6b4742582f Merge branch 'PHP-5.5' 2013-07-23 13:15:15 +02:00
Johannes Schlüter 004163a914 Merge branch 'PHP-5.5' 2013-07-23 12:42:20 +02:00
Anatol Belski 94e15ff387 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed bug #65311 testsuite failure due to incomplete fix to bug28985.phpt
2013-07-23 10:00:24 +02:00
Ralf Lang d80a91018d more precise condition 2013-07-23 07:39:36 +02:00
Ralf Lang b07e55fdeb make this work in vc11 too 2013-07-22 21:26:38 +02:00
Christopher Jones 99f7b72025 Merge branch 'master' of https://git.php.net/repository/php-src
# By Veres Lajos (15) and others
# Via Stanislav Malyshev (31) and others
* 'master' of https://git.php.net/repository/php-src: (99 commits)
  fixed possible null deref
  Disable a flag
  - addressed bug #65159, Misleading configure help text for --with-mysql-sock
  Fix bug #61697 - spl_autoload_functions returns lambda functions incorrectly
  Update news for FILTER_SANITIZE_FULL_SPECIAL_CHARS fix
  Wrong value for FILTER_SANITIZE_FULL_SPECIAL_CHARS in REGISTER_LONG_CONSTANT
  Added recursivetreeiterator::setPostfix() method
  next is 5.5.2
  add a few comment
  allow both the old and new cfg argument to work. (the old of course should contain the typo)
  mssql.compatability_mode fix
  backward compatibility
  HASH_KEY_NON_EXISTANT fix
  Update NEWS
  Fixed bug #65304 (Use of max int in array_sum)
  Updaet NEWS
  Reorder NEWS
  intl: remove extra quotes from arginfo params
  updated test script for bug #65045.
  Fixed bug #65291 - get_defined_constants() crash with __CLASS__ in trait
  ...
2013-07-22 10:59:10 -07:00
Ralf Lang a2394df90e Use int64_t and atoll() after discussion with johannes 2013-07-22 18:03:11 +02:00
Anatol Belski b966a0bf46 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed possible null deref
2013-07-22 14:51:27 +02:00
Andrey Hristov a48e2bad62 Merge branch 'master' of ssh://git.php.net/php-src 2013-07-22 11:03:10 +02:00
Andrey Hristov a047ece2e0 Disable a flag 2013-07-22 11:02:48 +02:00
Stanislav Malyshev 4467ada680 Merge branch 'pull-request/326'
* pull-request/326:
  zend_register_null_constant fixed zend_register_bool_constant usage in macros use REGISTER_MAIN_* in zend_register_standard_constants
  zend_API.h included ZVAL_* family in use
  use Z_* family macros
  zend_register_bool_constant patch
2013-07-21 23:19:33 -07:00
Stanislav Malyshev 8d2651d8fc Merge branch 'PHP-5.5'
* PHP-5.5:
  - addressed bug #65159, Misleading configure help text for --with-mysql-sock
2013-07-21 23:15:03 -07:00
Stanislav Malyshev 46cc826770 Merge branch 'pull-request/231'
* pull-request/231:
  update Zend Engine logo as per Zeev, and tweak PHP logos ... :)
  fix for scrolling, other minor tweaks
  Bump up table width a bit more and make columns consistent
  Bringing CSS up to this decade's standards.
2013-07-21 22:49:26 -07:00
Stanislav Malyshev e68cd521dc Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #61697 - spl_autoload_functions returns lambda functions incorrectly
2013-07-21 22:48:03 -07:00
Stanislav Malyshev 3cbb48f055 Merge branch 'PHP-5.5'
* PHP-5.5:
  Update news for FILTER_SANITIZE_FULL_SPECIAL_CHARS fix
  Wrong value for FILTER_SANITIZE_FULL_SPECIAL_CHARS in REGISTER_LONG_CONSTANT
2013-07-21 22:31:37 -07:00
Stanislav Malyshev 10c547018f Merge branch 'PHP-5.5'
* PHP-5.5:
  Added recursivetreeiterator::setPostfix() method
2013-07-21 22:22:02 -07:00
Stanislav Malyshev 1a05648e6d Merge branch 'PHP-5.5'
* PHP-5.5:
  next is 5.5.2
  add a few comment
  allow both the old and new cfg argument to work. (the old of course should contain the typo)
  mssql.compatability_mode fix

Conflicts:
	configure.in
	main/php_version.h
2013-07-21 21:17:59 -07:00
Stanislav Malyshev 02457554a3 Merge branch 'PHP-5.5'
* PHP-5.5:
  backward compatibility
  HASH_KEY_NON_EXISTANT fix
2013-07-21 20:10:31 -07:00
Xinchen Hui a522f2d1c9 Merge branch 'PHP-5.5' 2013-07-21 21:07:50 +08:00
Xinchen Hui 25eb44fcc1 Merge branch 'PHP-5.5' 2013-07-21 16:20:00 +08:00
Gustavo André dos Santos Lopes cbd1faf077 Merge branch 'PHP-5.5'
* PHP-5.5:
  intl: remove extra quotes from arginfo params
2013-07-21 03:30:42 +02:00
Rui Hirokawa cb607d4f78 updated test script for bug #65045. 2013-07-21 10:18:33 +09:00
Johannes Schlüter 7daf1a6c14 Mention git and suggest PECL for new things 2013-07-19 22:05:52 +02:00
Johannes Schlüter b278aba429 Update patch submitting instructions
- we use git
- pecl bugs were merged into bugs.php.net
- A bit less on PEAR
2013-07-19 22:00:01 +02:00
Johannes Schlüter 17361b9707 Remove README about PHP 4.0 -> 4.1 API changes 2013-07-19 21:45:26 +02:00
Matteo Beccati 85bbc8fa9d Merge branch 'PHP-5.5'
* PHP-5.5:
  Properly fixed bug #63186 on NetBSD == 6.0
2013-07-19 09:40:15 +02:00
Anatol Belski 1673e8f67e Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65268 select() implementation uses outdated tick API
2013-07-18 18:02:26 +02:00
Anatol Belski c6651942ce Merge branch 'PHP-5.5'
* PHP-5.5:
  fix header include
  new NEWS for next release
2013-07-18 15:29:17 +02:00
Julien Pauli c8befa4f7c Merge branch 'PHP-5.5' 2013-07-18 11:12:01 +02:00
Julien Pauli 53a7e00911 New NEWS 2013-07-18 10:22:57 +02:00
Yasuo Ohgaki 0a7c88884e Merge branch 'PHP-5.5'
* PHP-5.5:
  Improve php.ini-* documentation
2013-07-18 14:10:34 +09:00
Johannes Schlüter 2a13fb106d Remove PHP3 conversion scripts 2013-07-17 23:32:23 +02:00
Johannes Schlüter 57c50f8fed Drop PHP 4 related README 2013-07-17 23:25:44 +02:00
Johannes Schlüter f7e204d7ed Slightly modernize ext_skel and sekelton/
- .svnignore ->.gitignore
- Add .gitignore entries for DSO stand-alone builds stuff
- Docs don't use CVS but SVN
- reorder extname.c file so it needs less forward declarations
- take forward declarations out of php_extname.h
- Drop #if for 12 years old PHP version compatibility
2013-07-17 23:18:13 +02:00
Stanislav Malyshev a5d177cbc8 Merge branch 'PHP-5.5'
* PHP-5.5:
  5.4.19 is next
2013-07-17 13:52:39 -07:00
Arpad Ray b594949144 Merge branch 'PHP-5.5'
* PHP-5.5:
  regenerate url scanner
  Fixed bug #50308 - session id not appended properly for empty anchor tags
2013-07-17 16:28:12 +01:00
Arpad Ray fb53871d94 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #62129 - rfc1867 crashes php even though turned off
2013-07-17 11:09:37 +01:00
Stanislav Malyshev 5c0ad4c72c Merge branch 'PHP-5.5'
* PHP-5.5:
  add news for xml fix
2013-07-16 15:40:20 -07:00
Anatol Belski be721d5d8b Merge branch 'PHP-5.5'
* PHP-5.5:
  fix TS build
2013-07-16 18:06:05 +02:00
Anatol Belski 12aec9ec8e Merge branch 'PHP-5.5'
* PHP-5.5:
  added sapi check for dl() test
2013-07-16 15:43:59 +02:00
Johannes Schlüter dc489c30f0 Merge branch 'PHP-5.5' 2013-07-16 13:56:06 +02:00
Anatol Belski 83a60d45f5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed typo ensuring header str is \0 terminated
2013-07-16 00:15:54 +02:00
Gustavo Lopes 2443df37fd Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for 710150c and e2744f1
  socket: support unix paths in the abstract namespace
  socket: fix bug #65260 (SCM_RIGHTS)
2013-07-16 00:03:00 +02:00
Anatol Belski fb91fc6e2c Merge branch 'PHP-5.5'
* PHP-5.5:
  fix buffer overrun
2013-07-15 17:35:52 +02:00
Anatol Belski af377da60a Merge branch 'PHP-5.5'
* PHP-5.5:
  kick unused var
2013-07-15 17:23:48 +02:00
Stanislav Malyshev e92a63c9ee Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove PWS (Personal Web Server) references
2013-07-15 00:38:50 -07:00
Stanislav Malyshev 6aa694a8d8 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix invalid variable name at ext/spl/internal/multipleiterator.inc (key() method, too)
  fix invalid variable name at ext/spl/internal/multipleiterator.inc
2013-07-15 00:36:43 -07:00
Stanislav Malyshev 7bd8dfae63 Merge branch 'PHP-5.5'
* PHP-5.5:
  revert false fix
  typo fixes
  less serious compatAbility fixes
  typos (orig)
  revert false fix
  typo fixes
  typos (orig)
  less serious compatAbility fixes
2013-07-15 00:28:21 -07:00
Veres Lajos c2088f8b81 revert false fix 2013-07-15 00:19:56 -07:00
Veres Lajos 1b06e0be96 typo fixes 2013-07-15 00:19:49 -07:00
Veres Lajos d17e8ac32f less serious compatAbility fixes 2013-07-15 00:19:39 -07:00
Veres Lajos 6c4af15d6c typos (orig) 2013-07-15 00:19:32 -07:00
Stanislav Malyshev 2c8a4af892 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #62665: add curl.cainfo to php.ini
2013-07-14 23:57:16 -07:00
Stanislav Malyshev 50f15bb921 Merge branch 'PHP-5.5'
* PHP-5.5:
  add news for bug #65219
  Add built-in web server to invocation list
  Terminology: change embedded web server to built-in web server to align with cli usage
  Align -B and -E parameter names with cli usage (begin_code and end_code)
  Fix Bug #65219 DBSETLDBNAME should be called before login to set DBNAME in login record
2013-07-14 17:07:33 -07:00
Anatol Belski 14b67ed6da Merge branch 'PHP-5.5'
* PHP-5.5:
  fix uninitialized memory usage
2013-07-14 20:46:48 +02:00
Xinchen Hui 75808151e3 Merge branch 'PHP-5.5'
Conflicts:
	Zend/zend_vm_execute.h
2013-07-14 12:01:50 +08:00
Felipe Pena b64e2218f2 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Bug #65228 (FTPs memory leak) patch by: marco dot beierer at mbsecurity dot ch
2013-07-13 17:54:52 -03:00
Stanislav Malyshev b98f346587 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix version - not -dev anymore since 5.5.0 release
  - Fixed bug #65227 (Memory leak in gmp_cmp second parameter)
  Fixed meta data retrieve when OID is larger than 2^31
  Fixed meta data retrieve when OID is larger than 2^31
  Inprove pg_unescape_bytea() error message

Conflicts:
	Zend/zend.h
	ext/gmp/gmp.c
2013-07-12 17:32:15 -07:00
Stanislav Malyshev 732989c352 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix the date for 5.4.17
2013-07-12 10:58:32 -07:00
Stanislav Malyshev e885dac150 Merge branch 'PHP-5.5'
* PHP-5.5:
  update 5.4.17 date
2013-07-12 10:55:43 -07:00
Stanislav Malyshev f4dab70faf Merge branch 'PHP-5.5'
* PHP-5.5:
  update 5.4.17 date
2013-07-12 10:54:02 -07:00
Sara Golemon 95017c0522 Add a couple more test cases to parse_url() tests
http://::# (valid but silly)
http://#   (invalid)
2013-07-10 08:26:47 -07:00
Yasuo Ohgaki 914f8fd304 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed meta data retrieve when OID is larger than 2^31

Conflicts:
	ext/pdo_pgsql/pgsql_statement.c
2013-07-11 12:25:24 +09:00
Yasuo Ohgaki 0ed36d4478 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Fixed meta data retrieve when OID is larger than 2^31
2013-07-11 12:23:23 +09:00
Yasuo Ohgaki 8679bffaca Fixed meta data retrieve when OID is larger than 2^31 2013-07-11 12:23:11 +09:00
Yasuo Ohgaki c4f241ef88 Merge branch 'PHP-5.5'
* PHP-5.5:
  Inprove pg_unescape_bytea() error message
2013-07-11 12:13:22 +09:00
Yasuo Ohgaki ed00dc8f82 Inprove pg_unescape_bytea() error message 2013-07-11 12:13:09 +09:00
Anatol Belski ecb55dd9f5 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  Fixed bug #65226 chroot() does not get enabled
2013-07-11 00:52:08 +02:00
Christopher Jones 56b2b74409 Merge branch 'PHP-5.5'
* PHP-5.5:
  Cleanup temp test file
2013-07-10 11:22:16 -07:00
Johannes Schlüter 479174c21c Merge branch 'PHP-5.5' 2013-07-10 19:47:26 +02:00
Johannes Schlüter 9c0cd00b44 Merge branch 'PHP-5.5' 2013-07-10 19:38:29 +02:00
Anatol Belski c7490a6edd add usleep() to the header, already exported to dll 2013-07-10 16:16:33 +02:00
Anatol Belski 638f1c3b79 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix possible resource leak and make sure there's something to qsort()
2013-07-10 13:32:13 +02:00
Christopher Jones 3fd987f493 Merge branch 'PHP-5.5'
* PHP-5.5:
  Cleanup temp file
2013-07-09 14:53:05 -07:00
Patrick Allaert b980e4fedc Fixed #65225: PHP_BINARY incorrectly set 2013-07-09 15:05:10 +02:00
Derick Rethans 3cdd09a76e Merge branch 'PHP-5.5' 2013-07-09 09:07:21 +01:00
Yasuo Ohgaki baac810eb8 Improve pg_unescape_bytea() error message 2013-07-09 14:54:03 +09:00
Yasuo Ohgaki 84e6576203 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed pgsql_stmt_get_column_meta() OID signedness
2013-07-09 07:02:09 +09:00
Yasuo Ohgaki 98e6473f98 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Fixed pgsql_stmt_get_column_meta() OID signedness
2013-07-09 07:00:47 +09:00
Yasuo Ohgaki 24037fd3d9 Fixed pgsql_stmt_get_column_meta() OID signedness 2013-07-09 06:59:50 +09:00
Christopher Jones 0cf978c92e Merge branch 'PHP-5.5'
* PHP-5.5:
  Bump PECL package info version check to allow PECL installs with PHP 5.5+
2013-07-08 13:39:26 -07:00
Christopher Jones fbebe431b4 Merge branch 'PHP-5.5'
* PHP-5.5:
  Update NEWS
2013-07-08 13:35:21 -07:00
Andrey Hristov e78ca0b634 Merge branch 'master' of ssh://git.php.net/php-src 2013-07-08 20:26:38 +02:00
Andrey Hristov a5d2854bdc Merge branch 'PHP-5.5' 2013-07-08 20:26:04 +02:00
Yasuo Ohgaki 870d238b06 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added warning for hex2bin() when input is invalid string
  Update NEWS
2013-07-08 19:15:04 +09:00
Yasuo Ohgaki 4fd1e24ee5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add warning to pg_unescape_bytea() when invalid parameter is passed
2013-07-08 18:53:12 +09:00
Xinchen Hui 11b757d53e Merge branch 'PHP-5.5' 2013-07-08 11:21:54 +08:00
Rob Richards b955dbecfb Merge branch 'PHP-5.5'
# By Nuno Lopes (2) and Rob Richards (1)
* PHP-5.5:
  truncate results at depth of 255 to prevent corruption
  fix assembly of safe_address() for x86 and x86_64
  fix assembly of safe_address() for x86 and x86_64
2013-07-06 08:01:31 -04:00
Ard Biesheuvel e4192e4cb4 Merge branch 'PHP-5.5' 2013-07-04 10:32:55 +02:00
Nuno Lopes 97e9d01dc7 fix assembly of safe_address() for x86 and x86_64 2013-07-03 17:53:46 -04:00
Anatol Belski 675beb06a6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Extended the test for bug #65184
2013-07-03 22:53:34 +02:00
Felipe Pena 0107b2afe8 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed build on FreeTDS 0.82
2013-07-03 15:04:30 -03:00
Johannes Schlüter d7a59d7dac Merge branch 'PHP-5.5' 2013-07-03 17:11:20 +02:00
Johannes Schlüter ebd94fa30d Merge branch 'PHP-5.5' 2013-07-03 16:59:17 +02:00
Anatol Belski 9365967dfd Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65184 strftime() returns insufficient-length
  NEWS for two lst intl changes
2013-07-03 11:25:09 +02:00
Sebastian Bergmann 9f5fc5c0ee Sync list of supported bison version with PHP-5.5 2013-07-03 06:52:44 +02:00
Gustavo André dos Santos Lopes c1db6f8bdd Merge branch 'PHP-5.5'
* PHP-5.5:
  intl: fix extra space in constant name
  intl: add intlcal_set_minimal_days_in_first_week()
2013-07-03 05:17:04 +01:00
Remi Collet c28e77cbbc Merge branch 'PHP-5.5'
* PHP-5.5:
  fix typo in php man page
2013-07-02 12:19:43 +02:00
Remi Collet 0ecf03ff38 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  Fixed Bug #65142 Missing phar man page
  NEWS
  Fixed Bug #65143 Missing php-cgi man page
2013-07-02 10:48:38 +02:00
Anatol Belski a1c2dbb466 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed mysql tests parsing phpinfo()
  Add a few links
  Update NEWS
  Fixed bug #35703: when session_name("123") consist only digits, should warning
  Fixed bug #49175: mod_files.sh does not support hash bits
2013-07-02 08:25:01 +02:00
Christopher Jones 7a331856df Merge branch 'master' of https://git.php.net/repository/php-src
# By Yasuo Ohgaki (5) and others
# Via Stanislav Malyshev (5) and others
* 'master' of https://git.php.net/repository/php-src:
  added test code for #65045.
  fixed #65045: mb_convert_encoding breaks well-formed character.
  Don't try to clean up generator stack on unclean shutdown
  NEWS
  Added PHP_FCGI_BACKLOG, overrides the default listen backlog
  Merge branch 'PHP-5.5' into master
  Fixed bug #49175: mod_files.sh does not support hash bits
  Fixed bug #35703: when session_name("123") consist only digits, should warning
  Fixed bug #49175: mod_files.sh does not support hash bits
  Fixed bug #49175: mod_files.sh does not support hash bits
  add fix for  #60560 into upgrading
  Add a __wakeup() method to SplFixedArray, thereby fixing serialising an
  Update NEWS
  small optimization
  fix bug #61860: use USearch for searches, it does the right thing
2013-07-01 13:46:01 -07:00
Rui Hirokawa 1db66942e1 added test code for #65045. 2013-06-30 15:31:36 +09:00
Rui Hirokawa c6a7549efc fixed #65045: mb_convert_encoding breaks well-formed character. 2013-06-30 15:30:45 +09:00
Nikita Popov 4d606cf01e Merge branch 'PHP-5.5' 2013-06-29 21:57:36 +02:00
Arnaud Le Blanc 4cf20656ba Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  Added PHP_FCGI_BACKLOG, overrides the default listen backlog
2013-06-29 17:55:39 +02:00
Yasuo Ohgaki bedadf2bb2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #35703: when session_name("123") consist only digits, should warning
2013-06-29 09:44:45 +09:00
Yasuo Ohgaki cfa667846f Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Fixed bug #35703: when session_name("123") consist only digits, should warning
2013-06-29 09:43:06 +09:00
Yasuo Ohgaki f1c8d0b4e3 Merge branch 'PHP-5.5' into master
Fixed bug #49175: mod_files.sh does not support hash bits
2013-06-29 09:23:37 +09:00
Yasuo Ohgaki bfb4c3156f Fixed bug #35703: when session_name("123") consist only digits, should warning 2013-06-29 08:07:44 +09:00
Yasuo Ohgaki 5f0656b89d Fixed bug #49175: mod_files.sh does not support hash bits 2013-06-29 06:50:07 +09:00
Yasuo Ohgaki 520c08adf0 Fixed bug #49175: mod_files.sh does not support hash bits 2013-06-29 06:45:18 +09:00
Stanislav Malyshev 66667dda47 Merge branch 'PHP-5.5'
* PHP-5.5:
  add fix for  #60560 into upgrading
2013-06-28 14:02:12 -07:00
Stanislav Malyshev d231111972 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add a __wakeup() method to SplFixedArray, thereby fixing serialising an
  Update NEWS
  small optimization
  fix bug #61860: use USearch for searches, it does the right thing
2013-06-28 13:56:31 -07:00
Ralf Lang f978f11e2e ws 2013-06-28 08:38:34 +02:00
Ralf Lang da04b2e28c Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files
above 2G.

This is essentially the same as the patch
"uploads_larger_than_2g_HEAD_v2 (last revision 2012-03-26 03:59 UTC) by
jason at infininull dot com)" but using off_t instead of signed long
(originally: uint)

I tested this on 64bit linux and succeeded uploading a file of 4.8 G.
The File did not get corrupted or truncated in any way.

I did not yet test this under windows or 32 bit linux

Note that there are still limitations:

* Did not test for files > 8 G
* php does not yet reject absurdly high values
* Still limited by underlying file system specific limits and free space
* in upload
* tmp dir and destination dir
2013-06-28 08:32:10 +02:00
Christopher Jones 8d9fcbba9e Merge branch 'master' of https://git.php.net/repository/php-src
# By Felipe Pena (11) and others
# Via Felipe Pena (14) and others
* 'master' of https://git.php.net/repository/php-src: (27 commits)
  Fix bug #62535 - $_SESSION[$key]["cancel_upload"] doesn't work as documented
  BC fix for PR 109 merge - create_sid() method in SessionHandler
  Tests, fixes and optimisations
  Add create_sid to session_set_save_handler and SessionHandler
  Fixed symbol export
  Update NEWS
  BC fix for PR 109 merge - create_sid() method in SessionHandler
  Update NEWS:w
  Fixed bug #65136 (RecursiveDirectoryIterator segfault)
  - BFN
  - Fixed bug #64467 (Segmentation fault after imap_reopen failure) patch by: askalski at gmail dot com
  - Reclassify bug
  - BFN
  - Fixed bug #63983 (enabling FPM borks compile on FreeBSD) patch by: chibisuke at web dot de
  - Fixed bug #63409 (php-dba function test fails on big-endian machine) patch by: tianhonglouis at gmail dot com
  - Fixed test
  add new test
  Update NEWS
  Fixed bug #65015 (pg_send_query does not flush send buffer) patch submitted by: adam at vektah dot net
  - Fixed typo on condition
  ...
2013-06-27 16:48:42 -07:00
Arpad Ray da31bef9cb Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #62535 - $_SESSION[$key]["cancel_upload"] doesn't work as documented
  Update NEWS
  BC fix for PR 109 merge - create_sid() method in SessionHandler
  Tests, fixes and optimisations
  Add create_sid to session_set_save_handler and SessionHandler
2013-06-27 19:25:11 +01:00
Arpad Ray ada46c75f4 BC fix for PR 109 merge - create_sid() method in SessionHandler
Creates a new SessionIdInterface and moves create_sid() into it, so existing
handlers implementing SessionHandlerInterface don't require create_sid().
SessionHandler still includes the method so the default mod can be called, but
now implements both interfaces.

Also added several more tests for this feature.
2013-06-27 13:06:22 +01:00
Leigh b794cce4fd Tests, fixes and optimisations
* Amended existing tests to cater for new functionality.
* Implemented fixes and optimisations recommended by NikiC
* Added create_sid to the registered interface. This was breaking
tests. It also now breaks BC for people implementing the interface
directly instead of extending the class.
2013-06-27 13:06:22 +01:00
Leigh 074c26a68b Add create_sid to session_set_save_handler and SessionHandler
A lot of code already existed to allow a custom create_sid handler, but
lacked a specific implementation.

Therefore I have added a 7th (optional) argument
session_set_save_handler, to allow a user function to be supplied for
session id generation.

If a create_sid function is not supplied, the default function is
called in its absence to preserve backwards compatibility.

Likewise create_sid only added to SessionHandler class, and not the
interface to maintain backwards compatibility. If the result is not
overridden, the default is called.
2013-06-27 13:06:22 +01:00
Anatol Belski eb190bb571 Fixed symbol export
That's needed for baabd11929 to link
properly.
2013-06-27 14:00:56 +02:00
Xinchen Hui a441d9274b Merge branch 'PHP-5.5' 2013-06-27 12:38:52 +08:00
Felipe Pena 86a54638ed Merge branch 'PHP-5.5'
* PHP-5.5:
  - BFN
  - Fixed bug #64467 (Segmentation fault after imap_reopen failure) patch by: askalski at gmail dot com
  - Reclassify bug
2013-06-26 19:16:37 -03:00
Felipe Pena 4113b5aee3 Merge branch 'PHP-5.5'
* PHP-5.5:
  - BFN
  - Fixed bug #63983 (enabling FPM borks compile on FreeBSD) patch by: chibisuke at web dot de
2013-06-26 15:08:57 -03:00
Felipe Pena c6a218c76b Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed bug #63409 (php-dba function test fails on big-endian machine) patch by: tianhonglouis at gmail dot com
2013-06-26 13:50:47 -03:00
Felipe Pena c743d0c9dc Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed test
2013-06-26 13:36:50 -03:00
Andrey Hristov 793694b9d8 Merge branch 'PHP-5.5' 2013-06-26 16:51:42 +02:00
Yasuo Ohgaki eeeb7a281a Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65015 (pg_send_query does not flush send buffer) patch submitted by: adam at vektah dot net
2013-06-26 16:23:25 +09:00
Yasuo Ohgaki 6be36cc381 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Fixed bug #65015 (pg_send_query does not flush send buffer) patch submitted by: adam at vektah dot net
2013-06-26 16:19:31 +09:00
Felipe Pena 802a25e0c9 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed typo on condition
2013-06-25 21:53:42 -03:00
Felipe Pena 0c7cf58092 Merge branch 'PHP-5.5'
* PHP-5.5:
  - BFN
2013-06-25 21:44:17 -03:00
Felipe Pena 509e89448e Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed bug #62475 (variant_* functions causes crash when null given as an argument)
  Update NEWS
  Update NEWS
  - BFN
2013-06-25 21:40:30 -03:00
Christopher Jones d1bed34b76 Merge branch 'master' of https://git.php.net/repository/php-src
# By Felipe Pena
# Via Felipe Pena (8) and Christopher Jones (3)
* 'master' of https://git.php.net/repository/php-src:
  - Fixed bug #62672 (Error on serialize of ArrayObject) patch by: lior dot k at zend dot com
  - BFN
  - Fixed bug #62964 (Possible XSS on "Registered stream filters" info) patch by: david at nnucomputerwhiz dot com
2013-06-25 17:28:27 -07:00
Felipe Pena 83bc4fb40a Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed bug #62672 (Error on serialize of ArrayObject) patch by: lior dot k at zend dot com
  - BFN
2013-06-25 21:19:06 -03:00
Felipe Pena bce86874f6 Merge branch 'master' of git.php.net:/php-src 2013-06-25 18:01:32 -03:00
Felipe Pena f0823ac493 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed bug #62964 (Possible XSS on "Registered stream filters" info) patch by: david at nnucomputerwhiz dot com
  - BFN
2013-06-25 18:00:47 -03:00
Christopher Jones 92c87b02a9 Merge branch 'PHP-5.4'
* PHP-5.4:
  - BFN
2013-06-25 13:25:19 -07:00
Christopher Jones 2d654dc337 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
2013-06-25 13:23:58 -07:00
Felipe Pena 5c71d4d785 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
2013-06-25 16:26:48 -03:00
Christopher Jones 53ec065077 Merge branch 'PHP-5.4'
* PHP-5.4:
  Minium changes to allow PDO_OCI to build with Oracle Database 12c libraries. (note OCI8 already builds with Oracle Database 12c)
2013-06-25 12:00:56 -07:00
Xinchen Hui d99a76ca96 Merge branch 'PHP-5.5' 2013-06-25 13:48:54 +08:00
Xinchen Hui d8374c5590 Merge branch 'PHP-5.5' 2013-06-25 13:40:19 +08:00
Felipe Pena ba3278d9e6 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed bug #61594 (ext/session/mod_mm.c: missing free of ps_mm_instance) patch by: jlawall at hotmail dot com
  - BFN
2013-06-24 16:50:19 -03:00
Felipe Pena 33472f78f9 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed bug #61387 (NULL valued anonymous column causes segfault in odbc_fetch_array) patch by: Brandon Kirsch
2013-06-24 14:48:28 -03:00
Xinchen Hui 83673eaf1d Merge branch 'PHP-5.5' 2013-06-24 23:53:54 +08:00
David Soria Parra e972b54b30 Merge branch 'PHP-5.5'
* PHP-5.5:
  Notify doc team BEFORE we release
2013-06-24 17:44:04 +02:00
David Soria Parra a496e62f13 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix #65108 (is_callable() triggers Fatal Error)
2013-06-24 17:22:02 +02:00
Remi Collet 8e4e38aaee Merge branch 'PHP-5.5'
* PHP-5.5:
  fix imagecreatefromwebp and imagewebp protos
2013-06-24 11:15:56 +02:00
Remi Collet 8c694401bb Merge branch 'PHP-5.5'
* PHP-5.5:
  Use same logic to load WebP image that other formats
2013-06-24 11:11:02 +02:00
Remi Collet 6c56d785ae Merge branch 'PHP-5.5'
* PHP-5.5:
  Upstream fix from https://bitbucket.org/libgd/gd-libgd/issue/75
2013-06-24 11:04:10 +02:00
Dmitry Stogov 0c9de2d94b Merge branch 'PHP-5.5'
* PHP-5.5:
  OPcache must be compatible with LiteSpeed SAPI

Conflicts:
	NEWS
2013-06-24 12:01:58 +04:00
Stanislav Malyshev 91cc70c430 Merge branch 'PHP-5.5'
* PHP-5.5:
  seems to be working fine for me on 32-bit
2013-06-23 23:38:15 -07:00
Stanislav Malyshev 30227f7a59 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #62759: Buggy grapheme_substr() on edge case
2013-06-23 21:27:20 -07:00
Stanislav Malyshev 46c46921b1 Merge branch 'PHP-5.5'
* PHP-5.5:
  Require second parameter of imagecrop()
2013-06-23 20:30:03 -07:00
Stanislav Malyshev e02b41d25c Merge branch 'PHP-5.5'
* PHP-5.5:
  Implements feature Bug #63472 ability to set SO_BINDTODEVICE on socket.
2013-06-23 15:26:30 -07:00
Stanislav Malyshev c593b42a0c Merge branch 'PHP-5.5'
* PHP-5.5:
  Adding test to verify that __sleep can handle parent classes' private members
  Adding test to stabelize keys used when converting objects to arrays
2013-06-23 13:55:03 -07:00
Adam Harvey f94f17397e Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #65088 (Generated configure script is malformed on OpenBSD).
2013-06-23 11:04:36 -07:00
Remi Collet 20dbd27108 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug #65060 imagecreatefrom... crashes with user streams Fixed Bug #65084 imagecreatefromjpeg fails with URL
2013-06-21 14:11:33 +02:00
Ard Biesheuvel 9b22faa5b8 Merge branch 'PHP-5.5' 2013-06-21 11:27:23 +02:00
Pierre Joye 4718f892cb Merge branch 'master' of git.php.net:php-src 2013-06-20 22:34:04 +02:00
Pierre Joye a1d0a869be Merge branch 'PHP-5.5'
* PHP-5.5:
  fix #65070, bgcolor does not use the same format as the input image with imagerotate
  fix #65070, bgcolor does not use the same format as the input image with imagerotate
  Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.
  Change the search in get_status_string() to correctly handle unknown codes.
  Update git rules (5.5 is stable, 5.3 sec only)
  skip test for bug #64936 when tokenizer not built
  Bump version
  Update credits
  Merge NEWS from PHP 5.4 branch
  Reorder NEWS for PHP 5.5.0 final

Conflicts:
	configure.in
	ext/gd/libgd/gd_interpolation.c
	main/php_version.h
2013-06-20 22:32:52 +02:00
Adam Harvey e41eb5272f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.
  Change the search in get_status_string() to correctly handle unknown codes.
2013-06-20 09:43:00 -07:00
Ard Biesheuvel 4cd2b7212f Fix non-specialized executor build
Removed a couple of calls to FREE_OP2() that were left behind in
the handlers for break and continue opcodes after commit 7628da98
2013-06-20 17:26:05 +02:00
Johannes Schlüter 3e6b312b55 Merge branch 'PHP-5.5' 2013-06-20 11:57:56 +02:00
Remi Collet a964c5def8 Merge branch 'PHP-5.5'
* PHP-5.5:
  skip test for bug #64936 when tokenizer not built
2013-06-20 08:43:11 +02:00
David Soria Parra f77e3be102 Merge branch 'PHP-5.5'
* PHP-5.5:
  Bump version
  Update credits
  Merge NEWS from PHP 5.4 branch
  Reorder NEWS for PHP 5.5.0 final
2013-06-19 22:14:08 +02:00
Pierre Joye d5b1111fb0 Merge branch 'PHP-5.5'
* PHP-5.5:
  add notes about opcache windows issue and migration from APC
2013-06-19 17:59:30 +02:00
Anatol Belski d9f538bc68 Merge branch 'PHP-5.5'
* PHP-5.5:
  added some tests based on bug #64395
2013-06-19 16:25:08 +02:00
Johannes Schlüter 96c1e0440b Merge branch 'PHP-5.5' 2013-06-19 15:09:45 +02:00
Remi Collet 04b2f8d53e Merge branch 'PHP-5.5'
* PHP-5.5:
  Related to bug #65047 (Test skip on client / server version)
2013-06-19 12:27:12 +02:00
Matteo Beccati 77032bcd9c Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #65047 (Test skip on client / server version)
  Remove broken client version checking
  Clean up leftover file after the test
2013-06-19 11:53:21 +02:00
Stanislav Malyshev 07a38ea80c Merge branch 'PHP-5.5'
* PHP-5.5:
  sync NEWS
2013-06-18 23:09:36 -07:00
Stanislav Malyshev a984dd4eb4 Merge branch 'PHP-5.5'
* PHP-5.5:
  5.4.18 next
2013-06-18 22:59:34 -07:00
Xinchen Hui ce1cb1f7a6 Merge branch 'PHP-5.5' 2013-06-19 11:17:55 +08:00
Nikita Popov 42729c1baf Merge branch 'PHP-5.5' 2013-06-17 23:49:08 +02:00
Nikita Popov ae91084067 Remove unnecessary NULL checks from zend_hash
Our memory allocation functions (including the persistent ones)
are infallible, so no need to check for NULL.
2013-06-17 18:51:59 +02:00
Nikita Popov ca660c2f77 Update NEWS, UPGRADING and UPGRADING.INTERNALS 2013-06-17 18:27:22 +02:00
Nikita Popov 7713b8c2ac GMP improvements
As per RFC https://wiki.php.net/rfc/operator_overloading_gmp
2013-06-17 17:59:12 +02:00
Nikita Popov 3823321c5c Implement internal operator overloading
As pre RFC https://wiki.php.net/rfc/operator_overloading_gmp
2013-06-17 17:48:13 +02:00
Stanislav Malyshev 1143f58a70 Merge branch 'PHP-5.5'
* PHP-5.5:
  Merge branch 'pull-request/320'
  Merge branch 'pull-request/320'
2013-06-17 01:07:28 -07:00
Stanislav Malyshev a434251322 Merge branch 'PHP-5.5'
* PHP-5.5:
  Tests: PDO Mysql - update for fixed getColumnMeta()
  fix bug #48724
2013-06-17 00:42:36 -07:00
Stanislav Malyshev a72fc256f4 Merge branch 'PHP-5.5'
* PHP-5.5:
  readline can output control codes
  Bug #55694: Update readline test to support attempted_completion_over variable
  Bug #55694: Expose attempted_completion_over variable from readline library
2013-06-17 00:17:28 -07:00
Xinchen Hui 875df12c0b Merge branch 'PHP-5.5' 2013-06-17 13:25:04 +08:00
Stanislav Malyshev dea16af29a Merge branch 'PHP-5.5'
* PHP-5.5:
  Identation Fixed
  Identation Fixed
2013-06-16 18:14:32 -07:00
Stanislav Malyshev 8b3d31c1c3 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #64764: Add status option to fpm init.d script
2013-06-16 16:56:38 -07:00
Stanislav Malyshev 7978e44f08 Merge branch 'PHP-5.5'
* PHP-5.5:
  update NEWS
2013-06-16 16:41:37 -07:00
Stanislav Malyshev 97c56e1eb1 Merge branch 'PHP-5.5'
* PHP-5.5:
  news for #64166
2013-06-16 16:40:56 -07:00
Stanislav Malyshev e3cd0d1417 Merge branch 'PHP-5.5'
* PHP-5.5:
  add more tests for bug #64166
  Move unsigned char declaration to top of block
  trailing ws
  Fix #64166: quoted-printable-encode stream filter incorrectly discarding whitespace
  Fix #64166: quoted-printable-encode stream filter incorrectly discarding whitespace
2013-06-16 16:39:06 -07:00
Stanislav Malyshev 6db7e31fa6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #64936 - clean doc comment state at the beginning and end of the scan
  ws fix
2013-06-16 15:30:44 -07:00
Anatol Belski fd706595d4 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix test
2013-06-17 00:11:05 +02:00
Xinchen Hui 0842d5c06e Merge branch 'PHP-5.5' 2013-06-16 22:57:01 +08:00
Boris Lytochkin 3457096758 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix typo in test
2013-06-16 00:10:06 +04:00
Boris Lytochkin 6ab78c9fde Merge branch 'master' of https://git.php.net/push/php-src
* 'master' of https://git.php.net/push/php-src: (171 commits)
  Fixed bug #63186 (compile failure on netbsd)
  fix test for bug #60322
  ensure the error_reporting level to get expected notice
  fixed tests
  missing tests for bug #53437
  fixed EOL
  added closing ?>
  fix double entry
  Merge branch 'pull-request/341'
  Merge branch 'pull-request/341'
  Merge branch 'pull-request/341'
  split the test for 32 and 64 bit
  typo fixes (argument)
  typo fixes (accommodate, parameter)
  missing colon
  Backported the fix for bug #53437
  Backported the fix for bug #53437
  fixed the test
  Fix a BC breach related to bug #53437
  Fixed bug #64988 (Class loading order affects E_STRICT warning)
  ...
2013-06-16 00:04:22 +04:00
Matteo Beccati 55656d616c Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63186 (compile failure on netbsd)
2013-06-14 16:56:04 +02:00
Stanislav Malyshev 3716599502 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix test for bug #60322
2013-06-13 10:31:31 -07:00
Anatol Belski c1772cc3df Merge branch 'PHP-5.5'
* PHP-5.5:
  ensure the error_reporting level to get expected notice
2013-06-12 13:15:32 +02:00
Anatol Belski 00ba7d416f Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed tests
2013-06-11 12:40:30 +02:00
Anatol Belski da094040fb Merge branch 'PHP-5.5'
* PHP-5.5:
  missing tests for bug #53437
2013-06-11 11:24:33 +02:00
Anatol Belski 8b74d46026 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed EOL
2013-06-11 08:33:19 +02:00
Anatol Belski c90e95baf6 Merge branch 'PHP-5.5'
* PHP-5.5:
  added closing ?>
2013-06-11 08:26:07 +02:00
Stanislav Malyshev 4e56ac50e5 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix double entry
  Merge branch 'pull-request/341'
2013-06-10 18:16:23 -07:00
Stanislav Malyshev 8ac131503d Merge branch 'PHP-5.5'
* PHP-5.5:
  Merge branch 'pull-request/341'
  Merge branch 'pull-request/341'
2013-06-10 14:31:57 -07:00
Anatol Belski d7c943e2a1 Merge branch 'PHP-5.5'
* PHP-5.5:
  split the test for 32 and 64 bit
2013-06-10 22:49:56 +02:00
Stanislav Malyshev 09bc6d7cf6 Merge branch 'PHP-5.5'
* PHP-5.5:
  typo fixes (argument)
  typo fixes (accommodate, parameter)
2013-06-10 13:37:56 -07:00
Anatol Belski 00495d160b Merge branch 'PHP-5.5'
* PHP-5.5:
  missing colon
2013-06-10 19:55:51 +02:00
Anatol Belski 464ad59a3b Merge branch 'PHP-5.5'
* PHP-5.5:
  Backported the fix for bug #53437
  Backported the fix for bug #53437
2013-06-10 19:53:27 +02:00
Anatol Belski b80b8373af Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed the test
2013-06-10 18:31:40 +02:00
Anatol Belski 44d9060648 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix a BC breach related to bug #53437
2013-06-10 17:50:13 +02:00
Xinchen Hui 1689a7fe98 Merge branch 'PHP-5.5' 2013-06-10 21:33:47 +08:00
Stanislav Malyshev 9069d4081d Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix image method signatures
2013-06-10 02:24:10 -07:00
Jakub Vrana b787fdebba Fix image method signatures 2013-06-10 02:13:13 -07:00
Dmitry Stogov 36dc1ed4b0 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  PHPTests for the DOMDocument::loadHTMLfile method. They cover - The basic behaviour - When the method receives as argument a file which doesn't exist - When the argument is an empty string - When an empty file is loaded - When a not-well formed html file is loaded
  Fix spelling and correct typo.
  Fix spelling and correct typo.
2013-06-10 12:57:36 +04:00
Dmitry Stogov 56c9a2f4f6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed test script
2013-06-10 12:56:33 +04:00
Stanislav Malyshev 1355908149 Merge branch 'PHP-5.5'
* PHP-5.5:
  PHPTests for the DOMDocument::loadHTMLfile method. They cover - The basic behaviour - When the method receives as argument a file which doesn't exist - When the argument is an empty string - When an empty file is loaded - When a not-well formed html file is loaded
2013-06-10 01:53:36 -07:00
Stanislav Malyshev f9822bd099 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix spelling and correct typo.
2013-06-10 01:42:41 -07:00
Stanislav Malyshev 8697c27000 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix spelling and correct typo.
2013-06-10 01:41:26 -07:00
Dmitry Stogov 14a943ae86 Merge branch 'PHP-5.5'
* PHP-5.5:
  Callback has to be restored in MSHUTDOWN
2013-06-10 12:34:34 +04:00
Dmitry Stogov 738dfc69e7 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed comments
2013-06-10 12:06:14 +04:00
Dmitry Stogov 95d88cc66a Merge branch 'PHP-5.5'
* PHP-5.5:
  Avoid multiple allocations of the same key in different processes
2013-06-10 11:44:54 +04:00
Dmitry Stogov 456ef2ebfa Merge branch 'PHP-5.5'
* PHP-5.5:
  Compact HashTables before storing them in shared memory

Conflicts:
	ext/opcache/ZendAccelerator.c
2013-06-10 11:25:41 +04:00
Dmitry Stogov 841e1f0364 Merge branch 'PHP-5.5'
* PHP-5.5:
  Use size_t instead of int
2013-06-10 10:37:53 +04:00
Xinchen Hui 00c7440b81 Merge branch 'PHP-5.5' 2013-06-09 22:26:18 +08:00
Xinchen Hui afe547d335 Merge branch 'PHP-5.5' 2013-06-09 14:26:16 +08:00
Xinchen Hui 4600578830 Merge branch 'PHP-5.5' 2013-06-09 13:50:06 +08:00
Matteo Beccati 2c0f09540e Fixed signedness warning 2013-06-07 09:38:58 +02:00
Matteo Beccati a649f42b20 NEWS 2013-06-07 09:36:54 +02:00
Matteo Beccati 19ead23e8e Fixed bug #63657 (pgsqlCopyFrom/To methods use Postgres < 7.3 syntax)
Although still supported (for now), I've replaced with pre-9.0 syntax.
Still not cutting edge, but it works with any version PDO_pgsql is
compatible with (7.4+) and will possibly keep working for longer than
what we already had.
2013-06-07 09:36:54 +02:00
Matteo Beccati 2f7f34374c NEWS 2013-06-07 09:36:53 +02:00
Stanislav Malyshev fbf1dff674 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix 5.4.16 date
2013-06-06 13:27:39 -07:00
Anatol Belski 73c627ccd5 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix NEWS
2013-06-06 18:58:23 +02:00
Anatol Belski c6b569011a Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  updated NEWS
  Fixed bug #64934 Apache2 TS crash with get_browser()
2013-06-06 18:53:41 +02:00
David Soria Parra 83580ea956 Merge branch 'PHP-5.5'
* PHP-5.5:
  News update
  PHP 5.5.0RC3 NEWS
2013-06-05 23:09:27 +02:00
Johannes Schlüter 9a9f42767d Merge branch 'PHP-5.5' 2013-06-05 16:35:27 +02:00
Xinchen Hui ecfc3599a7 Merge branch 'PHP-5.5' 2013-06-05 17:32:09 +08:00
Stanislav Malyshev 3c8c200d0a Merge branch 'PHP-5.5'
* PHP-5.5:
  fix CVE-2013-2110 - use correct formula to calculate string size
2013-06-04 22:01:02 -07:00
Matteo Beccati b62b8b4528 Fixed Bug #42614 (PDO_pgsql: add pg_get_notify support) 2013-06-05 01:58:55 +02:00
Matteo Beccati baabd11929 Refactored custom PDO_pgsql methods to trigger errors/exceptions
BC Break: the custom methods were previously just return false on
failure. Now they throw an exception with a proper error message.
An hopefully welcome improvement, but some application might be
depending on the old behaviour. FWIW the PDO::pgsqlCopy* methods
are not documented, even though they are available since 5.3.x.
2013-06-05 01:58:37 +02:00
Matteo Beccati 1e36e45d97 Allow PDO drivers custom methods to trigger errors/exceptions
Moved a few definitions from php_pdo_int.h to a new php_pdo_error.h
header file that can be included if drivers need PDO's own error
handling to be triggered within custom methods (e.g. PDO::pgsqlLOBOpen).
2013-06-04 16:49:16 +02:00
Stanislav Malyshev b144c26319 Merge branch 'PHP-5.5'
* PHP-5.5:
  news for dblib fixes
  FIX BUG #55647, #60512, #60512, #61900, #64338, #64808, #63638
  Fix PDO_DBLIB bugs: #64338, #64808, #63638

Conflicts:
	ext/pdo_dblib/dblib_driver.c
	ext/pdo_dblib/dblib_stmt.c
2013-06-03 22:03:25 -07:00
Remi Collet 57dd91be82 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug #64962 	imagerotate produce corrupted image
2013-06-03 15:02:43 +02:00
Remi Collet 809b13d67b Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  Fixed Bug #64961 segfault in imagesetinterpolation
2013-06-03 14:17:22 +02:00
Matteo Beccati 760099c2e6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Clean up leftover test files
  Improved test portability so that it doesn't fail with pdo_pgsql
  Fix PDO::inTransaction() test for pgsql
2013-06-02 13:39:45 +02:00
Matteo Beccati ab25fcb2a1 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64609 (pg_convert enum type support)
2013-06-02 06:34:14 +02:00
Matteo Beccati 924605eeb4 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #62857 (bytea test failures)
2013-06-01 23:23:31 +02:00
Stanley Sufficool c34a2757db FIX BUG #55647
PDO DBLIB was returning false if there were no results after a
statement was executed. This should be the fetch methods response
not the execute method response.
2013-06-01 00:38:09 -07:00
Stanley Sufficool d9be9e0231 FIX BUG #60512 (the correct way this time)
Last fix just truncated the password. This fixes the message
handler per the bug report.
2013-06-01 00:03:44 -07:00
Stanley Sufficool 3b54de3db0 FIX BUG #60512
FreeTDS will segfault when passwords over 30 characters are used.
Truncate the password and let the server return an error if the
password is still invalid.
2013-05-31 23:58:16 -07:00
Stanley Sufficool 317653e694 FIX BUG #61900
PDO DBLIB was not setting error and message handlers when FreeTDS was used.
Updated to set error and message handlers the same way as mssql.
2013-05-31 23:24:57 -07:00
Stanley Sufficool 0e2bcf3373 FIX BUG #64338, #64808, #63638
PDO DBLIB would segfault on getcolumn meta when colno was
out of bounds. DBLIB connection specified null arg to dbsetopt
per Microsoft technical docs, but FreeTDS complains. The SQL USE
statement was invalid for SQL Azure, use DBSETLDBNAME instead.
2013-05-31 22:53:08 -07:00
Matteo Beccati d22c7368e7 Merge branch 'PHP-5.5' 2013-05-31 16:27:16 +02:00
Remi Collet f8b4c0815a Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  NEWS
  Fixed Bug #64949 (Buffer overflow in _pdo_pgsql_error)
  Use size_t everywhere instead
  This needs to be a long Otherwise we are limited to a 32G opcache segment
2013-05-31 08:46:18 +02:00
Stanley Sufficool 0074cd2675 pdo_dblib: fix bug #64522DBLIB statement destructor was being called late and clobbered results from subsequent statement objects sharing the same connection 2013-05-30 21:59:00 -07:00
Rasmus Lerdorf e02add77fc Use size_t everywhere instead 2013-05-29 14:34:22 -07:00
Rasmus Lerdorf 80c13e9965 This needs to be a long
Otherwise we are limited to a 2G opcache segment
2013-05-29 14:26:42 -07:00
Dmitry Stogov 029c1da846 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed incorrect argument number
2013-05-29 11:15:27 +04:00
Dmitry Stogov 9e019f1099 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Fix #64745 hash_pbkdf2 truncation issue
2013-05-29 00:02:13 +04:00
Dmitry Stogov 458f02c471 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed crash during search in empty persistent HashTable
2013-05-29 00:01:35 +04:00
Anthony Ferrara 2129c70896 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix #64745 hash_pbkdf2 truncation issue
2013-05-28 15:38:11 -04:00
Pierre Joye 8059ec1832 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix #64898imagerotate is broken with bilinear interpolation
2013-05-27 09:22:00 +02:00
Anatol Belski 6e081f8a82 Merge branch 'PHP-5.5'
* PHP-5.5:
  reduced the file size even more
2013-05-25 00:11:09 +02:00
Anatol Belski 3a3828669f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64916 finfo testcase contains copyrighted music.
2013-05-25 00:02:34 +02:00
Remi Collet 76ad52ccc5 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  Fixed Bug #64915 (error_log ignored when daemonize=0)
2013-05-24 12:11:16 +02:00
David Soria Parra cd23df35b2 Merge branch 'PHP-5.5'
* PHP-5.5:
  News for upcoming RC3 if necessary
  News for RC2
2013-05-23 00:57:30 +02:00
Johannes Schlüter 925a71e583 Merge branch 'PHP-5.5' 2013-05-22 17:20:49 +02:00
Remi Collet 88db679742 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  NEWS
  Fixed bug #64895 Integer overflow in SndToJewish
2013-05-22 08:30:00 +02:00
Stanislav Malyshev 7b0d91643b Merge branch 'PHP-5.5'
* PHP-5.5:
  merge NEWS from 5.3
  fix order
2013-05-21 23:26:40 -07:00
Sara Golemon ee366ea516 Merge branch 'PHP-5.5'
* PHP-5.5:
  Don't double-quote name of namespaced function.
2013-05-19 13:35:09 -07:00
Remi Collet 57b35f1b0d Merge branch 'PHP-5.5'
* PHP-5.5:
  Integer overflow in SndToJewish leads to php hang AT least in (inputDay is long, metonicCycle is int):    metonicCycle = (inputDay + 310) / 6940;
2013-05-21 18:09:22 +02:00
Andrey Hristov e19b7c2b57 Merge branch 'PHP-5.5' 2013-05-21 13:28:09 +02:00
Remi Collet 07c58d4191 Merge branch 'PHP-5.5'
* PHP-5.5:
  UPGRADING
2013-05-21 12:32:23 +02:00
Remi Collet 6dc95b4df3 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  Add --with-fpm-systemd option to report health to systemd, and systemd_interval option to configure this. The service can now use Type=notify in the systemd unit file.
2013-05-21 09:54:54 +02:00
Dmitry Stogov bf146ad5b5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64720 (SegFault on zend_deactivate)

Conflicts:
	NEWS
2013-05-21 10:33:57 +04:00
Stanislav Malyshev 1c41a495d4 Merge branch 'PHP-5.5'
* PHP-5.5:
  add reporter
2013-05-20 02:02:46 -07:00
Stanislav Malyshev 3ce366b7cd Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #64660 - yyparse can return 2, not only 1
2013-05-20 00:58:12 -07:00
Stanislav Malyshev fe1c83925c Merge branch 'PHP-5.5'
* PHP-5.5:
  fix 5.4.16 relase date
2013-05-19 23:55:45 -07:00
Pierre Joye 9ef6b30dc3 Merge branch 'PHP-5.5'
* PHP-5.5:
  entry for #64214
  other fix for #64214, unmodified file may not have old fp set, causing other possible crashes
2013-05-17 11:51:18 +02:00
Dmitry Stogov 76516701ae Added missing ZE/OPcache related entries 2013-05-17 13:35:32 +04:00
Johannes Schlüter 22da0b7364 Recover NEWS
Apperently wrongly merged in revision 488933792a
2013-05-17 11:22:04 +02:00
Dmitry Stogov 273ad58295 Improved IS_VAR operands fetching 2013-05-17 13:15:09 +04:00
Sara Golemon cfd1045822 Add optional second arg to unserialize()
Returns the number of bytes consumed by reference for
streaming unserialization.

Actual unserialization behavior is not modified at all.

The need for this came up while trying to parse SplDoublyLinkedList's
serialization format which uses a non-standard stream of serialized values.
2013-05-16 15:18:35 -07:00
Anatol Belski bc656cde04 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed error handling for ext/sockets under win
2013-05-16 19:29:42 +02:00
Anatol Belski 2933f77e39 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  Fixed bug #64853Use of no longer available ini directives causes crash on TS build
2013-05-16 08:45:02 +02:00
Pierre Joye f5d5a50a1c Merge branch 'PHP-5.5'
* PHP-5.5:
2013-05-15 15:55:20 +02:00
Pierre Joye ebadc02273 Merge branch 'master' of git.php.net:php-src 2013-05-15 15:55:13 +02:00
David Soria Parra c5841f8cb7 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix array_colum segfault
2013-05-15 14:43:03 +02:00
Anatol Belski 8fa8591cfa Merge branch 'PHP-5.5'
* PHP-5.5:
  fixe preprocessor definition
2013-05-15 14:24:46 +02:00
Anatol Belski d8e44e3d70 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix unitialized vars when sql.safe_mode=1
  more check for php_stream_fopen_tmpfile failure
2013-05-15 11:17:57 +02:00
Pierre Joye 3ed4bf8fd9 Merge branch 'PHP-5.5'
* PHP-5.5:
  more check for php_stream_fopen_tmpfile failure
2013-05-14 16:46:40 +02:00
Andrey Hristov 09cc4484a2 Merge branch 'master' of ssh://git.php.net/php-src 2013-05-14 12:57:19 +02:00
Andrey Hristov 47c5ba4c0c Merge branch 'PHP-5.5'
Conflicts:
	NEWS
2013-05-14 12:57:02 +02:00
Anatol Belski b1480987f9 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated libmagic.patch after fix for #64830
2013-05-14 11:16:17 +02:00
Anatol Belski 4206e2d870 Merge branch 'master' of git.php.net:php-src 2013-05-14 09:44:36 +02:00
Anatol Belski 1f2e0cb8f5 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  Fixed bug #64830 mimetype detection segfaults on mp3 file
2013-05-14 09:42:57 +02:00
Pierre Joye bb5f8626eb Merge branch 'PHP-5.5'
* PHP-5.5:
  php_stream_fopen_tmpfile may file, causing any following stream usage to crash
2013-05-14 09:21:38 +02:00
Anatol Belski 65fda25024 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix heap overflow warnings on win x64 debug crt
2013-05-13 14:27:12 +02:00
Anatol Belski 39d48c4bfa Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64825 Invalid free unserializing DateTimeZone
2013-05-12 21:30:21 +02:00
Anatol Belski 1477471f6c Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  updated NEWS
  Fixed bug #64821 Custom Exceptions crash when internal properties overridden
2013-05-12 14:10:24 +02:00
Anatol Belski cf72450c88 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed variable corruption under win x64
2013-05-11 02:48:24 +02:00
jas- 525e27e1e5 Fix for challenge string length pointed out by Kalle Nielsen 2013-05-06 18:43:13 -06:00
jas- 8f56ac8401 Address feature request #38917 for native SPKAC (HTML5 keygen element) support 2013-05-06 16:36:06 -06:00
Xinchen Hui da07e91c3a Merge branch 'PHP-5.5' 2013-05-09 15:57:56 +08:00
Gustavo Lopes ab9a3ca669 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #64506: fix build with --disable-ipv6
2013-05-08 19:58:43 +02:00
Gustavo Lopes ab38bf1931 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #64506: fix build with --disable-ipv6
2013-05-08 19:57:23 +02:00
Gustavo Lopes 6f3c3862ca Fix bug #64506: fix build with --disable-ipv6 2013-05-08 19:56:40 +02:00
Anatol Belski 3a8776a288 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed news, rc1 is already branched
  Fixed bug #64769 mbstring PHPTs crash on Windows x64
2013-05-08 19:26:04 +02:00
Anatol Belski 506ecc0a73 Merge branch 'master' of git.php.net:php-src 2013-05-08 19:19:24 +02:00
Anatol Belski 5490fe2402 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64769 mbstring PHPTs crash on Windows x64
2013-05-08 19:18:00 +02:00
Anatol Belski d2a784baa6 Fixed bug #64769 mbstring PHPTs crash on Windows x64
The tricky business going there in oniguruma is saving a pointer
in an int variable, passing that variable into a function and making
it a pointer again. On 64bit windows casting a pointer to a 32 bit
int will truncate that pointer. This kind of things won't work on
Windows x64.

[SNIPPET]
unsigned long ul0[2], ul1, *ul2;

ul0[0] = 42uL;
ul0[0] = 24uL;

ul1 = (unsigned long)ul0;
ul2 = (unsigned long *)ul1;

/* now it's broken, accessing ul2[0] will crash. */
[/SNIPPET]

To make it portable, ULONG_PTR should be used in this case.

In oniguruma this behaviour is to see at least in the following
codepath:

ext/mbstring/oniguruma/enc/unicode.c:10938
ext/mbstring/oniguruma/st.c:308
ext/mbstring/oniguruma/enc/unicode.c:10859
2013-05-08 18:58:32 +02:00
David Soria Parra f10fc6fcee Merge branch 'PHP-5.5'
* PHP-5.5:
  News for RC2
  NEWS for RC1
2013-05-08 18:57:23 +02:00
Johannes Schlüter 7cf806a033 Merge branch 'PHP-5.5' 2013-05-08 18:03:53 +02:00
Remi Collet 70e0118b1b Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64785 : restore 5.4 behaviour, libpng is mandatory
2013-05-08 07:37:46 +02:00
Ard Biesheuvel 046594caad Merge branch 'PHP-5.5' 2013-05-07 22:08:24 +02:00
Remi Collet f5973141af Merge branch 'PHP-5.5'
* PHP-5.5:
  gd: fix 2 failed tests (bundled lib) due to arithmetic precision (allow minor diff).
2013-05-06 10:25:41 +02:00
Remi Collet 9b30ee7e0b Merge branch 'PHP-5.5'
* PHP-5.5:
  gd: fix previous (bad include)
2013-05-06 10:07:11 +02:00
Remi Collet 03091c834c Merge branch 'PHP-5.5'
* PHP-5.5:
  Revert removal of overflow2 use in gd.c Function provided by gd_security with bundled libgd Function provided by gd_compat with system libgd
2013-05-06 10:02:34 +02:00
Remi Collet 76665ca070 Merge branch 'PHP-5.5'
* PHP-5.5:
  gd: fix include...
2013-05-05 10:39:37 +02:00
Remi Collet 87de7b353b Merge branch 'PHP-5.5'
* PHP-5.5:
  Move (back) missing functions in system libgd to gd_compat - display libPng version in all cases - gd_compat.c in ext/gd (nothing in ext/gd/libgd)
2013-05-05 09:56:52 +02:00
Remi Collet e7ffb77341 Merge branch 'PHP-5.5'
* PHP-5.5:
  gd: don't include png.h (breaks build on some old version), so report libPNG version only with external libgd
2013-05-05 08:35:34 +02:00
Remi Collet a47c5ed855 Merge branch 'PHP-5.5'
* PHP-5.5:
  gd: missing comma
2013-05-05 06:52:35 +02:00
Remi Collet dca2cd2f98 Merge branch 'PHP-5.5'
* PHP-5.5:
  gd: fix typo and cleanups
2013-05-04 20:36:42 +02:00
Remi Collet 71e76816ce Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  fix build with bundled libgd
  Move png and jpeg version functions to gd.c so the external library build doesn't include anything from libgd/.
  Remove extra unused functions from gd_compat.h
  Rewrite Xpm library check so it doesn't break on MultiArch systems
  Required GD >= 2.1.0 or GD bundled, this allows us to remove most of the #ifdef
  * Remove overflow2, getmbi and skipheaders from gd_compat.h * Add missing return in _php_ctx_getmbi * Reintroduce imagecreatefromxbm by checking for gdCreateImageFromXbm
  Remove overflow2, getmbi and skipheader, since they are not needed anymore.
  Allow to use new GD-2.1.0 function from system library
2013-05-04 16:54:46 +02:00
Xinchen Hui d6de58d7e4 Merge branch 'PHP-5.5' 2013-05-04 20:45:07 +08:00
Anatol Belski a14a809aff Merge branch 'PHP-5.5'
* PHP-5.5:
  better fix for bug #64770
  better fix for bug #64770
2013-05-04 12:20:36 +02:00
Boris Lytochkin 98063b6531 Merge branch 'PHP-5.5'
* PHP-5.5:
  remove OS-specific OIDs from 'WALK multiple on single OID with OID suffix as keys' test part
2013-05-04 00:06:15 +04:00
Boris Lytochkin 7f5a4cd70a Merge branch 'PHP-5.5'
* PHP-5.5:
  re-work walkaround for net-snmp BUGid 2027834, no need to detect it anymore add test for Bug #64159 bump default buffer size for values(32->512): do not reallocate buffers in 99% cases
  cut PHP_VERSION_ID - we know API version now
2013-05-03 23:22:27 +04:00
Boris Lytochkin 86fbf51ac1 Merge branch 'master' of https://git.php.net/push/php-src
* 'master' of https://git.php.net/push/php-src:
  updated NEWS
  updated NEWS
  Fixed bug #64770 stream_select() fails with pipes
2013-05-03 19:25:33 +04:00
Anatol Belski 88c83469b5 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  updated NEWS
  Fixed bug #64770 stream_select() fails with pipes
2013-05-03 17:06:16 +02:00
Boris Lytochkin cdba4ee320 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64159 (Truncated snmpget)
  Fixed bug #64159 (Truncated snmpget)
2013-05-03 15:47:29 +04:00
Boris Lytochkin 1e5bcd4cf5 Merge branch 'PHP-5.5'
* PHP-5.5:
  update NEWS
  update NEWS
  Fix bug #64765 (enclose IPv6 address into square brackets)
2013-05-03 12:26:16 +04:00
Boris Lytochkin ae54e37793 Merge branch 'master' of https://git.php.net/push/php-src
* 'master' of https://git.php.net/push/php-src: (346 commits)
  NEWS
  NEWS
  NEWS
  From code coverity scan, syscall return value must be check.
  fix more resource leaks
  From code coverity scan - fix some memory leak - fix some resources leak (fd) - create fpm_worker_pool_free (shared use) - possible null dref (wp->user and wp->home can be null)
  fixed size array cannot be null
  use limit_extensions as we use security_limit_extensions later (free)
  unused variable
  fix possible null deref (detected by code coverity scan)
  updated lib versions
  Oops
  Harden loopback tests
  Fix race condition when ext/hash/tests run in parallel
  Remove trailing space in NEWS
  NEWS for 514afd67
  Fix bug #64729: compilation failure on x32
  don't include smart_str.h in a too global header, fixes #64718
  NEWS
  When Apache use RewriteRule to redirect, via mod_proxy_fgi, to php-fpm the SCRIPT_FILENAME may contains the QUERY_STRING.
  ...
2013-05-03 11:23:20 +04:00
Remi Collet 3db066759f Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  NEWS
  NEWS
2013-05-03 08:31:45 +02:00
Remi Collet 570290e208 Merge branch 'PHP-5.5'
* PHP-5.5:
  From code coverity scan, syscall return value must be check.
2013-05-03 08:23:20 +02:00
Remi Collet adf9ecfd4f Merge branch 'PHP-5.5'
* PHP-5.5:
  fix more resource leaks
2013-05-02 13:47:58 +02:00
Remi Collet d583064a51 Merge branch 'PHP-5.5'
* PHP-5.5:
  From code coverity scan - fix some memory leak - fix some resources leak (fd) - create fpm_worker_pool_free (shared use) - possible null dref (wp->user and wp->home can be null)
2013-05-02 13:31:38 +02:00
Remi Collet ecb17b9a2d Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed size array cannot be null
2013-05-02 10:33:14 +02:00
Remi Collet 59820266c3 Merge branch 'PHP-5.5'
* PHP-5.5:
  use limit_extensions as we use security_limit_extensions later (free)
  unused variable
2013-05-02 10:16:01 +02:00
Remi Collet db9cfd7a82 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix possible null deref (detected by code coverity scan)
  Remove trailing space in NEWS
  NEWS for 514afd67
2013-05-02 09:39:06 +02:00
Anatol Belski 06f104aab9 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated lib versions
2013-05-01 21:38:17 +02:00
Sara Golemon e836f8e38f Oops 2013-04-30 19:43:52 -07:00
Sara Golemon e217db8e69 Harden loopback tests
These tests depend on being able to bind port 31337.
Try a range of ports until one binds or we give up trying.
2013-04-30 19:30:55 -07:00
Sara Golemon 6aefaad46e Fix race condition when ext/hash/tests run in parallel 2013-04-30 16:28:37 -07:00
Gustavo Lopes 734cb61f81 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #64729: compilation failure on x32
2013-04-30 19:38:00 +02:00
Johannes Schlüter bfb787b16f Merge branch 'PHP-5.5' 2013-04-30 14:28:18 +02:00
Remi Collet bd77763889 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  When Apache use RewriteRule to redirect, via mod_proxy_fgi, to php-fpm the SCRIPT_FILENAME may contains the QUERY_STRING.
2013-04-30 09:03:28 +02:00
Dmitry Stogov 4558533ef3 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  fix #64738, fix implicit type declaration
2013-04-30 10:26:57 +04:00
Dmitry Stogov a9679227cf Merge branch 'PHP-5.5'
* PHP-5.5:
  Added SoapClient constructor option 'ssl_method' to specify ssl method
2013-04-30 10:26:29 +04:00
Pierre Joye fc666bdb83 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix #64738, fix implicit type declaration
2013-04-30 08:03:46 +02:00
Dmitry Stogov 05a88447ad Merge branch 'PHP-5.5'
* PHP-5.5:
  Avoid possible conditional jump depended on uninitialised value
2013-04-29 10:46:54 +04:00
Dmitry Stogov 3f48e8765d Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed compilation warnings (issue #92)
2013-04-29 10:32:50 +04:00
Stanislav Malyshev 4aecf0eb66 Merge branch 'PHP-5.5'
* PHP-5.5:
  Revert "Add CURL_WRAPPERS_ENABLE constant"
2013-04-28 22:28:53 -07:00
David Soria Parra 6bac9bb1e8 Merge branch 'PHP-5.5'
* PHP-5.5:
  Revert "Fix conversion from unsigned char to char"
2013-04-29 02:28:46 +02:00
Pierre Joye 03ab53b213 Merge branch 'master' of git.php.net:php-src 2013-04-27 17:59:40 +02:00
Pierre Joye eaec5522ff Merge branch 'PHP-5.5'
* PHP-5.5:
  fix #64725, wrong res check
2013-04-27 17:52:38 +02:00
Xinchen Hui 24a26df1f8 Merge branch 'PHP-5.5' 2013-04-27 23:50:29 +08:00
Xinchen Hui 9555531eea Merge branch 'PHP-5.5' 2013-04-27 23:42:34 +08:00
Anatol Belski 35364cd71d Merge branch 'PHP-5.5'
* PHP-5.5:
  updated libmagic.patch
2013-04-27 14:10:09 +02:00
Anatol Belski 232f5d0306 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug bug #64713 Compilation warnings in finfo
2013-04-27 13:51:31 +02:00
David Soria Parra e0e18a2b1d Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix implicit declaration warning for cdf_timestamp_to_timespec
  Fix #64711 ("value computed but not used" in parse_date.c)
  Fix implicit uint* to int* conversion warning
  Fix conversion from unsigned char to char
  Fix #64712 (Obsolete declarations in php_date.c)
2013-04-26 12:41:08 +02:00
Pierre Joye bba7f8aa31 Merge branch 'PHP-5.5'
* PHP-5.5:
  - #64710, check return val
  - #64710, kill unused var
  #64710, kill unused vars
  #64710, kill unused vars
  #64710, kill unused vars
  #64710, kill unused vars
  #64710, kill unused vars
  #64710, Implicit declaration
2013-04-26 08:16:02 +02:00
Pierre Joye fde3198daa Merge branch 'master' of git.php.net:php-src 2013-04-26 06:40:42 +02:00
Matt Ficken d35822b4fa Merge branch 'PHP-5.5'
* PHP-5.5:
  Adding sys_get_temp_dir() test specific for Windows.
2013-04-25 14:55:50 -07:00
Anatol Belski df236828b5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed float precision change under Windows x64
2013-04-25 23:01:13 +02:00
Matt Ficken 67a72ceb93 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix Test Bug #64714
2013-04-25 11:37:36 -07:00
Johannes Schlüter 488933792a Merge branch 'PHP-5.5' 2013-04-25 18:05:56 +02:00
ptarjan 22f6b6dbec Fix zlib/tests/gzseek to create unique temporary files
When running tests in parallel these create a race condition.
Race conditions are bad.
2013-04-24 01:06:55 -07:00
David Soria Parra 4c0746228d Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for RC1
  NEWS for PHP 5.5.0 Beta 4 again
  Fix curl build on windows
2013-04-25 08:25:10 +02:00
Remi Collet b0cf340eef Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64707 missing declaration after dd0399f
2013-04-25 06:41:01 +02:00
Pierrick Charron dec5324d5e Merge branch 'PHP-5.5'
* PHP-5.5:
  Update NEWS file
2013-04-24 13:27:06 -04:00
Stanislav Malyshev aa2b3a4b31 Merge branch 'PHP-5.5'
* PHP-5.5:
  5.4.16-dev
2013-04-24 10:17:11 -07:00
Remi Collet e12abebf50 Merge branch 'PHP-5.5'
* PHP-5.5:
  gd: missing headers in previous
  allow use of gdImageCreateFromJpegEx with system libgd
2013-04-24 16:16:25 +02:00
Remi Collet 5897696a02 Merge branch 'PHP-5.5'
* PHP-5.5:
  We need both gdImageCreateFromJpeg* and gdImageCreateFromJpeg*Ex
  gd: fix proto comment
2013-04-24 16:11:34 +02:00
Remi Collet 7264179eef gd: fix proto comment 2013-04-24 14:43:59 +02:00
Anatol Belski d07b7c2fc0 Merge branch 'master' of git.php.net:php-src 2013-04-24 14:36:41 +02:00
Anatol Belski fba7c8491b Merge branch 'PHP-5.5'
* PHP-5.5:
  Removed fork of ext/zlib/tests/bug_52944.phpt
2013-04-24 14:35:34 +02:00
Remi Collet 1d72ea493d Merge branch 'PHP-5.5'
* PHP-5.5:
  gd: provide imageflip with system libgd when available
2013-04-24 14:32:09 +02:00
David Soria Parra 0f0cfaebd0 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for RC 1
  NEWS for beta 4
2013-04-24 12:57:24 +02:00
Stanislav Malyshev ef0d71092b Merge branch 'PHP-5.5'
* PHP-5.5:
  update credits
2013-04-23 22:03:55 -07:00
Stanislav Malyshev 50800356af Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #64458 (dns_get_record result with string of length -1)
2013-04-23 21:46:27 -07:00
Pierrick Charron 74394733ed Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove curl wrappers
2013-04-23 17:01:50 -04:00
Dmitry Stogov 302de03a5a Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed incorrect check. SEND_REF may be executed before DO_FCALL when EX(function_state).function is not yet set to the calling function.
2013-04-24 00:04:00 +04:00
Remi Collet 92a1640694 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix copy/paste in error message
2013-04-23 13:53:07 +02:00
Remi Collet 2fa178fa41 Merge branch 'PHP-5.5'
* PHP-5.5:
  enable WebP with system libgd when available
  (re)allow WBMP detection with system libgd provide getbmi and skipheader not exported functions in gd_compat.
2013-04-23 13:46:24 +02:00
Sara Golemon 231e2d762a Merge branch 'PHP-5.5'
* PHP-5.5:
  array_column() - Use entire subject array when NULL passed for second param.
2013-04-22 16:20:41 -07:00
Sara Golemon 35df484b5b Merge branch 'PHP-5.5'
* PHP-5.5:
  Allow array_column() to take -1 as a valid value in third param
2013-04-22 15:55:38 -07:00
Sara Golemon caff01e751 Merge branch 'PHP-5.5'
* PHP-5.5:
  Harden array_column_basic.phpt against resource renumbering.
2013-04-22 13:37:36 -07:00
Sara Golemon 70c700cf8c Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix handling of double keys in array_column
2013-04-21 23:33:20 -07:00
Anatol Belski 8645309c4e Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  updated NEWS
  Fixed stream_socket_pair() on Windows x64 and
2013-04-22 19:01:07 +02:00
Derick Rethans cf0d902a84 Merge branch 'PHP-5.5' 2013-04-22 17:51:50 +01:00
Remi Collet 41ef288ced Merge branch 'PHP-5.5'
* PHP-5.5:
  temporary disable WBM detection with system libgd, as gdGetC, getmbi and skipheader not exported
2013-04-22 17:48:43 +02:00
Remi Collet 149cf2650a Merge branch 'PHP-5.5'
* PHP-5.5:
  overflow2 is not exported by system libgd
2013-04-22 17:39:54 +02:00
Dmitry Stogov 9ca60e2444 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed linkage with C++
  Includes 5 new phpTests to check that the error message DOM_NOT_FOUND is properly raised by the method DOMNode::insertBefore(newNode, [refNode]).
2013-04-22 15:40:46 +04:00
Xinchen Hui 0c1ef6898d Merge branch 'master' of https://github.com/dejalatele/php-src 2013-04-21 11:04:27 +08:00
Pierre Joye 39d203afb0 Merge branch 'PHP-5.5'
* PHP-5.5:
2013-04-20 18:25:27 +02:00
Pierre Joye d818fdcc47 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix x64 opcache, still uses fugly fixed addresses, see TODO entry for explanaton
2013-04-20 18:23:21 +02:00
Antonio Diaz Ruiz eebe602c58 Merge branch 'master' of https://github.com/dejalatele/php-src 2013-04-20 16:37:45 +02:00
Antonio Diaz Ruiz 9bf80bc294 Includes 5 new phpTests to check that the error message DOM_NOT_FOUND is properly raised by the method DOMNode::insertBefore(newNode, [refNode]).
Each file covers a different test case

    DOMNode_insertBefore_error2.phpt: refNode is a sibling of the node where newNode wanted to be inserted.
    DOMNode_insertBefore_error3.phpt: refNode is the parent of the node where newNode wanted to be inserted.
    DOMNode_insertBefore_error4.phpt: refNode is a brand new node.
    DOMNode_insertBefore_error5.phpt: refNode is a descendant (not child) of the node where newNode wanted to be inserted.
    DOMNode_insertBefore_error6.phpt: refNode is the node where newNode wanted to be inserted.
2013-04-20 16:28:46 +02:00
Xinchen Hui 2bcbe8fab9 Merge branch 'PHP-5.5' 2013-04-20 15:24:48 +08:00
Dmitry Stogov 1fe5ee4d6a Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed 5.2 ZTS build
2013-04-19 21:44:00 +04:00
Andrey Hristov 6ce68583be Merge branch 'PHP-5.5' 2013-04-19 16:47:47 +02:00
Dmitry Stogov fc2f2f7813 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Fix other typos & add test script
  Fix typo
  - Fixed ZTS build
2013-04-19 10:48:46 +04:00
Dmitry Stogov 1074bbd5a3 Fixed ZTS build 2013-04-19 10:48:21 +04:00
Dmitry Stogov 0040aa29b9 Fixed ZTS build 2013-04-19 10:43:00 +04:00
Xinchen Hui 676e737f5b Fix other typos & add test script 2013-04-19 11:21:44 +08:00
Xinchen Hui 580d6fe94d Fix typo 2013-04-19 10:55:11 +08:00
Felipe Pena 1192cfa58c - Fixed ZTS build 2013-04-18 19:27:02 -03:00
Dmitry Stogov 3735d96ce0 Disable FCALL optimization pass for PHP older than 5.4
Added an optimization pass to convert FCALL_BY_NAME into DO_FCALL.
2013-04-18 22:26:37 +04:00
Dmitry Stogov 60a59d27b4 Disable FCALL optimization pass for PHP older than 5.4 2013-04-18 22:22:48 +04:00
Dmitry Stogov edfeab8bf2 Added an optimization pass to convert FCALL_BY_NAME into DO_FCALL. 2013-04-18 22:12:31 +04:00
Dmitry Stogov 7deb3d41eb Merge branch 'PHP-5.5' into PHP-5.5-opcache
* PHP-5.5:
  Fixed compiler warning "cast from pointer to integer of different size"
2013-04-18 14:19:17 +04:00
Xinchen Hui 0acdeec743 Merge branch 'PHP-5.5' 2013-04-18 17:33:21 +08:00
Dmitry Stogov 5cdc71ae07 Optimizer may hide some repeating error messages 2013-04-18 11:54:27 +04:00
Dmitry Stogov 26c761915b Optimizer may hide some repeating error messages 2013-04-18 11:53:44 +04:00
Dmitry Stogov 745531b120 Merge identical constants (and related cache_slots) in op_array->literals table. 2013-04-18 10:50:40 +04:00
Dmitry Stogov 2bfb523f45 Merge identical constants (and related cache_slots) in op_array->literals table. 2013-04-18 10:48:16 +04:00
Antonio Diaz Ruiz 4ee47678a0 Fixs the name of the variable in the assertion 2013-04-17 23:06:36 +02:00
Antonio Diaz Ruiz 8a019f3882 Using absolute path to get the file note.xml 2013-04-17 22:30:04 +02:00
Antonio Diaz Ruiz b41145bc5c Fix the path of the book.xml file 2013-04-17 22:09:05 +02:00
Dmitry Stogov 36d343c0c4 Merge branch 'PHP-5.5' into PHP-5.5-opcache
* PHP-5.5:
  Initialize literals hash_value and cache_slot
  Added curl config test for windows
  updated lib versions
  updated lib versions
  fixed EOL
  updated lib versions
  allow lcov 1.10
  allow lcov 1.10

Conflicts:
	ext/opcache/Optimizer/zend_optimizer.c
2013-04-17 21:32:08 +04:00
Dmitry Stogov bc959fbaff Merge branch 'PHP-5.5'
* PHP-5.5:
  Initialize literals hash_value and cache_slot

Conflicts:
	ext/opcache/Optimizer/zend_optimizer.c
2013-04-17 21:27:19 +04:00
Anatol Belski cd3dc3308b Merge branch 'PHP-5.5'
* PHP-5.5:
  Added curl config test for windows
2013-04-17 14:26:26 +02:00
Anatol Belski 08fa45a372 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated lib versions
  updated lib versions
  fixed EOL
  updated lib versions
  allow lcov 1.10
  allow lcov 1.10
  allow lcov 1.10
2013-04-17 13:21:20 +02:00
Antonio Diaz Ruiz a67ce30262 PHP tests to check the DOM_NOT_FOUND error message is properly raised by the DOMNode::insertBefore method 2013-04-15 23:30:58 +02:00
krakjoe 2c0d93bcbf zend_register_null_constant
fixed zend_register_bool_constant usage in macros
use REGISTER_MAIN_* in zend_register_standard_constants
2013-04-15 20:47:13 +01:00
krakjoe a49bb472a3 zend_API.h included
ZVAL_* family in use
2013-04-15 18:40:09 +01:00
krakjoe 2966e63faf use Z_* family macros 2013-04-15 18:27:45 +01:00
krakjoe f11d620cb6 zend_register_bool_constant patch 2013-04-15 18:13:09 +01:00
Dmitry Stogov e16f24327d Merge branch 'PHP-5.5' into PHP-5.5-opcache
* PHP-5.5:
  allow lcov 1.10
  Fixed bug (Wrong ce cached)
  apply change from opcache readme to php.ini
  lucky that the name is not used, fix name of encoder
2013-04-15 12:09:02 +04:00
Nuno Lopes dacbf70f92 allow lcov 1.10 2013-04-13 16:51:58 -04:00
Dmitry Stogov a0e3ca1c98 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Fixed bug (Wrong ce cached)
  apply change from opcache readme to php.ini
  lucky that the name is not used, fix name of encoder
2013-04-11 15:32:54 +04:00
Dmitry Stogov a78c7a4206 Added script level constant replacement 2013-04-11 15:31:35 +04:00
Dmitry Stogov 276847caba Added script level constant replacement 2013-04-11 15:18:35 +04:00
Xinchen Hui bcb223a626 Merge branch 'PHP-5.5' 2013-04-11 14:29:51 +08:00
Pierre Joye e2f3c7f2bc Merge branch 'PHP-5.5'
* PHP-5.5:
  lucky that the name is not used, fix name of encoder
2013-04-11 07:08:58 +02:00
Remi Collet ab165d3465 Merge branch 'PHP-5.5'
* PHP-5.5:
  apply change from opcache readme to php.ini
2013-04-11 07:06:36 +02:00
Dmitry Stogov 6893a19dbf Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  update NEWS
  updated NEWS
  Fixed bug #64342 ZipArchive::addFile() has to check for file existence
2013-04-10 23:12:25 +04:00
Dmitry Stogov b8867354c4 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added opcache related entries
2013-04-10 23:11:35 +04:00
Anatol Belski 622af62502 Merge branch 'master' of git.php.net:php-src 2013-04-10 20:52:29 +02:00
Anatol Belski 9386ba9e97 Merge branch 'PHP-5.5'
* PHP-5.5:
  update NEWS
  updated NEWS
  Fixed bug #64342 ZipArchive::addFile() has to check for file existence
2013-04-10 20:47:55 +02:00
Pierre Joye ea14901ca4 Merge branch 'master' of git.php.net:php-src 2013-04-10 20:14:46 +02:00
Pierre Joye ca1962949e Merge branch 'PHP-5.5'
* PHP-5.5:
  add external 2.1 detection and fix gd_compat for 2.1+
2013-04-10 20:14:00 +02:00
Dmitry Stogov fd15a71184 Merge branch 'PHP-5.5'
* PHP-5.5:
  Allow wilcards in opcache.blacklist_filename
2013-04-10 21:42:50 +04:00
Dmitry Stogov 28a0c38ee4 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed support for PHP-5.3
2013-04-10 21:27:54 +04:00
Dmitry Stogov 5868b93c49 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added missing ARG_INFO
2013-04-10 16:47:13 +04:00
Dmitry Stogov 3353ba1105 Merge branch 'PHP-5.5'
* PHP-5.5:
  Numeric string constants used as array indeces have to be converted to long at compile time
2013-04-10 15:34:36 +04:00
Johannes Schlüter c454c85511 Merge branch 'PHP-5.5' 2013-04-10 09:48:37 +02:00
Alexander Moskaliov 4883185917 Remove semicolon 2013-04-10 11:06:05 +04:00
Xinchen Hui d1643bd582 Merge branch 'PHP-5.5' 2013-04-10 13:48:38 +08:00
Alexander Moskalev a8dc4f0b18 Fix DateInterval->days value
when object was created not from DateTime::diff()
2013-04-10 00:12:39 +04:00
David Soria Parra 1a8575ab05 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS section for next beta
  NEWS for PHP 5.5.0 Beta 3
2013-04-09 20:34:50 +02:00
Dmitry Stogov caa2bccb8f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed CFG construction bugs
2013-04-09 17:49:45 +04:00
Dmitry Stogov 619fb50096 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  fix possible NULL deref
2013-04-09 12:11:26 +04:00
Dmitry Stogov c8758c91a7 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  fix null deref
  Fixed bugs #47675 and #64577 (fd leak on Solaris)
2013-04-09 12:10:06 +04:00
Pierre Joye d0cd049312 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix possible NULL deref
2013-04-09 10:09:54 +02:00
Dmitry Stogov 255ed92b34 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed ZTS build
2013-04-09 12:09:33 +04:00
Pierre Joye eb7d0ce3b0 Merge branch 'master' of git.php.net:php-src 2013-04-09 10:06:00 +02:00
Pierre Joye f4308084d8 Merge branch 'PHP-5.5'
# By Pierre Joye (1) and Rasmus Lerdorf (1)
* PHP-5.5:
  fix null deref
  Fixed bugs #47675 and #64577 (fd leak on Solaris)
2013-04-09 10:04:41 +02:00
Dmitry Stogov 1d8b6de2a4 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed issue #26 (added opcache_invalidate(string $filename [, bool $force = false]) function)
2013-04-09 11:59:30 +04:00
Dmitry Stogov 68d567d56c Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed issue #82 (allow comments in blacklist file, lines started with ";")
2013-04-09 10:53:12 +04:00
Pierre Joye 396b1109cf Merge branch 'PHP-5.5'
* PHP-5.5:
  ws and comment for recommended aa method
2013-04-09 07:05:03 +02:00
Pierre Joye 28a9181ceb Merge branch 'master' of git.php.net:php-src 2013-04-09 06:46:58 +02:00
Pierre Joye 21cfbdf42c Merge branch 'PHP-5.5'
* PHP-5.5:
  fix some unitialized values and typo
2013-04-09 06:45:24 +02:00
Anatol Belski 5027736ce7 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated libmagic.patch
2013-04-08 16:24:32 +02:00
Anatol Belski a1c96ebbd9 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix ident
2013-04-08 15:52:07 +02:00
Anatol Belski 6b56ec449b Merge branch 'PHP-5.5'
* PHP-5.5:
  Refactored the previous memleak fix
2013-04-08 14:34:21 +02:00
Anatol Belski 8b12bcaae8 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix memory leak at apprentice.c:1095
2013-04-08 12:50:47 +02:00
Anatol Belski 631ab1f373 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed EOL
2013-04-08 09:21:20 +02:00
Anatol Belski c71d4b1ca7 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  upgraded libmagic to 5.14
  leave a sane environment behind (even if empty) when exiting some OS atexit() handlers call getenv()
2013-04-07 22:20:57 +02:00
Nuno Lopes 1a71bf646e leave a sane environment behind (even if empty) when exiting
some OS atexit() handlers call getenv()
2013-04-07 02:32:20 -04:00
Xinchen Hui bd96813042 Merge branch 'PHP-5.5' 2013-04-05 23:28:23 +08:00
Xinchen Hui d28b5e8ff2 Merge branch 'PHP-5.5' 2013-04-05 21:35:41 +08:00
Xinchen Hui 1471ec7dcf Merge branch 'PHP-5.5' 2013-04-05 14:28:27 +08:00
Rasmus Lerdorf cb54fada51 Fixed bugs #47675 and #64577 (fd leak on Solaris) 2013-04-04 19:24:12 -07:00
Johannes Schlüter e9cc55a803 Merge branch 'PHP-5.5' 2013-04-04 15:38:35 +02:00
Xinchen Hui 2794d455ea Merge branch 'PHP-5.5' 2013-04-04 19:31:21 +08:00
Xinchen Hui 4788a961f1 Merge branch 'PHP-5.5' 2013-04-04 14:56:10 +08:00
Xinchen Hui cf0ee2d332 Merge branch 'PHP-5.5' 2013-04-04 14:49:58 +08:00
Nikita Popov d1ee0349d6 Merge branch 'PHP-5.5' 2013-04-03 20:30:31 +02:00
Xinchen Hui 8333dcce68 Merge branch 'PHP-5.5' 2013-04-03 19:52:56 +08:00
Xinchen Hui e15a97f924 Merge branch 'PHP-5.5' 2013-04-03 18:51:44 +08:00
Xinchen Hui 4799c8370b Merge branch 'PHP-5.5' 2013-04-03 10:21:24 +08:00
Xinchen Hui bd6a90dac7 Merge branch 'PHP-5.5' 2013-04-03 10:17:49 +08:00
Remi Collet db037caf18 Merge branch 'PHP-5.5'
* PHP-5.5:
  keep previous test to avoid any behavior change
2013-04-02 16:31:54 +02:00
Remi Collet 6cad4398a8 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix comment
  Fixed Bug #64565 copy doesn't report failure on partial copy
2013-04-02 16:24:33 +02:00
Rasmus Lerdorf 91c514c49a Merge branch 'PHP-5.5' 2013-04-01 16:30:34 -07:00
Rasmus Lerdorf 608b195c59 Merge branch 'PHP-5.4' into PHP-5.5 2013-04-01 16:30:10 -07:00
Rasmus Lerdorf 527ac404a1 The printf modifier for a double is just %f 2013-04-01 16:27:09 -07:00
Dmitry Stogov 11262fba8e Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed ZTS build
2013-04-01 21:17:26 +04:00
Xinchen Hui aa1c764e3e Merge branch 'PHP-5.5' 2013-04-01 19:16:44 +08:00
Xinchen Hui 79f68e285d Merge branch 'PHP-5.5' 2013-04-01 18:17:53 +08:00
Dmitry Stogov 71a45bec35 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed issue #79 (Optimization Problem/Bug)
  fix coverage data for the opcache optimizer
2013-04-01 11:34:37 +04:00
Nuno Lopes ed54776960 fix coverage data for the opcache optimizer 2013-03-31 15:43:08 -04:00
Xinchen Hui 971676e859 Merge branch 'PHP-5.5' 2013-03-31 21:27:22 +08:00
Xinchen Hui f4e16fe7ef Merge branch 'PHP-5.5' 2013-03-31 20:08:40 +08:00
Derick Rethans 6cdf379185 Merge branch 'PHP-5.5' 2013-03-31 11:07:49 +01:00
Derick Rethans 13004550a7 Merge branch 'PHP-5.5' 2013-03-31 10:56:23 +01:00
Derick Rethans bc6e26cdee Merge branch 'PHP-5.5' 2013-03-31 10:39:11 +01:00
Stanislav Malyshev da43e7e0cd Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #64433: does not follow redirects for non-3xx response codes
2013-03-30 21:24:54 -07:00
Xinchen Hui ac9f53dd9c Merge branch 'PHP-5.5' 2013-03-29 23:49:35 +08:00
Xinchen Hui 3ea4210f8d Merge branch 'PHP-5.5' 2013-03-29 23:46:24 +08:00
Keyur Govande 1185d10a40 Merge branch 'master' of https://git.php.net/push/php-src
* 'master' of https://git.php.net/push/php-src:
  fix BELL constant declaration
  merging conflict left over
  fix typo
  add definition for 5.5
  fix bug #64490 - add __FreeBSD_kernel__ to allowed FreeBSD defs
  - fix x64 issues on windows with the various time types (overflow, signed and unsigned bits ops, etc.) causing crashes on start, error or log, must be done in win32/time.c for some of these functions too
  - fix regression (imagerotate_overflow.phpt), fix for all cases
  - fix regression bug24155.phpt and bug39366.phpt
  - fix regression (imagerotate_overflow.phpt)
  fix memory leak
  - ws
  - add gd changes
  - update the comment to match the code/features
  setting plausible default value for struct members
  Fixed test after nick previous fix
2013-03-29 14:47:11 +00:00
Keyur Govande 415d077e08 Merge branch 'PHP-5.5'
* PHP-5.5: (276 commits)
  Patch for Bug #64544. The process title change module keeps track of the locally allocated environ, so it doesn't need to worry about when environ changes underneath it, for example by putenv()/setenv()
  Fix "passing NULL to non-pointer argument" warnings in intl
  Remove support for cloning generators
  Removed deprecated check
  Fix whitespace issue in the SOAP test
  Fix SOAP test
  Forgot to fix the test on 5.4
  Exclude Travis build for 5.3 and 5.4
  Fix tests after addition of ^ (xor) operator to ini
  Fix Bug #64545:	PHP Error in ef93a93ee2
  Attempt to fix SKIP
  This will PHP 5.3.25
  Typo fix (greater then => greater than)
  don't optimize script if it's not going to be cached
  Reimplemented OPcache restart trigger. Now, if memory or hash are full the restart is scheduled only in case the amount of wasted memory is above opcache.max_wasted_percentage. Otherwise OPcahce continue serving the following requests using already cached files, but doesn't try to add new files (the cache is full anyway).
  With pkgconfig < 0.28 output is a single space With pkgconfig = 0.28 output is an empty string, This breaks the test on the 2 vars
  Fixed issue #78 (incorrect file path validation)
  Fix test on Mac (\D shows up)
  Add test for #64529
  will be 5.4.15
  ...
2013-03-29 14:44:35 +00:00
Nikita Popov c3c4ff98ac Merge branch 'PHP-5.5' 2013-03-29 13:01:08 +01:00
Nikita Popov 2f4c3ff330 Merge branch 'PHP-5.5' 2013-03-29 11:43:19 +01:00
Dmitry Stogov 606c9bb658 Merge branch 'PHP-5.5'
* PHP-5.5:
  Removed deprecated check
2013-03-29 03:18:51 +04:00
Pierre Joye 95f830bc81 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix BELL constant declaration
2013-03-28 22:14:50 +01:00
Nikita Popov f2a2b418ec Merge branch 'PHP-5.5' 2013-03-28 19:11:21 +01:00
Nikita Popov 7f40866248 Merge branch 'PHP-5.5' 2013-03-28 19:06:13 +01:00
Nikita Popov 19f93e9c6d Merge branch 'PHP-5.5' 2013-03-28 18:43:20 +01:00
Nikita Popov b472d0733a Merge branch 'PHP-5.5' 2013-03-28 18:36:06 +01:00
Nikita Popov f5e5878701 Merge branch 'PHP-5.5' 2013-03-28 18:24:27 +01:00
Xinchen Hui 5678ada68e Merge branch 'PHP-5.5' 2013-03-28 23:24:17 +08:00
Johannes Schlüter c5b8004973 Merge branch 'PHP-5.5' 2013-03-28 15:09:28 +01:00
Xinchen Hui c7f1279903 Merge branch 'PHP-5.5' 2013-03-28 19:14:25 +08:00
Dmitry Stogov 0b817624a7 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  With pkgconfig < 0.28 output is a single space With pkgconfig = 0.28 output is an empty string, This breaks the test on the 2 vars
2013-03-28 13:48:00 +04:00
Dmitry Stogov 07a6f3c677 Merge branch 'PHP-5.5'
* PHP-5.5:
  don't optimize script if it's not going to be cached
  Reimplemented OPcache restart trigger. Now, if memory or hash are full the restart is scheduled only in case the amount of wasted memory is above opcache.max_wasted_percentage. Otherwise OPcahce continue serving the following requests using already cached files, but doesn't try to add new files (the cache is full anyway).
2013-03-28 13:47:38 +04:00
Remi Collet 18063dc2ac Merge branch 'PHP-5.5'
* PHP-5.5:
  With pkgconfig < 0.28 output is a single space With pkgconfig = 0.28 output is an empty string, This breaks the test on the 2 vars
2013-03-28 10:25:53 +01:00
Dmitry Stogov c4657614be Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed issue #78 (incorrect file path validation)
2013-03-28 12:31:33 +04:00
Xinchen Hui feefd2a8fd Merge branch 'PHP-5.5' 2013-03-28 14:35:57 +08:00
Xinchen Hui d133cffa00 Merge branch 'PHP-5.5' 2013-03-28 13:55:06 +08:00
Stanislav Malyshev 07a8ca5707 Merge branch 'PHP-5.5'
* PHP-5.5:
  will be 5.4.15
  fix NEWS
2013-03-27 14:02:45 -07:00
Lars Strojny 218bcee202 Merge branch 'PHP-5.5'
Conflicts:
	Zend/zend_ini_scanner.c
2013-03-27 21:37:42 +01:00
Dmitry Stogov 9a80cec0ce Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64529 (Ran out of opcode space)

Conflicts:
	Zend/zend_language_scanner.c
2013-03-28 00:10:13 +04:00
Dmitry Stogov f55ff56f24 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Remove unused variable
  NEWS Section for beta 3
  News for beta 2
2013-03-27 23:15:21 +04:00
Dmitry Stogov 4ee7bbdd08 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed issue #74 (Allowed per request OPcache disabling)
2013-03-27 23:14:59 +04:00
David Soria Parra 4263a23a79 Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove unused variable
2013-03-27 20:01:05 +01:00
David Soria Parra dca8002519 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS Section for beta 3
  News for beta 2
2013-03-27 19:58:10 +01:00
Dmitry Stogov 36861bf91d Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed issue #76 (actually we don't need zend_shared_memory_block_header at all)
2013-03-27 22:17:50 +04:00
Dmitry Stogov 34ac5c9d0d Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  add WebP support in phpinfo
2013-03-27 21:09:31 +04:00
Dmitry Stogov e67e6a1f36 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added opcache.enable_cli=0
2013-03-27 21:08:58 +04:00
Dmitry Stogov d40174c6bb Merge branch 'PHP-5.5'
* PHP-5.5:
  Added description for opcache.enable_cli
2013-03-27 21:04:04 +04:00
Pierre Joye 33e834aab8 Merge branch 'PHP-5.5'
* PHP-5.5:
  add WebP support in phpinfo
2013-03-27 17:39:05 +01:00
Pierre Joye b03810761e Merge branch 'PHP-5.5'
* PHP-5.5:
  add windows 8 and windows server 2012
2013-03-27 07:29:56 +01:00
Pierre Joye 5466035621 Merge branch 'PHP-5.5'
* PHP-5.5:
  versions no longer supported, no need to check
2013-03-27 07:15:30 +01:00
Pierre Joye 705ab20252 Merge branch 'PHP-5.5'
* PHP-5.5:
  FALSE on error
2013-03-27 05:13:42 +01:00
Pierre Joye 8a85da4a61 merging conflict left over 2013-03-26 17:46:29 +01:00
Pierre Joye 3b48dc0848 Merge branch 'master' of git.php.net:php-src 2013-03-26 11:24:30 +01:00
Pierre Joye 111123af4f conflict 2013-03-26 11:24:00 +01:00
Xinchen Hui c2afd2765b Merge branch 'PHP-5.5' 2013-03-26 12:03:37 +08:00
Xinchen Hui c356038c6e Merge branch 'PHP-5.5' 2013-03-25 23:49:23 +08:00
Pierre Joye b6fa581d2d Merge branch 'master' of git.php.net:php-src 2013-03-25 13:43:08 +01:00
Pierre Joye 317168bb1e Merge branch 'PHP-5.5'
* PHP-5.5:
  typo and WS
2013-03-25 13:42:42 +01:00
Dmitry Stogov 0ff3065474 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  add new functions and constants for GD
2013-03-25 15:49:18 +04:00
Dmitry Stogov a4c386f32c Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63914 (zend_do_fcall_common_helper_SPEC does not handle exceptions properly). (Jeff Welch)
2013-03-25 15:48:13 +04:00
Pierre Joye d836e654bb Merge branch 'master' of git.php.net:php-src 2013-03-25 12:20:21 +01:00
Pierre Joye 7da6272fe7 conflict 2013-03-25 12:20:01 +01:00
Dmitry Stogov d74a192bd4 Merge branch 'PHP-5.5'
* PHP-5.5:
  back to dev (7.0.2-dev)
2013-03-25 13:58:12 +04:00
Dmitry Stogov 57a0c655aa Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed copy/paste mistake
2013-03-25 13:31:19 +04:00
Dmitry Stogov dedd0f56b6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64482 (Opcodes for dynamic includes should not be cached)
  Separate "start_time" from "last_restart_time"
  Fixed PHP-5.2 ZTS compatibility
2013-03-25 13:06:10 +04:00
Dmitry Stogov 2c22ffc909 Merge branch 'PHP-5.5'
* PHP-5.5:
  7.0.1 release
2013-03-25 11:45:12 +04:00
Stanislav Malyshev 4003cc23b1 Merge branch 'PHP-5.5'
* PHP-5.5:
  make it int main
2013-03-24 23:58:50 -07:00
Stanislav Malyshev 981cd9c500 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix return value
2013-03-24 23:43:45 -07:00
Stanislav Malyshev 9e86fa301f Merge branch 'PHP-5.5'
* PHP-5.5:
  add code to check if we know flock definition on this system
2013-03-24 20:12:33 -07:00
Stanislav Malyshev f25c3283ae Merge branch 'PHP-5.5'
* PHP-5.5:
  fix typo
  add definition for 5.5
2013-03-24 20:04:28 -07:00
Stanislav Malyshev c1ac5a20a5 fix typo 2013-03-24 20:04:24 -07:00
Stanislav Malyshev bf457a0387 add definition for 5.5 2013-03-24 20:04:24 -07:00
Pierre Joye 52b4a251b7 Merge branch 'master' of git.php.net:php-src 2013-03-25 03:17:59 +01:00
Pierre Joye f21f37bb4c Merge branch 'PHP-5.5'
* PHP-5.5:
  remove comments
2013-03-25 03:14:40 +01:00
Stanislav Malyshev 1d59775c00 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #64490 - add __FreeBSD_kernel__ to allowed FreeBSD defs
2013-03-24 19:07:43 -07:00
Stanislav Malyshev be278293e4 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #64490 - add __FreeBSD_kernel__ to allowed FreeBSD defs
2013-03-24 19:04:43 -07:00
Stanislav Malyshev bd0b09c610 fix bug #64490 - add __FreeBSD_kernel__ to allowed FreeBSD defs 2013-03-24 19:03:04 -07:00
Nikita Popov 1e8423b041 Merge branch 'PHP-5.5' 2013-03-24 17:55:01 +01:00
Johannes Schlüter 32e0c24e7f Merge branch 'PHP-5.5' 2013-03-24 17:33:41 +01:00
Nikita Popov 095d552589 Merge branch 'PHP-5.5' 2013-03-24 17:07:36 +01:00
Pierre Joye 94c083ba64 fix conflict 2013-03-24 16:54:55 +01:00
Nikita Popov 453bcfecbf Merge branch 'PHP-5.5' 2013-03-24 16:09:59 +01:00
David Soria Parra 04c659a042 Merge branch 'PHP-5.5'
* PHP-5.5:
2013-03-24 14:06:25 +01:00
Nikita Popov fce19c5f57 Merge branch 'PHP-5.5' 2013-03-24 13:58:44 +01:00
Pierre Joye b3b42ccbf2 Merge branch 'PHP-5.5'
* PHP-5.5:
  - add reminder for checking return values
2013-03-24 13:29:30 +01:00
Anatol Belski 75ada593ca Merge branch 'PHP-5.5'
* PHP-5.5:
  - fix x64 issues on windows with the various time types (overflow, signed and unsigned bits ops, etc.) causing crashes on start, error or log, must be done in win32/time.c for some of these functions too
2013-03-23 22:44:10 +01:00
Nikita Popov 5c591acc4f Merge branch 'PHP-5.5' 2013-03-23 21:45:24 +01:00
Nikita Popov 03c55d6971 Merge branch 'PHP-5.5' 2013-03-23 21:09:37 +01:00
Anatol Belski 93c4ce4eed Merge branch 'PHP-5.5'
* PHP-5.5:
  Reworked the changes for bug #64452
2013-03-23 21:01:05 +01:00
Nikita Popov 37c5425543 Merge branch 'PHP-5.5' 2013-03-23 20:14:13 +01:00
Nikita Popov faf256a4e7 Merge branch 'PHP-5.5' 2013-03-23 18:26:45 +01:00
Nikita Popov 1713d9ad30 Merge branch 'PHP-5.5'
Conflicts:
	UPGRADING
	UPGRADING.INTERNALS
2013-03-23 18:09:05 +01:00
Anatol Belski 3e45aa0723 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed possible precision loss in microtime
2013-03-23 17:48:21 +01:00
Pierre Joye 8a256d8ffb Merge branch 'master' of git.php.net:php-src 2013-03-23 10:30:06 +01:00
Pierre Joye 84220f8a60 Merge branch 'PHP-5.5'
* PHP-5.5:
  - fix x64 issues on windows with the various time types (overflow, signed and unsigned bits ops, etc.) causing crashes on start, error or log, must be done in win32/time.c for some of these functions too
2013-03-23 10:26:26 +01:00
Pierre Joye 4a9eb328ee Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  - fix x64 issues on windows with the various time types (overflow, signed and unsigned bits ops, etc.) causing crashes on start, error or log, must be done in win32/time.c for some of these functions too
2013-03-23 10:21:22 +01:00
Pierre Joye e6a9d1ca8d - fix x64 issues on windows with the various time types (overflow, signed and unsigned bits ops, etc.) causing crashes on start, error or log, must be done in win32/time.c for some of these functions too 2013-03-23 10:18:31 +01:00
David Soria Parra 6cae773dae Merge branch 'PHP-5.5'
* PHP-5.5:
  Note about bison version
  Add SplDoublyLinkedList::add to UPGRADING
  Tweaks an add OPcache info to UPGRADING

Conflicts:
	UPGRADING
2013-03-22 17:45:07 +01:00
Pierre Joye dd9e4b34d6 Merge branch 'PHP-5.5'
* PHP-5.5:
  - fix regression (imagerotate_overflow.phpt), fix for all cases
2013-03-22 09:30:32 +01:00
Pierre Joye f39a23696b - fix regression (imagerotate_overflow.phpt), fix for all cases 2013-03-22 09:30:23 +01:00
Pierre Joye 672f8525fb Merge branch 'PHP-5.5'
* PHP-5.5:
  - fix regression bug24155.phpt and bug39366.phpt
2013-03-22 09:21:23 +01:00
Pierre Joye f05972ddbf - fix regression bug24155.phpt and bug39366.phpt 2013-03-22 09:21:11 +01:00
Pierre Joye 6512c44d8e Merge branch 'master' of git.php.net:php-src 2013-03-22 08:31:11 +01:00
Pierre Joye 2a8a9c0007 Merge branch 'PHP-5.5'
* PHP-5.5:
  - fix regression (imagerotate_overflow.phpt)
2013-03-22 08:28:25 +01:00
Pierre Joye 4e6d54f5a7 - fix regression (imagerotate_overflow.phpt) 2013-03-22 08:28:11 +01:00
David Soria Parra 95c3b9ab39 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add OPCache ini settings to php.ini
2013-03-21 15:52:12 +01:00
Xinchen Hui 9d2897a9d1 Merge branch 'PHP-5.5' 2013-03-21 21:32:57 +08:00
Xinchen Hui 0bf7549772 Merge branch 'PHP-5.5' 2013-03-21 21:11:42 +08:00
Xinchen Hui bfbf334aff Merge branch 'PHP-5.5' 2013-03-21 15:58:25 +08:00
Xinchen Hui b9185a4544 Merge branch 'PHP-5.5' 2013-03-21 11:15:05 +08:00
Xinchen Hui d99c14b1a6 fix memory leak
the value shouldn't be ref, use z_add_ref is enough
2013-03-21 10:56:30 +08:00
Stanislav Malyshev 45b1d014f2 Merge branch 'PHP-5.5'
* PHP-5.5:
  add array_column()
2013-03-20 14:16:08 -07:00
David Soria Parra 78acb84b6e Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS section for beta 2
  NEWS for beta 1
  Allow local override of PHPROOT in makedist
2013-03-20 15:24:00 +01:00
David Soria Parra ec26c93eff Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for array_column
  array_column: Fix compile-time warnings
  array_column: Removed array_pluck() alias
  array_column: Set array_pluck as an alias for array_column
  array_column: Implement ability to specify an index column
  Cleaning up a memory leak.
  array_column: Adding test for IS_OBJECT and converting object to string
  array_column: Using add_next_index_zval() at nikic's recommendation.
  array_column: Improved tests
  array_column: Cleaning up, as recommended in pull request #56 comments
  Fixing typo in test for array_column()
  Simplify the code and use zend_hash_next_index_insert()
  Adding test for columns not present in all rows for array_column().
  Adding tests for the negative results of array_column()
  Implement new array function array_column()
2013-03-20 13:14:33 +01:00
Pierre Joye fa161e9a67 Merge branch 'PHP-5.5'
* PHP-5.5:
  - ws

Conflicts:
	UPGRADING
2013-03-20 12:38:22 +01:00
Pierre Joye 15ecea7602 - ws 2013-03-20 12:37:13 +01:00
Pierre Joye 09854f1fb9 Merge branch 'PHP-5.5'
* PHP-5.5:
  - add gd changes

Conflicts:
	UPGRADING
2013-03-20 12:34:51 +01:00
Pierre Joye ff7d7bb290 - add gd changes 2013-03-20 12:34:01 +01:00
Pierre Joye 83e81c40ae Merge branch 'PHP-5.5'
* PHP-5.5:
  - update the comment to match the code/features
2013-03-20 12:29:56 +01:00
Pierre Joye f0078897c7 - update the comment to match the code/features 2013-03-20 12:29:47 +01:00
Pierre Joye 2799534296 Merge branch 'master' of git.php.net:php-src 2013-03-20 12:20:32 +01:00
Pierre Joye bc7b287a61 Merge branch 'PHP-5.5'
* PHP-5.5:
  - add imageaffinematrixget and imagematrixconcat
  - add affine matrix helper for translate, scale, rotate and shear
  - fix unix build
  - add new files for interpolation
  - config.m4 sync with .w32
  - add new interpolation method   . imagescale   . imageaffine   . replace imagerotate with new generic and optimized new implementations   . imagesetinterpolationmethod, to set the default interpolation to be     used with the new functions   . add imagepalettetotruecolor
2013-03-20 12:19:46 +01:00
Anatol Belski 7daabc42a2 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  updated NEWS
  Fixed bug #64452 Zip PHPTs crash intermittently
2013-03-20 09:15:46 +01:00
Stanislav Malyshev b5a7675836 Merge branch 'PHP-5.5'
* PHP-5.5:
  clarify NEWS
2013-03-19 23:26:42 -07:00
Anatol Belski 1cdf2c49ba Merge branch 'PHP-5.5'
* PHP-5.5:
  Backported fix for bug #62852
2013-03-19 21:23:08 +01:00
David Soria Parra d9f5056dba Merge branch 'PHP-5.5'
* PHP-5.5:
  Refer to Zend Optimizer as Zend Opcache from now on
2013-03-19 16:21:14 +01:00
David Soria Parra 12877372ac Merge branch 'PHP-5.5'
* PHP-5.5:
  ZO+ NEWS
2013-03-19 15:55:36 +01:00
Anatol Belski da1aa323fe Merge branch 'master' of git.php.net:php-src 2013-03-19 15:16:16 +01:00
Anatol Belski 5cea998c5d Merge branch 'PHP-5.5'
* PHP-5.5:
  fix C89 compat
2013-03-19 15:14:03 +01:00
David Soria Parra d90a85c3bd Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix typos
2013-03-19 15:11:56 +01:00
Anatol Belski 11567299d5 Merge branch 'master' of git.php.net:php-src 2013-03-19 14:49:41 +01:00
David Soria Parra 7b876167cf Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix #48358 add() method for SplDoublyLinkedLis
2013-03-19 14:48:05 +01:00
Anatol Belski 3b922794ab Merge branch 'PHP-5.5'
* PHP-5.5:
  fix C90 compat
2013-03-19 14:45:57 +01:00
Dmitry Stogov b8ab827e4f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63976 (Parent class incorrectly using child constant in class property)
2013-03-19 17:05:36 +04:00
Dmitry Stogov e72d059a0c Merge branch 'PHP-5.5'
* PHP-5.5:
  Partial fix for bug #64239
2013-03-19 15:48:22 +04:00
Dmitry Stogov baa5b3ef74 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #62343 (Show class_alias In get_declared_classes())
2013-03-19 15:01:05 +04:00
Dmitry Stogov b360d26294 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64417 (ArrayAccess::&offsetGet() in a trait causes fatal error)
2013-03-19 13:08:14 +04:00
Dmitry Stogov 48e82b2988 Merge branch 'PHP-5.5'
* PHP-5.5:
  strlen() returns size_t
2013-03-19 10:45:57 +04:00
Dmitry Stogov 48632d0fc4 Merge branch 'PHP-5.5'
* PHP-5.5:
  Renamed Zend Optimizer+ into Zend OPcache
2013-03-19 10:32:50 +04:00
Dmitry Stogov d5174afb89 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add stats to phpinfo
2013-03-19 10:19:01 +04:00
Dmitry Stogov 33ea10141d Merge branch 'PHP-5.5'
* PHP-5.5:
  Avoid trailing line break
2013-03-18 13:36:52 +04:00
Dmitry Stogov 0522e2cd66 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  fix NEWS
  fix NEWS
2013-03-18 13:17:26 +04:00
Dmitry Stogov 4e4bc3a21b Merge branch 'PHP-5.5'
* PHP-5.5:
  Add oom, wasted, hash and manual restart counters to help identify potential configuration problems
  Add optional flag to opcache_get_status()
2013-03-18 13:16:32 +04:00
Stanislav Malyshev 06a67b3375 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix NEWS
  fix NEWS
2013-03-18 00:52:53 -07:00
Boris Lytochkin 92198fa2a5 Merge branch 'PHP-5.5'
* PHP-5.5:
  merge with 5.4
  more test coverage: missing square bracket error message
  Fixed bug #61981
2013-03-17 20:53:19 +04:00
Boris Lytochkin 719264d1af Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #61981
2013-03-17 20:18:17 +04:00
Dmitry Stogov ada89863c3 Merge branch 'PHP-5.5'
* PHP-5.5:
  Load "black list" only if O+ is enabled
2013-03-17 12:17:39 +04:00
Dmitry Stogov 513c6e7021 Merge branch 'PHP-5.5'
* PHP-5.5:
  Made opcache_get_status() return statistics during O+ restart
2013-03-17 11:57:08 +04:00
Dmitry Stogov 0def1ca59a Merge branch 'PHP-5.5'
* PHP-5.5:
  Added ability to load zend_extensions without absolute path names
2013-03-17 11:43:45 +04:00
Dmitry Stogov 8635900e8e Merge branch 'PHP-5.5'
* PHP-5.5:
  Enabled O+ build by default (it may be disabled before 5.0.0 release)
2013-03-17 10:59:23 +04:00
Dmitry Stogov 2db4e43436 Merge branch 'PHP-5.5'
* PHP-5.5:
  Removed files that are neccessary only for standalone pecl branch
  setting plausible default value for struct members
2013-03-17 10:42:41 +04:00
Anatol Belski 23bf72f7b1 Merge branch 'master' of git.php.net:php-src 2013-03-16 18:27:21 +01:00
Etienne Kneuss 79d2657873 Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove spurious int cast in between two longs
2013-03-16 18:20:24 +01:00
Anatol Belski a8e72b61a6 Merge branch 'PHP-5.5'
* PHP-5.5:
  setting plausible default value for struct members
2013-03-16 18:09:30 +01:00
Anatol Belski add5420d89 setting plausible default value for struct members
especially for unsigned members so they don't casted to max unsigned
2013-03-16 18:07:21 +01:00
Xinchen Hui 1ee20ab72a Merge branch 'PHP-5.5' 2013-03-16 23:16:56 +08:00
Xinchen Hui 67618a8f88 Fixed test after nick previous fix 2013-03-16 22:58:47 +08:00
Dmitry Stogov c4c61e395b Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed memory leaks
2013-03-16 17:25:48 +04:00
Dmitry Stogov 1b72240226 Merge branch 'PHP-5.5'
* PHP-5.5:
  Made test compatible with O+
2013-03-16 16:11:41 +04:00
Dmitry Stogov b7fd7c79e9 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed compatibility with ext/phar
2013-03-16 16:08:51 +04:00
Dmitry Stogov e6fc7c1e76 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed O+ testes
2013-03-16 12:08:25 +04:00
Dmitry Stogov b3ed38c704 Merge branch 'master' of git.php.net:php-src 2013-03-16 00:46:00 +04:00
Dmitry Stogov 29a9e13d60 Merge branch 'PHP-5.5'
* PHP-5.5: (101 commits)
  Renamed ZendOptimizerPlus.so into opcache.so
  "ZendOptimizerPlus" is renamed to "opcache" to de merged into PHP-5.5 under ext/opcache (the product name is still "Zend Optimizer+")
  More accurate restart scheduling
  Autogolobal $GLOBALS has to be pinged even if auto_globals_jit=0
  Allow only shared O+ build
  Fixed typos
  add tests into package
  Add test script for #57 (segfaults in drupal7)
  fixed memory leaks
  Fixed Issue #57 (segfaults in drupal7)
  Fixed issue #58 (PHP-5.2 compatibility)
  Allows exclusion of large files from being cached
  Add maintainers inot package.xml
  fix ANSI C90 compat
  Fixed test
  Fixed uninitialized variable
  Fixed bug #64353 (Built-in classes can be unavailable with dynamic includes and Optimizer+)
  Save a stat() call by calling sapi_module.get_stat()
  Fixed #54 (PECL install adds extension= instead of zend_extension= to php.ini)
  release 7.0.0
  ...
2013-03-16 00:43:40 +04:00
Anatol Belski be8282b927 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #62852 Unserialize Invalid Date crash
2013-03-15 21:30:18 +01:00
Anatol Belski a3bb8ff4e4 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
2013-03-15 19:12:51 +01:00
Anatol Belski 7d84cf6a75 Merge branch 'PHP-5.5'
* PHP-5.5:
  Backported patch for #64370
2013-03-15 19:09:36 +01:00
Anatol Belski 65a1c314b3 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #53437 Crash with unserialized DatePeriod instance
2013-03-15 17:01:16 +01:00
Nikita Popov 279285598d Merge branch 'PHP-5.5' 2013-03-15 13:49:14 +01:00
Ferenc Kovacs 2b1c2e3c3f Merge branch 'PHP-5.5'
* PHP-5.5:
  explain the step updating the git submodule reference in web/php.git
2013-03-15 09:42:37 +01:00
Anatol Belski 657135c16a Merge branch 'PHP-5.5'
* PHP-5.5:
  fix zts check
2013-03-14 14:40:03 +01:00
Dmitry Stogov 22b0f5d829 Merge branch 'PHP-5.5'
* PHP-5.5:
  Removed redundand code
2013-03-14 14:22:51 +04:00
Andrey Hristov 37664354e5 Merge branch 'PHP-5.5' 2013-03-13 15:57:08 +01:00
Andrey Hristov f4279f0d5e Merge branch 'PHP-5.5'
Conflicts:
	NEWS
2013-03-13 15:57:04 +01:00
Nikita Popov 5f136b5e04 Merge branch 'PHP-5.5' 2013-03-12 17:39:40 +01:00
Nikita Popov 81623d3a60 Merge branch 'PHP-5.5'
Conflicts:
	UPGRADING
	UPGRADING.INTERNALS
2013-03-12 17:29:54 +01:00
Anatol Belski 8eed855b84 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed headers order
2013-03-12 08:35:49 +01:00
Derick Rethans d0ddcf70e4 Merge branch 'PHP-5.5' 2013-03-11 21:36:42 +00:00
Anatol Belski 64dba85575 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed the test
2013-03-11 16:15:01 +01:00
Anatol Belski 20e4d86984 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64370 (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT'])
2013-03-11 16:05:07 +01:00
Xinchen Hui 01e1ba8873 Merge branch 'PHP-5.5'
Conflicts:
	UPGRADING
2013-03-11 15:19:59 +08:00
Nikita Popov 3670085d7d Merge branch 'PHP-5.5' 2013-03-09 20:22:29 +01:00
Xinchen Hui 12413b1393 Merge branch 'PHP-5.5' 2013-03-09 23:12:25 +08:00
Xinchen Hui 76fda41bb3 Merge branch 'PHP-5.5' 2013-03-09 11:38:58 +08:00
Xinchen Hui 79a96d2af0 Merge branch 'PHP-5.5'
Conflicts:
	NEWS-5.5
2013-03-08 10:36:13 +08:00
Keyur Govande 15c3d3ac71 Merge branch 'PHP-5.5'
* PHP-5.5:
  Support for CLI process title (https://wiki.php.net/rfc/cli_process_title)
2013-03-07 23:59:11 +00:00
David Soria Parra ced5f41a9a Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix for https://bugs.php.net/bug.php?id=62649
2013-03-07 23:20:35 +01:00
David Soria Parra 3adb1aa89e Merge branch 'PHP-5.5'
* PHP-5.5:
  Typo fix: recieved to received
2013-03-07 23:05:14 +01:00
David Soria Parra 19915917b9 Merge branch 'PHP-5.5'
* PHP-5.5:
  News for next beta
  Do another Alpha instead of Beta because of ZO+ RFC being voted on
2013-03-07 12:16:31 +01:00
David Soria Parra 76c6061aa0 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for the next beta
  NEWS for PHP 5.5.0 Beta 1
2013-03-07 00:27:48 +01:00
Anatol Belski 7fb0142fee Merge branch 'PHP-5.5'
* PHP-5.5:
  simplified the previous fix for #64359
2013-03-06 16:49:33 +01:00
Anatol Belski cb80655024 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64359 strftime crash with VS2012
2013-03-06 12:39:01 +01:00
Stanislav Malyshev 9ccf470b5f Merge branch 'PHP-5.5'
* PHP-5.5:
  fix NEWS
2013-03-06 00:45:54 -08:00
Xinchen Hui 0fbe0a1495 Merge branch 'PHP-5.5' 2013-03-05 17:18:41 +08:00
Xinchen Hui 09e9c294b8 Merge branch 'PHP-5.5' 2013-03-05 16:57:37 +08:00
Xinchen Hui ac2376fbf1 Merge branch 'PHP-5.5' 2013-03-05 14:03:47 +08:00
Pierre Joye 177a25fef2 Merge branch 'PHP-5.5'
* PHP-5.5:
  - fix path
2013-03-04 14:14:36 +01:00
Pierre Joye 33a8e387f5 - damned conflicts 2013-03-04 12:11:20 +01:00
Pierre Joye a29ae8c8f7 Merge branch 'PHP-5.5'
* PHP-5.5:
  - add noisy php logo for autocrop with threshold test
2013-03-04 12:06:11 +01:00
Pierre Joye 5357d55634 Merge branch 'master' of git.php.net:php-src 2013-03-04 12:05:13 +01:00
Pierre Joye 3e0e64f208 Merge branch 'PHP-5.5'
* PHP-5.5:
  - add test for imagecropauto
  - (s)rgb distance works way better for now, re enable threshold
  - disable threshold for now, will enable it again using CIEDE2000
  - add todo for threshold
  - clean and enable threshold
  - add image crop support

Conflicts:
	UPGRADING
2013-03-04 12:03:01 +01:00
Anatol Belski defb654efd Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed PCRE locale crash in Windows/TS
2013-03-04 09:15:34 +01:00
Xinchen Hui d207f23475 Merge branch 'typofix' of https://github.com/carsonmcdonald/php-src 2013-03-04 10:47:30 +08:00
Stanislav Malyshev d93d8acca7 Merge branch 'PHP-5.5'
* PHP-5.5:
  rename NEWS back
  updated NEWS
2013-03-03 13:24:31 -08:00
Anatol Belski 3f48adbd64 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.
  Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.
  Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.
2013-03-03 19:23:26 +01:00
Anatol Belski 5e57bebbb7 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  updated NEWS
  This commit was manufactured by cvs2svn to create tag 'NEWS'.
2013-03-03 19:17:14 +01:00
Anatol Belski 8dd1e0bf6c Merge branch 'PHP-5.5'
* PHP-5.5:
  merged PCRE 8.32
2013-03-03 19:11:25 +01:00
Derick Rethans ef99886bcb Merge branch 'PHP-5.5' 2013-03-03 13:10:41 -05:00
Derick Rethans b267ad3902 Merge branch 'PHP-5.5'
Conflicts:
	NEWS
2013-03-03 13:00:42 -05:00
Carson McDonald 58f3c74e13 Fix a couple typos 2013-03-03 10:44:46 -05:00
Xinchen Hui b572f07b6f Merge branch 'PHP-5.5' 2013-03-03 11:25:49 +08:00
Xinchen Hui a3c0942cb0 Merge branch 'PHP-5.5' 2013-03-03 11:14:34 +08:00
Xinchen Hui 0cdd4e83bd Merge branch 'PHP-5.5' 2013-03-03 11:00:36 +08:00
Xinchen Hui b5e8597e5a Merge branch 'PHP-5.5' 2013-03-03 10:53:52 +08:00
Stanislav Malyshev 6eff31e1fd Merge branch 'PHP-5.5'
* PHP-5.5:
  5.4.24-dev
  5.3.23RC1
2013-02-28 21:31:15 -08:00
Pierre Joye 02a15898b2 Merge branch 'PHP-5.5'
* PHP-5.5:
  - typo
2013-02-27 21:03:09 +01:00
Pierre Joye c9a67b17db Merge branch 'PHP-5.5'
* PHP-5.5:
  - fix name for imageflip constants, consistent witht the other
  - add test
  - add constants for imageflip
2013-02-27 20:23:38 +01:00
Pierre Joye 6192dbaa7e Merge branch 'PHP-5.5'
* PHP-5.5:
  - add only once
  - add new file for m4 as well
2013-02-27 16:03:27 +01:00
Pierre Joye 6ab9f906da - fix conflict on merge 2013-02-27 16:00:11 +01:00
Stanislav Malyshev c4ef791958 Merge branch 'PHP-5.5'
* PHP-5.5:
  5.4.13 branched, now it's 5.4.14
2013-02-26 22:26:55 -08:00
Stanislav Malyshev e7b6251708 Merge branch 'PHP-5.5'
* PHP-5.5:
  add news for SOAP fixes
2013-02-26 22:20:56 -08:00
Stanislav Malyshev 15d90c24a2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Bug #52861: unset fails with ArrayObject and deep arrays
2013-02-26 22:13:31 -08:00
Remi Collet 3718d0c404 Merge branch 'PHP-5.5'
* PHP-5.5:
  add support for ppc64p7 arch (Power7 optimized)
2013-02-26 14:36:04 +01:00
Xinchen Hui 26252f4667 Merge branch 'PHP-5.5' 2013-02-24 13:00:01 +08:00
Gustavo Lopes c30d5a8ce3 Merge branch 'PHP-5.5'
* PHP-5.5:
  sendrecvmsg_shutdown function moved to mshutdown
2013-02-24 03:51:11 +01:00
Gustavo Lopes 0112b2bc7f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix ext/sockets build with phpize
  Fix ext/intl build with phpize
2013-02-24 00:49:41 +01:00
Gustavo Lopes 46adc1603c Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for 8718755
  Remove trailing whitespace; break long lines
  Fix rounding of zend_dval_to_lval
  Fix zend_dval_to_lval outside 64bit integers range
2013-02-23 18:07:22 +01:00
Andrey Hristov 3ad32ef12a Merge branch 'PHP-5.5' 2013-02-22 13:50:13 +01:00
Andrey Hristov 402296d46c Merge branch 'PHP-5.5' 2013-02-22 13:18:07 +01:00
Johannes Schlüter 08a52b7087 Merge branch 'PHP-5.5' 2013-02-21 16:51:37 +01:00
Johannes Schlüter 4642d0e0d6 Merge branch 'PHP-5.5' 2013-02-21 15:11:09 +01:00
Dmitry Stogov d0b549e9a7 Merge branch 'PHP-5.5'
* PHP-5.5:
  PHAR should modify entry timestamp when it's modified
2013-02-21 16:23:36 +04:00
Sara Golemon f54a87e3ab Merge branch 'PHP-5.5'
* PHP-5.5:
  http-stream test requires network connectivity
2013-02-21 03:22:31 -08:00
Xinchen Hui 6a05c6be41 Merge branch 'PHP-5.5' 2013-02-21 18:21:19 +08:00
Anatol Belski 43c2a897fa Merge branch 'PHP-5.5'
* PHP-5.5:
  added back the older vc9 favours
2013-02-21 11:00:54 +01:00
Anatol Belski d879ad3d1c Merge branch 'PHP-5.5'
* PHP-5.5:
  updated lib versions
  updated lib versions
  updated lib versions
2013-02-21 10:34:40 +01:00
Stanislav Malyshev 4c293bfe91 Merge branch 'PHP-5.5'
* PHP-5.5:
  news for bug #49348
  fix tests
  fix bug #49348 - issue notice on get_property_ptr_ptr when used for read
2013-02-21 00:57:52 -08:00
Dmitry Stogov b7f89bc701 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed external entity loading
2013-02-20 22:31:52 +04:00
Karsten Schmidt 3fd5a40556 Dont reset other counters when incrementing slow_rq 2013-02-20 18:53:17 +01:00
Johannes Schlüter 39fb14acb7 Merge branch 'PHP-5.5' 2013-02-20 11:58:29 +01:00
David Soria Parra 5a987919d8 Merge branch 'PHP-5.5'
* PHP-5.5:
  Start new NEWS section for beta1
  News for PHP 5.5.0 Alpha 5
2013-02-19 19:43:18 +01:00
David Soria Parra 915c00d42f Merge branch 'PHP-5.5'
* PHP-5.5:
  News for PHP 5.5.0 Alpha 5
2013-02-19 19:41:02 +01:00
David Soria Parra c3931bdfb3 News for PHP 5.5.0 Alpha 5 2013-02-19 19:27:37 +01:00
Anatol Belski 15a182a2d0 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix the test for curl 7.29.0+
2013-02-19 09:05:45 +01:00
Dmitry Stogov d7cbc01188 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #64070 (Inheritance with Traits failed with error)
2013-02-18 16:36:25 +04:00
Gustavo Lopes 427de31aa6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Cleanup some multicast code; fix for mac os x?
2013-02-17 22:43:28 +01:00
Stanislav Malyshev c389d33f0c Merge branch 'PHP-5.5'
* PHP-5.5:
  fix protos
2013-02-17 13:34:07 -08:00
Stanislav Malyshev 1307c6c197 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #61930: openssl corrupts ssl key resource when using openssl_get_publickey()
2013-02-17 13:30:04 -08:00
Anatol Belski 9a85dca7a5 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix free vs. curl_free
2013-02-17 20:29:58 +01:00
Stanislav Malyshev 8be9a974da Merge branch 'PHP-5.5'
* PHP-5.5:
  update NEWS
2013-02-17 02:38:41 -08:00
Stanislav Malyshev 5077cde952 Merge branch 'PHP-5.5'
* PHP-5.5:
  Added HTTP codes as of RFC 6585
2013-02-17 01:20:36 -08:00
Xinchen Hui a1b5796c5c Merge branch 'PHP-5.5' 2013-02-17 11:07:07 +08:00
Xinchen Hui c520280381 Merge branch 'PHP-5.5' 2013-02-16 22:30:14 +08:00
Xinchen Hui 92046b7ef1 Merge branch 'PHP-5.5' 2013-02-16 22:25:37 +08:00
Dmitry Stogov dd304c8e19 Merge branch 'PHP-5.5'
* PHP-5.5:
  Proper bit reset code
2013-02-13 22:08:13 +04:00
Ard Biesheuvel 0fcde51c35 Merge branch 'PHP-5.5' 2013-02-13 13:52:30 +01:00
Ard Biesheuvel a439309453 Merge branch 'PHP-5.5' 2013-02-11 17:54:54 +01:00
Ard Biesheuvel b1c2322d9c Merge branch 'PHP-5.5' 2013-02-11 16:01:03 +01:00
Ard Biesheuvel 7c1e19ed76 Merge branch 'PHP-5.5' 2013-02-11 14:45:17 +01:00
Andrey Hristov c98b52d7ea Merge branch 'master' of ssh://git.php.net/php-src 2013-02-11 12:28:55 +01:00
Andrey Hristov faa79150f6 Merge branch 'PHP-5.5'
Conflicts:
	NEWS
2013-02-11 12:07:55 +01:00
Remi Collet 5f0e374da7 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  Fixed bug #64142 (dval to lval different behavior on ppc64)
2013-02-11 09:14:06 +01:00
Stanislav Malyshev aac90ee333 Merge branch 'PHP-5.5'
* PHP-5.5:
  update NEWS
  mb_split() can now handle empty matches like preg_split() does.
  mb_split() can now handle empty matches like preg_split() does.
2013-02-09 23:05:58 -08:00
Andrey Hristov 1d5d63131d Merge branch 'PHP-5.5'
Conflicts:
	NEWS
2013-02-08 18:34:35 +01:00
Andrey Hristov a9daf26dcf Merge branch 'PHP-5.5' 2013-02-08 18:28:34 +01:00
Andrey Hristov 5a2b3a0a34 Merge branch 'PHP-5.5' 2013-02-08 18:10:08 +01:00
Andrey Hristov 77cae97ac8 Merge branch 'PHP-5.5' 2013-02-08 17:06:05 +01:00
Andrey Hristov 2de2c1cf5b Merge branch 'PHP-5.5' 2013-02-08 16:36:52 +01:00
Andrey Hristov 12d6c22afb Merge branch 'PHP-5.5'
Conflicts:
	NEWS
2013-02-08 11:13:45 +01:00
Andrey Hristov e0664cc602 Merge branch 'master' of ssh://git.php.net/php-src 2013-02-07 20:35:16 +01:00
Andrey Hristov c292792198 Merge branch 'PHP-5.5' 2013-02-07 18:46:36 +01:00
Boris Lytochkin 175219c9a3 Merge branch 'master' of https://git.php.net/push/php-src 2013-02-07 21:36:09 +04:00
Andrey Hristov a0e975c7bc Merge branch 'PHP-5.5' 2013-02-07 18:30:32 +01:00
Xinchen Hui 5fcae352ed Merge branch 'PHP-5.5' 2013-02-07 23:50:35 +08:00
Xinchen Hui 7fb07acf98 Merge branch 'PHP-5.5' 2013-02-07 23:46:15 +08:00
Andrey Hristov 67ccb99f2c Merge branch 'PHP-5.5' 2013-02-07 16:24:44 +01:00
Andrey Hristov 2c07219d24 Merge branch 'PHP-5.5' 2013-02-07 16:06:50 +01:00
Dmitry Stogov a80b0ee967 Merge branch 'PHP-5.5'
* PHP-5.5:
  Disabled external entities loading
2013-02-07 16:10:20 +04:00
Boris Lytochkin 6d614d5105 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #64124 (IPv6 malformed)
2013-02-07 14:50:41 +04:00
Dmitry Stogov a443dad71a Merge branch 'PHP-5.5'
* PHP-5.5:
  Check if soap.wsdl_cache_dir confirms to open_basedir
2013-02-07 13:13:50 +04:00
Anatoliy Belsky 2249881c0d Merge branch 'PHP-5.5'
* PHP-5.5:
  make libvpx optional
2013-02-06 16:23:16 +01:00
Remi Collet 9f7b121da3 Merge branch 'PHP-5.5'
* PHP-5.5:
  revert
  revert
2013-02-05 12:29:34 +01:00
Ard Biesheuvel d0e0a51c4c Add ARM optimized versions of safe_address()
The function safe_address() uses inline assembler to detect
overflow in size/offset calculations, as detecting this in
plain C is a lot more work.
2013-02-05 12:14:55 +01:00
Ard Biesheuvel 72a728872b Update config.guess to latest GPLv2 upstream version
This adds the ability to configure/build *on* 64-bit ARMv8,
which uses the host triplet 'aarch64-linux-gnu'.

Source:
  http://git.savannah.gnu.org/gitweb/?p=config.git;h=306afce
2013-02-05 10:27:30 +01:00
Remi Collet c2a2f5e3ff Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  Fixed bug #64142 (dval to lval different behavior on ppc64)
2013-02-04 15:27:54 +01:00
Andrey Hristov 9e65d4ec85 Merge branch 'PHP-5.5' 2013-02-04 14:34:38 +01:00
Andrey Hristov 309bdfba42 Merge branch 'master' of ssh://git.php.net/php-src 2013-02-04 14:15:19 +01:00
Andrey Hristov 2a2975cb97 Merge branch 'PHP-5.5' 2013-02-04 13:50:23 +01:00
Xinchen Hui 34381de5f3 Merge branch 'PHP-5.5' 2013-02-04 14:22:17 +08:00
Felipe Pena 112e428752 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed ZTS build
  News about FR #49180.
2013-02-03 11:00:58 -02:00
Martin Jansen 80be1432c0 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add option to specific the expected separator character.
  There is no need to use memchr() for comparisons in these places.
  ext/filter support for validating MAC addresses.
2013-02-03 13:24:04 +01:00
Gustavo Lopes 2b2a34689c Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix test on Windows.
  NEWS/UPGRADING for changes in sockets, intl
2013-02-03 02:07:08 +01:00
Gustavo Lopes 4138a8146e Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug and hopefully build on WinSDK 6.1
2013-02-03 01:45:14 +01:00
Gustavo Lopes da0012dc26 Merge branch 'PHP-5.5'
* PHP-5.5: (40 commits)
  php_strerror in ext/sockets renamed in 5.5
  Move macro back to .c file
  Fix multicast.c not defining errno on Windows
  Fix non-Windows build
  send/recvmsg() support for Windows
  Remove some pre-vista code
  Revert "Payload of HOPLIMIT/TCLASS are 8-bit"
  Ensure memory is initialized
  Payload of HOPLIMIT/TCLASS are 8-bit
  Fix buf in string -> int conv.
  Build fixes; accept names for if_index
  Refactoring: move stuff to new conversions.c
  Support sticky IPV6_PKTINFO
  Rename some functions for consistency
  Destroy ancillary registry on shutdown
  Move some multicast stuff to multicast.c
  Fix mcast_ipv6_send test
  Check return of fstat()
  Fix build on Mac OS X
  Register extra MSG_* constants
  ...
2013-02-02 18:42:01 +01:00
Nikita Popov 86ee2c60c4 Merge branch 'PHP-5.5' 2013-02-01 19:53:23 +01:00
Remi Collet 2080a13348 Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS
  Fixed bug #64128 buit-in web server is broken on ppc64.
2013-02-01 19:27:22 +01:00
Nikita Popov 5c3c31127e Merge branch 'PHP-5.5' 2013-02-01 18:36:10 +01:00
Anatoliy Belsky deddec4a15 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix enchant compilation under vc11
2013-02-01 12:44:00 +01:00
Johannes Schlüter 8460e0971f Merge branch 'PHP-5.5' 2013-02-01 12:32:30 +01:00
Remi Collet b12a574ee2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Mark this test as requiring internet connecion.
2013-01-31 14:39:54 +01:00
Remi Collet 9175da5036 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix failed test: sys_errlist[116] have changed on recent glibc (Fedora 18) old: Stale NFS file handle new: Stale file handle
2013-01-31 14:26:10 +01:00
Johannes Schlüter 4891d3ffe6 Merge branch 'PHP-5.5' 2013-01-31 00:59:27 +01:00
Lars Strojny 06b1e6a4d3 Merge branch 'PHP-5.5' 2013-01-31 00:35:35 +01:00
Nikita Popov ea56a894e8 Merge branch 'PHP-5.5' 2013-01-30 23:55:59 +01:00
Nikita Popov 9a25dd382c Merge branch 'PHP-5.5' 2013-01-30 20:42:30 +01:00
Nikita Popov 6a70c97dc4 Merge branch 'PHP-5.5'
Conflicts:
	configure.in
	main/php_version.h
2013-01-30 20:38:04 +01:00
Nikita Popov 30270af777 Merge branch 'PHP-5.4' into PHP-5.5
Conflicts:
	configure.in
	main/php_version.h
2013-01-30 20:34:01 +01:00
Jelle Zijlstra 09e73fd80e Fix build problem in C++11 2013-01-30 19:08:45 +01:00
Ferenc Kovacs 57438e5f77 Merge branch 'PHP-5.5'
* PHP-5.5:
  having xz makes it three. thanks Mike Ford for spotting it
2013-01-30 17:40:57 +01:00
Kalle Sommer Nielsen ee149cdd2b Test commit (simple WS change) 2013-01-30 16:16:43 +01:00
Ferenc Kovacs c16d8c521e Merge branch 'PHP-5.5'
* PHP-5.5:
  now we have also an xz archive
2013-01-30 14:13:31 +01:00
Stanislav Malyshev 7ae80c585f Merge branch 'PHP-5.5'
* PHP-5.5:
  forgot this file :(
2013-01-29 15:03:19 -08:00
Stanislav Malyshev ffbd93bdca Merge branch 'PHP-5.5'
* PHP-5.5:
  branched 5.4.12
  update NEWS
2013-01-29 12:35:08 -08:00
Stanislav Malyshev 861c16d656 Merge branch 'PHP-5.5'
* PHP-5.5:
  complete zts fix
2013-01-29 12:12:58 -08:00
Johannes Schlüter ac8fcecd5c Merge branch 'PHP-5.5' 2013-01-29 19:50:44 +01:00
Johannes Schlüter 40dd32788c Merge branch 'master' of git.php.net:/php-src 2013-01-29 19:50:25 +01:00
Gustavo Lopes 5198a860c7 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed paramter count
  Make converter work on VS
2013-01-29 19:20:15 +01:00
Gustavo Lopes ae0c9d547d Merge branch 'PHP-5.5'
* PHP-5.5:
  intl/converter in line w/ intl error handling
  Fix zpp() call in intl/converter
  Write local err on intlcal_get_time_zone() failure
  Improve ERROR.CONVENTIONS
  Fix arginfo of BreakIterator::getLocale
  intl: doc explaining error conventions
  Add UConverter class (ICU's UConverter API)
2013-01-29 19:12:14 +01:00
Felipe Pena 9307126fe5 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed ZTS build
2013-01-29 09:27:09 -02:00
Stanislav Malyshev 0ad8940814 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #62524, only follow redirects in file streams for 3xx HTTP statuses
2013-01-29 00:29:11 -08:00
Stanislav Malyshev 992bba6aef Merge branch 'PHP-5.5'
* PHP-5.5:
  Add news for bug #60524
  Implemented Feature #60524 (sys_temp_dir)

Conflicts:
	UPGRADING
2013-01-28 22:56:51 -08:00
Stanislav Malyshev 383e317269 oops, unintended addition 2013-01-28 22:28:55 -08:00
Stanislav Malyshev 24447dca5d post-5.5 changes for bug #46439 as described in the RFC 2013-01-28 22:26:59 -08:00
Stanislav Malyshev 1ca429e1d6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Implement fix for bug #46439 - add CURLFile class for safer uploads

Conflicts:
	UPGRADING
2013-01-28 22:24:56 -08:00
Stanislav Malyshev ba7544beb2 Merge branch 'PHP-5.5'
* PHP-5.5:
  add new features

Conflicts:
	UPGRADING
2013-01-28 12:14:56 -08:00
Anatoliy Belsky 4af8ceb3b2 Merge branch 'PHP-5.5'
* PHP-5.5:
  allow for libpng 1.5.x
2013-01-28 13:24:39 +01:00
Stanislav Malyshev 59cc4d7679 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #60833 - self, parent, static behave inconsistently case-sensitive

Conflicts:
	UPGRADING
2013-01-27 18:07:42 -08:00
Stanislav Malyshev ebc80d62ec Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix missing parameter
2013-01-27 17:11:53 -08:00
Ferenc Kovacs 016c130f21 now we have also an xz archive 2013-01-24 12:56:55 +01:00
Stanislav Malyshev c493173f8e Merge branch 'PHP-5.5'
* PHP-5.5:
  fix tests
  fix tests
2013-01-23 10:45:12 -08:00
Gustavo Lopes ddc98aa814 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix bug #64023 (__toString() & SplFileInfo)
2013-01-23 13:26:15 +01:00
Andrey Hristov 40d9075677 Merge branch 'PHP-5.5' 2013-01-22 16:49:13 +01:00
Xinchen Hui 34928ee9c8 Merge branch 'PHP-5.5' 2013-01-22 17:00:15 +08:00
Stanislav Malyshev c8e4c4c569 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix tests
2013-01-22 00:37:26 -08:00
Xinchen Hui 679f6e3f56 Merge branch 'PHP-5.5' 2013-01-21 11:49:01 +08:00
Xinchen Hui a7cb5724c3 Merge branch 'PHP-5.5' 2013-01-19 17:03:53 +08:00
Felipe Pena 6c8f9c3451 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed ZTS build
2013-01-18 22:15:22 -02:00
Lars Strojny b1ddfcbee3 Merge branch 'PHP-5.5' 2013-01-19 01:01:39 +01:00
Stanislav Malyshev f02373fc5a Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #63462 (Magic methods called twice for unset protected properties)
2013-01-18 13:45:40 -08:00
Gustavo Lopes 5da05e5f0a Merge branch 'PHP-5.5'
* PHP-5.5:
  NEWS for bug #64011. See 77ee200
  Fix bug #64011 (get_html_translation_table())
  Fix News
2013-01-18 12:12:55 +01:00
Ard Biesheuvel 35154c7ebc Update config.sub to latest GPLv2 upstream version
This adds the ability to configure/build for 64-bit ARMv8,
which uses the host triplet 'aarch64-linux-gnu'.

Source:
  http://git.savannah.gnu.org/gitweb/?p=config.git;h=306afce
2013-01-18 10:31:05 +01:00
Xinchen Hui a499a655ee Merge branch 'PHP-5.5' 2013-01-18 15:51:32 +08:00
Xinchen Hui 87d5701065 Fix skipif section 2013-01-18 15:12:51 +08:00
Ard Biesheuvel ffc8850d44 Merge branch 'feature/linaro-arm-performance'
* feature/linaro-arm-performance:
  Added ARM accelerated implementations for ZEND_SIGNED_MULTIPLY_LONG()
  Added test cases for ZEND_SIGNED_MULTIPLY_LONG()
2013-01-17 18:07:10 +01:00
Ard Biesheuvel 0b8ec19629 Added ARM accelerated implementations for ZEND_SIGNED_MULTIPLY_LONG()
Added inline assembler implementations:
- for 32-bit ARM, as the existing C implementation uses 64-bit
integer arithmetic, which relies on software emulation by libgcc;
- for 64-bit ARM, as the existing C implementation uses long doubles
to check for overflow before using the integer result.

Also updated my email address and fixed some whitespace
2013-01-17 18:04:05 +01:00
Ard Biesheuvel abb12f5d7b Added test cases for ZEND_SIGNED_MULTIPLY_LONG()
Before making changes to the implementation of
ZEND_SIGNED_MULTIPLY_LONG(), add some test cases
to make sure the various implementations remain
equivalent.
2013-01-17 17:41:58 +01:00
Gustavo Lopes 979ca53734 Merge branch 'PHP-5.5'
* PHP-5.5:
  Update README.PARAMETER_PARSING_API
  Export zend_parse_parameter()
  Expose zend_parse_arg() as zend_parse_parameter()
  zend_parse_parameters: allow ! for non pointers
2013-01-16 23:37:42 +01:00
Johannes Schlüter 7276769c4a Merge branch 'PHP-5.5' 2013-01-16 17:39:09 +01:00
Adam Harvey 6f23a2d70a Merge branch 'PHP-5.5'
* PHP-5.5:
  Update the arguments in the prototype of fpm_socket_unix_test_connect().
2013-01-16 10:21:51 +08:00
Felipe Pena 5d0cd72394 Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed ZTS build
2013-01-15 19:59:30 -02:00
Felipe Pena 3efdfb54f3 Merge branch 'master' of git.php.net:php-src 2013-01-15 19:45:43 -02:00
Felipe Pena 7629c8db40 - Fixed ZTS build 2013-01-15 19:45:09 -02:00
Anatoliy Belsky 41433a52d6 Merge branch 'PHP-5.5'
* PHP-5.5:
  fixed build
  NEWS for bug #63893
2013-01-15 22:40:31 +01:00
Lars Strojny 85a949d9d4 Merge branch 'PHP-5.5' 2013-01-15 22:12:09 +01:00
Gustavo Lopes 5466fd1866 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed inconsequential bug in strtr()
  UPGRADING.INTERNALS: document zend_qsort_r
  Add zend_qsort_r & use it in strtr
  NEWS for bug #63893
  Remove _GNU_SOURCE, add local heap sort
  The compiler can figure this out
  Remove unused block
  strtr() with 2nd param array - optimization
  Refactoring, bugs & leaks
  Optimize strtr w/ 2nd arg array
2013-01-15 21:47:33 +01:00
Andrey Hristov 9be02af4ef Merge branch 'PHP-5.5' 2013-01-15 12:21:22 +01:00
Andrey Hristov 31f3f2d37d Merge branch 'PHP-5.5' 2013-01-15 12:20:24 +01:00
Andrey Hristov 69f010c99d Merge branch 'PHP-5.5' 2013-01-15 11:33:07 +01:00
Andrey Hristov 0b0f87e822 Merge branch 'master' of ssh://git.php.net/php-src 2013-01-15 11:07:58 +01:00
Andrey Hristov a7fc90703f Merge branch 'PHP-5.5' 2013-01-15 11:07:08 +01:00
Adam Harvey 40c1122dcc Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
This reverts commit 0510701474.
2013-01-15 17:40:23 +08:00
Adam Harvey 232cf4a640 Revert "Update fputcsv() to escape all characters equally."
On second thoughts, while the behaviour _is_ broken, this isn't the right fix.

This reverts commit 9b5cb0e805.
2013-01-15 17:40:23 +08:00
Andrey Hristov c77fe090ea Merge branch 'master' of ssh://git.php.net/php-src
Conflicts:
	NEWS
2013-01-15 10:40:15 +01:00
Andrey Hristov c4fe37bd8c Merge branch 'PHP-5.5'
Conflicts:
	NEWS
2013-01-15 10:12:54 +01:00
Lars Strojny 9d88c8d904 Merge branch 'PHP-5.5' 2013-01-15 09:35:47 +01:00
Stanislav Malyshev c3a63f580c Merge branch 'PHP-5.5'
* PHP-5.5:
  fix NEWS
2013-01-15 00:08:44 -08:00
Stanislav Malyshev 71330a771d Merge branch 'PHP-5.5'
* PHP-5.5:
  fix NEWS
2013-01-15 00:07:22 -08:00
Adam Harvey 587ea700cd Merge branch 'PHP-5.5'
* PHP-5.5:
  Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa.
2013-01-15 15:52:12 +08:00
Xinchen Hui 0b5e833db8 Merge branch 'PHP-5.5' 2013-01-15 15:34:10 +08:00
Adam Harvey 1794ef4736 Merge branch 'PHP-5.5'
* PHP-5.5:
  Update fputcsv() to escape all characters equally.
2013-01-15 15:26:50 +08:00
Xinchen Hui a744390c50 Merge branch 'PHP-5.5' 2013-01-15 10:41:07 +08:00
Lars Strojny 212f9f05f0 Merge branch 'PHP-5.5' 2013-01-14 21:43:07 +01:00
Derick Rethans 3f20a2dec3 Merge branch 'PHP-5.5' 2013-01-14 20:39:06 +00:00
Derick Rethans cca1a6e344 Merge branch 'PHP-5.5' 2013-01-14 20:35:13 +00:00
Lars Strojny fd72588979 Merge branch 'PHP-5.5' 2013-01-14 21:25:01 +01:00
Lars Strojny ef6ae113f1 Merge branch 'PHP-5.5' 2013-01-14 20:43:55 +01:00
Lars Strojny 02d04c244f Merge branch 'PHP-5.5' 2013-01-14 18:54:08 +01:00
Lars Strojny df8a9e1ecb Merge branch 'PHP-5.5' 2013-01-14 18:16:48 +01:00
Lars Strojny 0c153aeb3b Merge branch 'PHP-5.5' 2013-01-14 17:44:03 +01:00
Xinchen Hui 7a31692253 Merge branch 'PHP-5.5' 2013-01-14 17:09:05 +08:00
Xinchen Hui f6260b36dd Merge branch 'PHP-5.5' 2013-01-14 16:24:26 +08:00
Adam Harvey 5c7ae74f10 Merge branch 'PHP-5.5'
* PHP-5.5:
  Tinker with UPGRADING's wording for the format string changes for clarity.
2013-01-14 13:56:22 +08:00
Stanislav Malyshev 308d817fb6 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #63982: isset() inconsistently produces a fatal error on protected property
  different OSes have different messages, and that's not what the test is about anyway
2013-01-13 17:29:06 -08:00
Arnaud Le Blanc bbf1c9c4a7 Merge branch 'PHP-5.5' 2013-01-13 15:47:33 +01:00
Dmitry Stogov 30588d8c50 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed uninitialized zval.type (Yoram)
2013-01-10 18:54:56 +04:00
ULF WENDEL 9202225f29 Merge branch 'PHP-5.5'
* PHP-5.5:
  MySQL 5.6 EXPIRE PASSWORD flag tests
2013-01-10 14:54:01 +01:00
Remi Collet 79dc69b75f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix test after fix for bug #63943 (Bad warning text from strpos() on empty needle) See commit c05ee74e7f
2013-01-10 11:18:59 +01:00
Andrey Hristov 1b25386175 Merge branch 'PHP-5.5' 2013-01-09 19:15:57 +01:00
Andrey Hristov c328520e07 Merge branch 'PHP-5.5' 2013-01-09 19:04:05 +01:00
Andrey Hristov cd45e54006 Merge branch 'PHP-5.5' 2013-01-09 18:41:06 +01:00
Andrey Hristov 96ff156f06 Merge branch 'PHP-5.5' 2013-01-09 18:31:15 +01:00
Andrey Hristov 34d0562a4f Merge branch 'PHP-5.5' 2013-01-09 15:33:32 +01:00
Andrey Hristov 8494671de4 Merge branch 'master' of ssh://git.php.net/php-src 2013-01-09 15:07:36 +01:00
Dmitry Stogov 0132cb694d Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed compilator bug that might cause jump depended on unitialized value
2013-01-09 17:53:05 +04:00
Andrey Hristov 3f248fef05 Merge branch 'PHP-5.5' 2013-01-09 14:51:02 +01:00
Dmitry Stogov 149cc8d69d Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63882 (zend_std_compare_objects crash on recursion)
2013-01-09 11:33:44 +04:00
Xinchen Hui f584b9ac50 Merge branch 'PHP-5.5' 2013-01-09 10:58:27 +08:00
Joey Smith c3acefd9ea Fix a typo in the ZipArchive error messages 2013-01-08 14:18:31 -07:00
Pierre Joye c41291feb9 Merge branch 'master' of git.php.net:php-src 2013-01-08 15:21:41 +01:00
Pierre Joye f566b4d321 Merge branch 'PHP-5.5'
* PHP-5.5:
  - fix bug #47358, glob returns error, should be empty array()
  - NEWS entry for #50524
2013-01-08 15:16:35 +01:00
Pierre Joye 10a2c0d574 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  - fix bug #47358, glob returns error, should be empty array()
  - NEWS entry for #50524
2013-01-08 15:13:40 +01:00
Pierre Joye 2fb7cd30c5 - fix bug #47358, glob returns error, should be empty array() 2013-01-08 15:06:58 +01:00
Pierre Joye 50ceeb9f75 - fix bug #47358, glob returns error, should be empty array() 2013-01-08 15:02:04 +01:00
Adam Harvey 56dd1e30f5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add NEWS for the previously cherry picked commit.
  sapi/litespeed/lsapi_main.c: Fix bug #63228
2013-01-08 11:45:49 +08:00
Andrey Hristov 4a68c46594 Merge branch 'PHP-5.5'
Conflicts:
	NEWS
2013-01-07 16:46:16 +01:00
Pierre Joye bcb3ad043a - NEWS entry for #50524 2013-01-07 13:09:20 +01:00
Pierre Joye 7a13ce61e0 Merge branch 'PHP-5.5'
* PHP-5.5:
  - fix the fix for bug #50524
2013-01-07 13:04:40 +01:00
Anatoliy Belsky ae0c512ffd Merge branch 'PHP-5.5'
* PHP-5.5:
  fix windows build
  News entry for bug #52126

Conflicts:
	NEWS
2013-01-06 18:42:06 +01:00
Derick Rethans 8bca904f96 Merge branch 'master' of git.php.net:/php-src 2013-01-06 15:10:36 +00:00
Derick Rethans 65bae39770 Merge branch 'PHP-5.5' 2013-01-06 15:07:34 +00:00
Lars Strojny 878780c6bb Merge branch 'PHP-5.5' 2013-01-06 15:12:07 +01:00
Lars Strojny 925da6b14d Merge branch 'PHP-5.5' 2013-01-06 14:55:05 +01:00
Lars Strojny 44f564e3e6 Merge branch 'PHP-5.5' 2013-01-06 14:12:19 +01:00
Xinchen Hui 786d34f13b Merge branch 'PHP-5.5' 2013-01-06 10:25:04 +08:00
Lars Strojny 9fae5b68c8 Merge branch 'PHP-5.5' 2013-01-06 03:23:36 +01:00
Lars Strojny ce76ec56d9 Merge branch 'PHP-5.5' 2013-01-06 02:11:34 +01:00
Pierrick Charron 4084a02ff9 Merge branch 'PHP-5.5'
* PHP-5.5:
  Improve resource management for curl handle
2013-01-05 11:12:00 -05:00
Colin Viebrock 98a3d5acc0 update Zend Engine logo as per Zeev, and tweak PHP logos ... :) 2013-01-04 12:05:27 -06:00
Xinchen Hui 8a2208a33c Merge branch 'PHP-5.5' 2013-01-04 11:06:26 +08:00
Stanislav Malyshev 782f4ac23a Merge branch 'PHP-5.5'
* PHP-5.5:
  5.4.12-dev
2013-01-03 17:34:21 -08:00
Johannes Schlüter 0c6ce227dc Merge branch 'PHP-5.5' 2013-01-03 23:00:30 +01:00
Remi Collet a3b7d24e8e Merge branch 'PHP-5.5'
* PHP-5.5:
  remove set but not used variables
2013-01-02 16:57:44 +01:00
Stanislav Malyshev 5a27e9760b Merge branch 'PHP-5.5'
* PHP-5.5:
  add bug #63762
2013-01-01 22:10:22 -08:00
Stanislav Malyshev de816469ef Merge branch 'PHP-5.5'
* PHP-5.5:
  add fix #43177
2013-01-01 21:24:43 -08:00
Stanislav Malyshev 6da86acfae Merge branch 'PHP-5.5'
* PHP-5.5:
  Bug #43177: If an eval() has a parse error, the overall exit status and return code should not be affected.
  fix NEWS
2013-01-01 21:21:42 -08:00
Pierrick Charron a63a725301 Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove passwd handler from struct when not needed
2013-01-01 21:18:08 -05:00
Xinchen Hui 642721b38a Merge branch 'PHP-5.5' 2013-01-01 16:39:03 +08:00
Pierrick Charron ae5d86270f Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63874 (Segfaul if php_strip_whitespace has heredoc)
2012-12-29 23:16:53 -05:00
Lars Strojny 3b022e57ed Merge branch 'PHP-5.5' 2012-12-29 03:38:23 +01:00
Pierrick Charron 90cbe2a01f Merge branch 'PHP-5.5'
* PHP-5.5:
  Add new curl options
2012-12-28 00:53:03 -05:00
Pierrick Charron f3ff33a2b5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed #63859 Memory leak when reusing curl-handle
2012-12-27 13:39:58 -05:00
Pierrick Charron c9a080d09f Merge branch 'PHP-5.5'
* PHP-5.5:
  Revert "Remove a useless memory write in zend_llist_del_element"
2012-12-26 10:19:04 -05:00
Pierrick Charron 407f851732 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix ext/curl tests to work on every libcurl versions
2012-12-26 00:44:25 -05:00
Pierrick Charron d87ad19683 Merge branch 'PHP-5.5'
* PHP-5.5:
  Remove a useless memory write in zend_llist_del_element
2012-12-25 20:59:38 -05:00
Dmitry Stogov ba6317b05e Merge branch 'PHP-5.5'
* PHP-5.5:
  spelling
2012-12-25 16:24:09 +04:00
Dmitry Stogov 245dbb043e Merge branch 'PHP-5.5'
* PHP-5.5:
  spelling
2012-12-25 16:22:22 +04:00
Dmitry Stogov 8728ca65c6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed ZTS build
2012-12-25 13:39:13 +04:00
Dmitry Stogov f3ea497377 Merge branch 'PHP-5.5'
* PHP-5.5:
  Removed deprecated fields
2012-12-25 10:50:35 +04:00
Dmitry Stogov 3b17a09017 Merge branch 'PHP-5.5'
* PHP-5.5:
  Traits refactoring
2012-12-25 10:34:07 +04:00
Nikita Popov fd25d48494 Merge branch 'PHP-5.5' 2012-12-24 00:30:26 +01:00
Pierrick Charron c5cfe37def Merge branch 'PHP-5.5'
* PHP-5.5:
  Update NEWS
  New curl_pause() function
  Support for curl_strerror and curl_multi_strerror
  Add curl_multi_setopt and clean curl_share_setopt
  Remove duplicated function definition
2012-12-23 17:51:43 -05:00
Pierrick Charron 6ec81361fe Merge branch 'PHP-5.5'
* PHP-5.5:
  Update NEWS file
  Fixed segfault due to libcurl connection caching
2012-12-22 19:12:27 -05:00
Pierrick Charron 657d3f18f2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Update NEWS file
  Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)
  CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)
2012-12-21 19:29:14 -05:00
Pierrick Charron 9cf98be846 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix test to work on every libcurl version
  - Fixed typo on "SKIPIF" (causing make test to abort on some systems)
2012-12-21 12:26:03 -05:00
Pierrick Charron a6a4323426 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix test
2012-12-21 11:50:50 -05:00
Nikita Popov 1f4c71b760 Merge branch 'PHP-5.5' 2012-12-21 17:34:14 +01:00
Nikita Popov 4509016309 Merge branch 'PHP-5.5' 2012-12-21 01:58:29 +01:00
Nikita Popov 68730388ae Merge branch 'PHP-5.5' 2012-12-20 20:36:06 +01:00
Rasmus Lerdorf d417a054e1 Merge branch 'PHP-5.5' 2012-12-19 23:01:00 -05:00
Pierrick Charron e33e143296 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #55438 (Curlwapper is not sending http header randomly)
2012-12-19 19:47:34 -05:00
Johannes Schlüter 129580a81c Merge branch 'PHP-5.5' 2012-12-19 17:02:12 +01:00
Andrey Hristov 456e37da12 Merge branch 'PHP-5.5' 2012-12-19 16:58:47 +01:00
Andrey Hristov 87f80928ba Merge branch 'master' of ssh://git.php.net/php-src 2012-12-19 16:20:31 +01:00
Andrey Hristov d57e474267 Merge branch 'PHP-5.4' 2012-12-19 16:20:19 +01:00
Nikita Popov 0e781e2309 Merge branch 'PHP-5.5' 2012-12-19 15:23:52 +01:00
Andrey Hristov 0a8777a515 Merge branch 'master' of ssh://git.php.net/php-src 2012-12-19 15:07:03 +01:00
Andrey Hristov c780ddbb50 Merge branch 'PHP-5.4'
Conflicts:
	ext/mysqlnd/mysqlnd_alloc.c
2012-12-19 15:05:47 +01:00
Remi Collet f98a03b144 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix failing test on Linux build
2012-12-19 10:25:16 +01:00
Nikita Popov 5f7c478d53 Merge branch 'PHP-5.5' 2012-12-18 21:41:55 +01:00
David Soria Parra 2041e0dc18 Merge branch 'PHP-5.5'
* PHP-5.5:
  News for PHP 5.5.0 Alphas
2012-12-18 17:28:22 +01:00
Xinchen Hui 210d428f99 ixed bug that exception won't be catched
Related failed test Zend/tests/bug35437.phpt (after he latest
execute_data improvement, run with non CALL vm kind)
2012-12-18 15:34:47 +08:00
Xinchen Hui d3ec9ceb25 Revert "Fixed bug that exception won't be catched"
This reverts commit 28db07a0e3.

Unexpected vm kind change
2012-12-18 15:27:54 +08:00
Xinchen Hui 28db07a0e3 Fixed bug that exception won't be catched
related failed test Zend/tests/bug35437.phpt (after he latest
execute_data improvement, run with non CALL vm kind)
2012-12-18 15:20:58 +08:00
Xinchen Hui 73c9889663 Merge branch 'PHP-5.5' 2012-12-17 14:30:41 +08:00
Xinchen Hui 6f452126ac Merge branch 'PHP-5.5' 2012-12-17 12:58:38 +08:00
Sebastian Bergmann 8e22b0408a Merge branch 'PHP-5.5' 2012-12-16 09:08:01 +01:00
Remi Collet 4ef9f00c46 Fixed bug #63706: Cannot build PHP-5.5 with --enable-dtrace on Fedora 17 2012-12-16 08:52:02 +01:00
Lars Strojny eb0693a975 Merge branch 'PHP-5.5' 2012-12-14 14:57:04 +01:00
Lars Strojny 765d5200d6 Merge branch 'master' of git://github.com/php/php-src 2012-12-14 14:56:58 +01:00
Xinchen Hui 72f7543668 Merge branch 'PHP-5.5' 2012-12-14 17:27:21 +08:00
Xinchen Hui 3acc729707 Merge branch 'PHP-5.5' 2012-12-14 17:23:07 +08:00
Xinchen Hui 1062052a0d Merge branch 'PHP-5.5' 2012-12-14 16:53:27 +08:00
Xinchen Hui a4678099a1 Add test for bug #63741 2012-12-14 16:51:34 +08:00
Dmitry Stogov ec4ff07415 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed uninitialized EX(call)->called_scope
2012-12-14 12:11:23 +04:00
Rasmus Lerdorf 42f3344d85 Merge branch 'PHP-5.5' 2012-12-13 16:54:51 -08:00
Rasmus Lerdorf c701aeba0b Merge branch 'PHP-5.5' 2012-12-13 16:43:04 -08:00
Rasmus Lerdorf 8fbeb6e342 Merge branch 'PHP-5.4' 2012-12-13 16:16:45 -08:00
Arpad Ray c66e54d72e Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix #63379 - Don't reset mod_user_is_open in destroy
2012-12-14 00:03:08 +00:00
Johannes Schlüter f8a2407655 Merge branch 'PHP-5.5' 2012-12-13 22:50:55 +01:00
Anatoliy Belsky 54a04d2553 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed mysqlnd compilation in debug mode on windows
2012-12-13 15:06:15 +01:00
Dmitry Stogov 432902a875 Merge branch 'PHP-5.5'
* PHP-5.5:
  Removed unreachable code
2012-12-13 17:51:41 +04:00
Dmitry Stogov 7dd16bcff4 Merge branch 'PHP-5.5'
* PHP-5.5:
  Removed unnecessary checks
2012-12-13 17:30:39 +04:00
Dmitry Stogov cc118f78d7 Merge branch 'PHP-5.5'
* PHP-5.5:
  Removed redundand checks from release build
2012-12-13 14:47:23 +04:00
Dmitry Stogov 20113b5640 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63757 (getenv() produces memory leak with CGI SAPI)
2012-12-13 13:41:04 +04:00
Xinchen Hui 7ed8593576 Merge branch 'PHP-5.5' 2012-12-13 10:45:50 +08:00
Xinchen Hui 3516b9857f Merge branch 'license_fix' of https://github.com/leight/php-src 2012-12-13 10:38:20 +08:00
Dmitry Stogov 0450cb7487 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Really fix test pdo_mysql_class_constants.phpt
2012-12-13 02:53:06 +04:00
Dmitry Stogov 7b84d129d7 Merge branch 'PHP-5.5'
* PHP-5.5:
  An exception thrown in try or catch block is disacarded by return statement in finally block.
2012-12-13 02:52:23 +04:00
Remi Collet 1f73ce3ed6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Really fix test pdo_mysql_class_constants.phpt
2012-12-12 16:58:51 +01:00
Dmitry Stogov e7364e14da Merge branch 'PHP-5.5'
* PHP-5.5:
  Restored proper generators behaviour in conjunction with "finally". (Nikita)
2012-12-12 17:50:01 +04:00
Leigh 349baa3da4 Fixed license
Looks like a find and replace gone wrong.
2012-12-12 12:14:52 +00:00
Remi Collet 261995e02a Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug #63738 unpack: back result with Z format
2012-12-11 16:34:51 +01:00
Dmitry Stogov 2025021ed5 Merge branch 'PHP-5.5'
* PHP-5.5:
  - generators API exported for extensions - improved RETURN sequence to avoid redundant check if op_array is a generator
2012-12-11 17:28:09 +04:00
Adam Harvey b10460dc4b Merge branch 'PHP-5.5' 2012-12-11 19:58:04 +08:00
Adam Harvey ac0fb01a21 Merge branch 'PHP-5.5'
* PHP-5.5:
  Deprecate ext/mysql.
2012-12-10 22:26:17 +08:00
Johannes Schlüter ef7ab813d8 Merge branch 'PHP-5.5' 2012-12-10 13:36:20 +01:00
Johannes Schlüter ab2bfb6000 Merge branch 'PHP-5.5' 2012-12-10 13:34:45 +01:00
Xinchen Hui 80e585027e Merge branch 'PHP-5.5' 2012-12-10 20:31:01 +08:00
Xinchen Hui 107093e4a3 Merge branch 'PHP-5.5' 2012-12-10 18:35:44 +08:00
Dmitry Stogov 3067f54b27 Merge branch 'PHP-5.5'
* PHP-5.5:
  Generatirs are going to be used less than regular functions
2012-12-06 13:20:49 +04:00
Sebastian Bergmann 4f4262e9be Merge branch 'PHP-5.5' 2012-12-06 09:44:20 +01:00
Sebastian Bergmann 6fc2ecaaf2 Merge branch 'PHP-5.5' 2012-12-06 09:30:47 +01:00
Sara Golemon 5ac35770f4 Add UConverter class (ICU's UConverter API)
RFC at http://wiki.php.net/rfc/uconverter
2012-12-05 15:07:36 -08:00
Johannes Schlüter c058ed51e3 Merge branch 'PHP-5.5' 2012-12-05 19:03:15 +01:00
Dmitry Stogov 5ae182e349 Merge branch 'PHP-5.5'
* PHP-5.5:
  Use get_gc instead of hacks of get_properties
2012-12-05 18:00:00 +04:00
Dmitry Stogov 73601e21e1 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63680 (Memleak in splfixedarray with cycle reference)
2012-12-05 17:56:10 +04:00
Dmitry Stogov 55e1a9786a Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed comments
2012-12-05 16:03:37 +04:00
Dmitry Stogov 4facafddbb Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Two tests deactivated until #63688 was fixed
2012-12-05 13:36:55 +04:00
Dmitry Stogov 77a9b9ac22 Merge branch 'PHP-5.5'
* PHP-5.5:
  Slight performance improvement
2012-12-05 13:36:28 +04:00
Anatoliy Belsky 9e50c54eec Merge branch 'PHP-5.5'
* PHP-5.5:
  Two tests deactivated until #63688 was fixed
2012-12-05 09:58:25 +01:00
Stanislav Malyshev fdd339677b Merge branch 'PHP-5.5'
* PHP-5.5:
  5.4.11-dev
2012-12-04 21:33:44 -08:00
Stanislav Malyshev 7883c07297 Merge branch 'PHP-5.5'
* PHP-5.5:
  update NEWS
2012-12-04 21:28:12 -08:00
Stanislav Malyshev 8277f0f3f0 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix bug #63666 - Poor date() performance
2012-12-04 21:03:14 -08:00
David Soria Parra 981bc6fd96 Merge branch 'PHP-5.5'
* PHP-5.5:
  News for enabling systemtap support on linux
2012-12-05 00:54:45 +01:00
David Soria Parra 808afd6db3 Merge branch 'PHP-5.5'
* PHP-5.5:
  Pass zend_execute_data instead of zend_op_array
2012-12-05 00:46:30 +01:00
David Soria Parra e4c1aa33ab Merge branch 'PHP-5.5'
* PHP-5.5:
  Overwrite execute_ex instead of execute in dtrace_execute
  Enable dtrace probes on linux as they are compatible with systemtap
2012-12-04 21:02:23 +01:00
Colin Viebrock 6eb0aa9794 fix for scrolling, other minor tweaks 2012-12-04 09:37:10 -06:00
Dmitry Stogov 4d5859558a Merge branch 'PHP-5.5'
* PHP-5.5:
  Increased version numbers
2012-12-04 10:48:49 +04:00
Dmitry Stogov f4263c2d0f Merge branch 'PHP-5.5'
* PHP-5.5:
  Moved zend_create_execute_data_from_op_array() implementation from zend_vm_execute.skl to zend_execute.c
2012-12-04 10:43:59 +04:00
Dmitry Stogov 3f47131fc6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Optimized access to temporary and compiled VM variables
2012-12-04 10:35:52 +04:00
Remi Collet 65973c240e Merge branch 'PHP-5.5'
* PHP-5.5:
  Reduce case where this test will fails: - no connection AND no mysqli extension
2012-12-03 15:35:15 +01:00
Anatoliy Belsky 5619122fd2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Revert the previous test fix
2012-12-03 15:16:54 +01:00
Remi Collet f78a68ff95 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix inifile.c:419:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] Please check this minor change.
  use php_stream_copy_to_stream_ex instead of deprecated php_stream_copy_to_stream
2012-12-03 13:39:58 +01:00
Anatoliy Belsky 243da297c3 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix test with a slightly different warning in TS
  Adding tests for private and protected properties
  Fixing test according to @jpauli's suggestions
  Adding regression test for behavior of magic methods with unset public properties

Conflicts:
	NEWS
2012-12-03 10:53:14 +01:00
Lars Strojny 87b8ee755a Merge branch 'PHP-5.5' 2012-12-02 19:52:16 +01:00
Lars Strojny d1b8c6df76 Merge branch 'PHP-5.4' 2012-12-02 19:41:55 +01:00
Remi Collet d77dab19eb Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
2012-12-01 10:26:55 +01:00
Felipe Pena 80004db65d Merge branch 'PHP-5.5'
* PHP-5.5:
  - Fixed ZTS build
2012-11-30 09:07:47 -02:00
Dmitry Stogov 8cbe4f7e17 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63066 (Calling an undefined method in a generator results in a seg fault) (fixed with previous commit).
2012-11-30 14:16:38 +04:00
Dmitry Stogov 3985f06115 Merge branch 'PHP-5.5'
* PHP-5.5:
  . The VM stacks for passing function arguments and syntaticaly nested calls were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more. . Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.
2012-11-30 14:03:23 +04:00
Xinchen Hui db74b9c76e Merge branch 'PHP-5.5' 2012-11-30 14:50:35 +08:00
Xinchen Hui 79331f7533 Merge branch 'PHP-5.5' 2012-11-30 14:34:10 +08:00
Xinchen Hui d173909e88 Merge branch 'PHP-5.5' 2012-11-30 14:31:19 +08:00
Dmitry Stogov 2d458b2348 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63271 (SOAP wsdl cache is not enabled after initial requests)
2012-11-29 16:45:22 +04:00
Dmitry Stogov 2cfe91f684 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #61557 (Crasher in tt-rss backend.php)
2012-11-29 14:43:46 +04:00
Dmitry Stogov 8b7df4bbd8 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63635 (Segfault in gc_collect_cycles)
2012-11-29 13:48:44 +04:00
Remi Collet 351e80e753 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug #63581 Possible buffer overflow
  Fixed Bug #63581 Possible null dereference
2012-11-28 10:39:23 +01:00
Remi Collet e4eb026834 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  BFN #61272
  fix bug #61272 ob_start callback get passed empty string
2012-11-28 10:32:23 +01:00
Michael Wallner 178e9919b2 Merge branch 'PHP-5.4' 2012-11-28 10:24:42 +01:00
Remi Collet 6c7c11c2cc Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  updated NEWS
  Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
  This test isn't supposed to pass on windows
  Fixed Bug #63614 (Fatal error on Reflection)
2012-11-28 10:23:50 +01:00
Anatoliy Belsky df3e1fd484 Merge branch 'PHP-5.5'
* PHP-5.5:
  updated NEWS
  Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows

Conflicts:
	NEWS
2012-11-27 17:05:48 +01:00
Anatoliy Belsky 1e8b6536ab Merge branch 'PHP-5.5'
* PHP-5.5:
  This test isn't supposed to pass on windows
2012-11-27 16:14:00 +01:00
Xinchen Hui 344f228798 Merge branch 'PHP-5.5' 2012-11-27 13:38:38 +08:00
Remi Collet 23e1996a0e Merge branch 'PHP-5.5'
* PHP-5.5:
  Related bug #63588 fix length computation + optimize for speed
2012-11-26 13:06:00 +01:00
Remi Collet a45aad9f1f Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  count($test_files) already be checked above : if ($test_cnt)
2012-11-26 13:04:34 +01:00
Xinchen Hui 0fa937e106 Merge branch 'PHP-5.5' 2012-11-25 16:20:30 +08:00
Remi Collet 128cc30d85 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63588 Duplicate implementation of php_next_utf8_char
2012-11-25 08:21:35 +01:00
Remi Collet 1550fd880e Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug #63361 Header not installed
  NEWS entries
2012-11-25 07:49:27 +01:00
Xinchen Hui 62c3ef9c32 Merge branch 'PHP-5.5' 2012-11-25 12:05:09 +08:00
Xinchen Hui 20d7ef43f7 XFAIL test should not be considered as failed 2012-11-25 11:46:35 +08:00
Xinchen Hui f03a91226e let make test report the run-test result
(patch by reeze.xia@gmail.com)
2012-11-25 11:45:36 +08:00
Xinchen Hui f50f703571 Merge branch 'php.ini_text_fix' of https://github.com/BryanH/php-src 2012-11-25 11:24:32 +08:00
Stanislav Malyshev f3f4556cc6 Merge branch 'PHP-5.5'
* PHP-5.5:
  fix NEWS
  5.4.10-dev
2012-11-24 16:30:23 -08:00
Nikita Popov 6e1b84a646 Merge branch 'PHP-5.5' 2012-11-24 19:24:40 +01:00
Remi Collet 239416dd5d Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug #63149 Feature missing with system SQLite
2012-11-24 17:57:08 +01:00
Remi Collet 5d0e82222e Merge branch 'PHP-5.5'
* PHP-5.5:
  add unit test for bug 63126
2012-11-24 17:35:30 +01:00
Remi Collet 122e2657e0 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed Bug #63126 DISABLE_AUTHENTICATOR ignores array
2012-11-24 15:04:22 +01:00
Anatoliy Belsky 35c0928334 Merge branch 'PHP-5.5'
* PHP-5.5:
  Backported the fix for bug #63248 from 5.4+
2012-11-23 14:02:11 +01:00
Anatoliy Belsky 3a83926ec1 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed test for bug #63297
2012-11-22 19:06:19 +01:00
Dmitry Stogov ffc1f5b2cd Merge branch 'PHP-5.5'
* PHP-5.5:
  Improved "finally" im[plementation
2012-11-22 15:39:48 +04:00
Johannes Schlüter 015ee80606 Merge branch 'PHP-5.5' 2012-11-21 21:11:44 +01:00
David Soria Parra fe17de54a2 Merge branch 'PHP-5.5'
* PHP-5.5:
  Add myself to QA
2012-11-21 18:42:18 +01:00
Xinchen Hui 458b71e3ee Merge branch 'PHP-5.5' 2012-11-21 12:31:16 +08:00
Xinchen Hui e27314e9fa Merge branch 'PHP-5.5'
Conflicts:
	UPGRADING
2012-11-21 12:20:21 +08:00
Adam Harvey 74d9254ecc Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Fixed bug #63468 (wrong called method as callback with inheritance)
  Add actual branch version number to UPGRADING
  Remove PHP 5.5 changes from master UPGRADING
  Put the new php.ini directives together.
  Move the deprecated functions up to the Deprecated Functionality section so they're more visible.
  Regenerate Zend ini scanner
  Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value
  Fixed ext/intl/tests/timezone_createDefault_basic.phpt
  Skip test if directory does not exist
2012-11-21 09:22:03 +08:00
Dmitry Stogov 51abbe5dea Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63468 (wrong called method as callback with inheritance)
  Add actual branch version number to UPGRADING
  Put the new php.ini directives together.
  Move the deprecated functions up to the Deprecated Functionality section so they're more visible.

Conflicts:
	UPGRADING
2012-11-20 13:17:21 +04:00
Christopher Jones ca418b233c Remove PHP 5.5 changes from master UPGRADING 2012-11-18 14:28:26 -08:00
Christopher Jones faa7b32ba4 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Regenerate Zend ini scanner
  Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value
2012-11-18 14:21:01 -08:00
Pierrick Charron 82183b7f62 Merge branch 'PHP-5.5'
* PHP-5.5:
  Regenerate Zend ini scanner
2012-11-16 18:29:59 -05:00
Pierrick Charron a4c52f0678 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value
2012-11-16 18:09:51 -05:00
Christopher Jones 05317c5986 Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
  Fixed ext/intl/tests/timezone_createDefault_basic.phpt
  Skip test if directory does not exist
  Fixed ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
  Leftover: Bump version to 5.6.0
  Fixed test sapi/cli/tests/006.phpt
  Fixed compiler reenterability
  Fixed compiler reenterability
  Updated NEWS
  UPdated NEWS
  Updated NEWS
2012-11-15 19:29:56 -08:00
Anatoliy Belsky 6311a864d2 Merge branch 'PHP-5.5' 2012-11-15 14:36:55 +01:00
Johannes Schlüter 358e8e18ab Merge branch 'PHP-5.5' 2012-11-15 12:30:10 +01:00
Adam Harvey f55019f1f7 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src: (24 commits)
  Fixed ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
  Leftover: Bump version to 5.6.0
  Fixed test sapi/cli/tests/006.phpt
  Fixed compiler reenterability
  Fixed compiler reenterability
  Updated NEWS
  UPdated NEWS
  Updated NEWS
  Bump API versions
  Bump version to 5.6.0
  Enabled apache 2.4 handler build option
  Bump version to 5.5.99 and reset NEWS
  Build .xz archive during makedist
  NEWS: remove dots at the end of the NEWS file
  PHP-5.5 is open
  Add missing parts from UPGRADING to NEWS
  Fixed sockets ext build on win
  - Updated to version 2012.10 (2012j)
  List ext/intl changes also in NEWS
  Update arginfo for preg_match_all() to reflect reality.
  ...
2012-11-15 09:31:45 +08:00
Anatoliy Belsky 8b6e0c4808 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
2012-11-14 21:31:53 +01:00
Sebastian Bergmann 79726be67d Leftover: Bump version to 5.6.0 2012-11-14 16:50:33 +01:00
Anatoliy Belsky b27ef7a4f5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed test sapi/cli/tests/006.phpt
2012-11-14 16:25:29 +01:00
Dmitry Stogov a6ab007435 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed compiler reenterability
  Fixed compiler reenterability
2012-11-14 18:42:12 +04:00
Anatoliy Belsky 45b9ae5f83 Merge branch 'PHP-5.5'
* PHP-5.5:
  Updated NEWS
  UPdated NEWS
  Updated NEWS
2012-11-14 10:17:15 +01:00
David Soria Parra 2e6a4a286e Merge branch 'PHP-5.5'
* PHP-5.5:
  Bump API versions
2012-11-13 20:58:51 +01:00
David Soria Parra d71577d2df Bump version to 5.6.0 2012-11-13 20:43:08 +01:00
Anatoliy Belsky 4259f89b12 Merge branch 'PHP-5.5'
* PHP-5.5:
  Enabled apache 2.4 handler build option
2012-11-13 19:49:10 +01:00
David Soria Parra 012519839a Bump version to 5.5.99 and reset NEWS 2012-11-13 17:42:01 +01:00
David Soria Parra ac0c20e4f8 Merge branch 'PHP-5.5'
* PHP-5.5:
  Build .xz archive during makedist
  NEWS: remove dots at the end of the NEWS file
  PHP-5.5 is open
  Add missing parts from UPGRADING to NEWS
2012-11-13 17:35:45 +01:00
Bryan Hanks, PMP e7f8f7c01c Corrected spelling of 'shortcut' 2012-11-12 13:12:13 -06:00
Bryan Hanks, PMP d0727b58da Corrected grammar/spelling of text in php.ini files
There are no actual code changes here; I corrected grammar and spelling
errors in the php.ini-production and php.ini-development files. I also
rewrote some sentences to make them less cumbersome.
2012-11-12 13:04:32 -06:00
Adam Harvey 9b433e356f Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  make failed tests fail the test target
  fix invalid read when trimming empty string
  - Fixed bug #63451 (config.guess file does not have AIX 7 defined, shared objects are not created)
2012-11-12 09:10:47 +08:00
Colin Viebrock 65411432bc Bump up table width a bit more and make columns consistent 2012-11-09 10:04:50 -06:00
Adam Harvey 509f3fe221 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  This will be PHP 5.3.20
  fix NEWS
  Fixed bug #63447 (max_input_vars doesn't filter variables when mbstring.encoding_translation = On)
  News entry for png memleak fix
  News entry for png memleak fix
  These need to be volatile in order to prevent leaking after the longjmp in the error handler
  These need to be volatile in order to prevent leaking after the longjmp in the error handler
2012-11-09 17:27:05 +08:00
Colin Viebrock ff93287fff Bringing CSS up to this decade's standards.
Here are some tweaks to the phpinfo() styling, since this really hasn't
been touched in almost a decade:
- color codes are shortened
- table width is bigger and handled via CSS
- fix so that long INI entries don't make the layout super wide
- bgcolor for "Additional Modules" wasn't set
- fix my email address

Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-11-08 12:08:45 -06:00
2655 changed files with 215054 additions and 136953 deletions

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
; http://editorconfig.org/
root = true
[*.{c,h}]
charset = UTF-8
end_of_line = LF
indent_size = 4
indent_style = tab
insert_final_newline = true
tab_width = 4
trim_trailing_whitespace = true
[*.yml]
indent_size = 2
indent_style = space
+2 -2
View File
@@ -106,7 +106,7 @@ define dump_bt
printf "%ld", $zvalue->value.lval
end
if $type == 2
printf "%lf", $zvalue->value.dval
printf "%f", $zvalue->value.dval
end
if $type == 3
if $zvalue->value.lval
@@ -185,7 +185,7 @@ define ____printzv_contents
printf "long: %ld", $zvalue->value.lval
end
if $type == 2
printf "double: %lf", $zvalue->value.dval
printf "double: %f", $zvalue->value.dval
end
if $type == 3
printf "bool: "
+3 -4
View File
@@ -135,6 +135,7 @@ tests/*/*.sh
*/tests/*/*.sh
*/*/tests/*.diff
*/*/tests/*.out
*/*/tests/*.out.png
*/*/tests/*.php
*/*/tests/*.exp
*/*/tests/*.log
@@ -219,10 +220,6 @@ ext/reflection/spl.chm
ext/simplexml/examples/security.new.xml
ext/spl/examples/.htaccess
ext/spl/examples/*.phps
ext/sqlite/weztest.sqlite
ext/sqlite/libsqlite/src/sqlite.h
ext/sqlite/libsqlite/src/parse.out
ext/sqlite/libsqlite/src/libsqlite.dsw
ext/sqlite3/tests/phpsql*
ext/sqlite3/tests/*.db
ext/sqlite3/tests/*.tmp
@@ -250,6 +247,8 @@ sapi/fpm/php-fpm.1
sapi/fpm/init.d.php-fpm
sapi/fpm/php-fpm.conf
sapi/fpm/fpm/php-cgi
sapi/phpdbg/phpdbg_parser.c
sapi/phpdbg/phpdbg_parser.h
sapi/phpdbg/phpdbg
scripts/php-config
scripts/phpize
+8 -1
View File
@@ -10,6 +10,11 @@ addons:
- libicu-dev
- libmcrypt-dev
- libtidy-dev
- libenchant-dev
- libaspell-dev
- libpspell-dev
- librecode-dev
notifications:
email:
on_failure: change
@@ -48,4 +53,6 @@ before_script:
- . ./travis/ext/pdo_pgsql/setup.sh
# Run PHPs run-tests.php
script: ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --show-diff --set-timeout 120
script:
- ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --set-timeout 120
- ./sapi/cli/php sapi/phpdbg/tests/run-tests.php -diff2stdout --phpdbg sapi/phpdbg/phpdbg
+5 -2
View File
@@ -42,7 +42,7 @@ Exceptions:
4. When writing functions that deal with strings, be sure to remember
that PHP holds the length property of each string, and that it
shouldn't be calculated with strlen(). Write your functions in a such
shouldn't be calculated with strlen(). Write your functions in such
a way so that they'll take advantage of the length property, both
for efficiency and in order for them to be binary-safe.
Functions that change strings and obtain their new lengths while
@@ -279,7 +279,10 @@ The file labelled 'EXPERIMENTAL' should include the following
information::
Any authoring information (known bugs, future directions of the module).
Ongoing status notes which may not be appropriate for SVN comments.
Ongoing status notes which may not be appropriate for Git comments.
In general new features should go to PECL or experimental branches until
there are specific reasons for directly adding it to the core distribution.
Aliases & Legacy Documentation
-----------------------------------
+3 -3
View File
@@ -181,8 +181,8 @@ STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_dblib
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
PRIMARY MAINTAINER: Adam Baratz <adambaratz@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
@@ -205,7 +205,7 @@ STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_oci
PRIMARY MAINTAINER: Unknown
PRIMARY MAINTAINER: Christopher Jones <sixd@php.net>
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
+1 -1
View File
@@ -155,7 +155,7 @@ Table of Contents
a list of all available options along with short explanations running
./configure --help. Our manual documents the different options
separately. You will find the core options in the appendix, while the
different extension specific options are descibed on the reference
different extension specific options are described on the reference
pages.
When PHP is configured, you are ready to build the module and/or
+1 -1
View File
@@ -1,6 +1,6 @@
--------------------------------------------------------------------
The PHP License, version 3.01
Copyright (c) 1999 - 2015 The PHP Group. All rights reserved.
Copyright (c) 1999 - 2016 The PHP Group. All rights reserved.
--------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
+1 -1
View File
@@ -57,7 +57,7 @@ php_lcov.info: lcov-test
cp $$x.bbg lcov_data/$$y.bbg ; \
fi; \
done; \
for dir in ext/bcmath/libbcmath ext/fileinfo/libmagic ext/gd/libgd ext/mbstring/libmbfl ext/mbstring/oniguruma ext/pcre/pcrelib ext/pdo_sqlite/libsqlite ext/sqlite/libsqlite ext/sqlite3/libsqlite ext/xmlrpc/libxmlrpc ext/zip/lib; do \
for dir in ext/bcmath/libbcmath ext/date/lib ext/fileinfo/libmagic ext/gd/libgd ext/mbstring/libmbfl ext/mbstring/oniguruma ext/pcre/pcrelib ext/pdo_sqlite/libsqlite ext/sqlite3/libsqlite ext/xmlrpc/libxmlrpc ext/zip/lib; do \
if test -d lcov_data/$$dir; then \
rm -rf lcov_data/$$dir ; \
fi; \
+2 -2
View File
@@ -53,7 +53,7 @@ install-headers:
paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
done; \
$(mkinstalldirs) $$paths && \
echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \
echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \
for i in `echo $(INSTALL_HEADERS)`; do \
if test "$(PHP_PECL_EXTENSION)"; then \
src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \
@@ -120,7 +120,7 @@ clean:
distclean: clean
rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h main/internal_functions_cli.c main/internal_functions.c stamp-h sapi/apache/libphp$(PHP_MAJOR_VERSION).module sapi/apache_hooks/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp Zend/zend_dtrace_gen.h Zend/zend_dtrace_gen.h.bak Zend/zend_config.h TSRM/tsrm_config.h
rm -f php5.spec main/build-defs.h scripts/phpize
rm -f ext/date/lib/timelib_config.h ext/mbstring/oniguruma/config.h ext/mbstring/libmbfl/config.h ext/mysqlnd/php_mysqlnd_config.h
rm -f ext/date/lib/timelib_config.h ext/mbstring/oniguruma/config.h ext/mbstring/libmbfl/config.h ext/oci8/oci8_dtrace_gen.h ext/oci8/oci8_dtrace_gen.h.bak
rm -f scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1 sapi/cgi/php-cgi.1 ext/phar/phar.1 ext/phar/phar.phar.1
rm -f sapi/fpm/php-fpm.conf sapi/fpm/init.d.php-fpm sapi/fpm/php-fpm.service sapi/fpm/php-fpm.8 sapi/fpm/status.html
rm -f ext/iconv/php_have_bsd_iconv.h ext/iconv/php_have_glibc_iconv.h ext/iconv/php_have_ibm_iconv.h ext/iconv/php_have_iconv.h ext/iconv/php_have_libiconv.h ext/iconv/php_iconv_aliased_libiconv.h ext/iconv/php_iconv_supports_errno.h ext/iconv/php_php_iconv_h_path.h ext/iconv/php_php_iconv_impl.h
+1766 -241
View File
File diff suppressed because it is too large. Load diff
-47
View File
@@ -1,47 +0,0 @@
This file describes extension module API details. Refer to
README.EXT_SKEL to create extension skeleton files. Refer to
Hacker's Guide for PHP internals.
http://www.php.net/manual/en/internals2.php
Between PHP 4.0.6 and 4.1.0, the Zend module struct changed in a way
that broke both source and binary compatibility. If you are
maintaining a third party extension, here's how to update it:
If this was your old module entry:
zend_module_entry foo_module_entry = {
"foo", /* extension name */
foo_functions, /* extension function list */
NULL, /* extension-wide startup function */
NULL, /* extension-wide shutdown function */
PHP_RINIT(foo), /* per-request startup function */
PHP_RSHUTDOWN(foo), /* per-request shutdown function */
PHP_MINFO(foo), /* information function */
STANDARD_MODULE_PROPERTIES
};
Here's how it should look if you want your code to build with PHP
4.1.0 and up:
zend_module_entry foo_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
#endif
"foo", /* extension name */
foo_functions, /* extension function list */
NULL, /* extension-wide startup function */
NULL, /* extension-wide shutdown function */
PHP_RINIT(foo), /* per-request startup function */
PHP_RSHUTDOWN(foo), /* per-request shutdown function */
PHP_MINFO(foo), /* information function */
#if ZEND_MODULE_API_NO >= 20010901
PHP_FOO_VERSION, /* extension version number (string) */
#endif
STANDARD_MODULE_PROPERTIES
};
If you don't care about source compatibility with earlier PHP releases
than 4.1.0, you can drop the #if/#endif lines.
-155
View File
@@ -1,155 +0,0 @@
1. strrpos() and strripos() now use the entire string as a needle. Be aware
that the existing scripts may no longer work as you expect.
EX :
<?php
var_dump(strrpos("ABCDEF","DEF"));
var_dump(strrpos("ABCDEF","DAF"));
?>
Will give you different results. The former returns 3 while the latter
returns false rather than the position of the last occurrence of 'D'.
The same applies to strripos().
2. Illegal use of string offsets causes E_ERROR instead of E_WARNING.
EX :
<?php
$a = "foo";
unset($a[0][1][2]);
?>
Fatal error: Cannot use string offset as an array in ... on line 1
3. array_merge() was changed to accept only arrays. If a non-array variable is
passed, a E_WARNING will be thrown for every such parameter. Be careful
because your code may start emitting E_WARNING out of the blue.
4. Be careful when porting from ext/mysql to ext/mysqli. The following
functions return NULL when no more data is available in the result set
(ext/mysql's functions return FALSE).
- mysqli_fetch_row()
- mysqli_fetch_array()
- mysqli_fetch_assoc()
5. PATH_TRANSLATED server variable is no longer set implicitly under
Apache2 SAPI in contrast to the situation in PHP 4, where it is set to the
same value as the SCRIPT_FILENAME server variable when it is not populated
by Apache. This change was made to comply with the CGI specification.
Please refer to bug #23610 for further information.
6. Starting PHP 5.0.0 the T_ML_CONSTANT constant is no longer defined by the
ext/tokenizer extension. If error_reporting is set to E_ALL notices will
be produced. Instead of T_ML_CONSTANT for /* */ the T_COMMENT constant
is used, thus both // and /* */ are resolved as the T_COMMENT constant.
However the PHPDoc style comments /** */ ,which starting PHP 5 are parsed
by PHP, are recongnized as T_DOC_COMMENT.
7. $_SERVER should be populated with argc and argv if variables_order
includes "S". If you have specifically configured your system to not
create $_SERVER, then of course it shouldn't be there. The change was to
always make argc and argv available in the CLI version regardless of the
variables_order setting. As in, the CLI version will now always populate
the global $argc and $argv variables.
8. In some cases classes must be declared before used. It only happens only
if some of the new features of PHP 5 are used. Otherwise the behaviour is
the old.
Example 1 (works with no errors):
<?php
$a = new a();
class a {
}
?>
Example 2 (throws an error):
<?php
$a = new a();
interface b{
}
class a implements b {
}
?>
Output (example 2) :
Fatal error: Class 'a' not found in /tmp/cl.php on line 2
9. get_class() starting PHP 5 returns the name of the class as it was
declared which may lead to problems in older scripts that rely on
the previous behaviour - the class name is lowercased. Expect the
same behaviour from get_parent_class() when applicable.
Example :
<?php
class FooBar {
}
class ExtFooBar extends FooBar{}
$a = new FooBar();
var_dump(get_class($a), get_parent_class($a));
?>
Output (PHP 4):
string(6) "foobar"
string(9) "extfoobar"
Output (PHP 5):
string(6) "FooBar"
string(9) "ExtFooBar"
----------------------------------------------------------------------
Example code that will break :
//....
function someMethod($p) {
if (get_class($p) != 'helpingclass') {
return FALSE;
}
//...
}
//...
Possible solution is to search for get_class() and get_parent_class() in
all your scripts and use strtolower().
10. get_class_methods() returns the names of the methods of a class as they
declared. In PHP4 the names are all lowercased.
Example code :
<?php
class Foo{
function doFoo(){}
function hasFoo(){}
}
var_dump(get_class_methods("Foo"));
?>
Output (PHP4):
array(2) {
[0]=>
string(5) "dofoo"
[1]=>
string(6) "hasfoo"
}
Output (PHP5):
array(2) {
[0]=>
string(5) "doFoo"
[1]=>
string(6) "hasFoo"
}
11. Assignment $this is impossible. Starting PHP 5.0.0 $this has special
meaning in class methods and is recognized by the PHP parser. The latter
will generate a parse error when assignment to $this is found
Example code :
<?php
class Foo {
function assignNew($obj) {
$this = $obj;
}
}
$a = new Foo();
$b = new Foo();
$a->assignNew($b);
echo "I was executed\n";
?>
Output (PHP 4):
I was executed
Output (PHP 5):
PHP Fatal error: Cannot re-assign $this in /tmp/this_ex.php on line 4
+1 -1
View File
@@ -46,7 +46,7 @@ Opening Streams
===============
In most cases, you should use this API:
PHPAPI php_stream *php_stream_open_wrapper(char *path, char *mode,
PHPAPI php_stream *php_stream_open_wrapper(const char *path, const char *mode,
int options, char **opened_path TSRMLS_DC);
Where:
+14 -14
View File
@@ -5,7 +5,7 @@ This document describes how to submit an enhancement or patch for PHP.
It's easy!
You don't need any login accounts or special access to download,
build, debug and begin submitting PHP, PECL or PEAR code, tests or
build, debug and begin submitting PHP or PECL code, tests or
documentation. Once you've followed this README and had several
patches accepted, commit privileges are often quickly granted.
@@ -16,8 +16,8 @@ http://phpadvent.org/2008/less-whining-more-coding-by-elizabeth-smith
Online Forums
-------------
There are several IRC channels where PHP developers are often
available to discuss questions. They include #php.pecl, #php.doc and
#pear on the EFNet network and #php-dev-win on FreeNode.
available to discuss questions. They include #php.pecl and #php.doc
on the EFNet network and #php-dev-win on FreeNode.
PHP Patches
@@ -89,7 +89,7 @@ of type 'text/*' are accepted.
PECL Extension Patches: http://pecl.php.net/
--------------------------------------------
If you are fixing broken functionality in a PECL extension then create
a bug or identify an existing bug at http://pecl.php.net/bugs/. A bug
a bug or identify an existing bug at http://bugs.php.net/. A bug
can be used to track the patch progress and prevent your changes
getting lost in the PHP mail archives.
@@ -125,15 +125,15 @@ http://pear.php.net/manual/en/guide-developers.php
How to create your PHP, PHP Documentation or PECL patch
-------------------------------------------------------
PHP and PECL use Subversion (SVN) for revision control. Read
http://www.php.net/svn.php for help on using SVN to get and build PHP
source code. We recommend using a Sparse Directory checkout described
in http://wiki.php.net/vcs/svnfaq. If you are new to SVN, read
http://svnbook.red-bean.com.
PHP and most PECL packages use Git for revision control. Some PECL
packages use Subversion (SVN) Read http://www.php.net/git.php for help
on using Git to get and build PHP source code. We recommend to look
at our workflow on https://wiki.php.net/vcs/gitworkflow and our FAQ
https://wiki.php.net/vcs/gitfaq.
Generally we ask that bug fix patches work on the current stable PHP
development branches and on "trunk". New PHP features only need to
work on "trunk".
development branches and on "master". New PHP features only need to
work on "master".
Read CODING_STANDARDS before you start working.
@@ -145,7 +145,7 @@ comprehensive.
After testing is finished, create a patch file using the command:
svn diff > your_patch.txt
git diff > your_patch.txt
For ease of review and later troubleshooting, submit individual
patches for each bug or feature.
@@ -153,7 +153,7 @@ patches for each bug or feature.
Checklist for submitting your PHP or PECL code patch
----------------------------------------------------
- Update SVN source just before running your final 'diff' and
- Update git source just before running your final 'diff' and
before testing.
- Add in-line comments and/or have external documentation ready.
Use only "/* */" style comments, not "//".
@@ -186,7 +186,7 @@ about these questions:
What happens when your PHP or PECL patch is applied
---------------------------------------------------
Your name will likely be included in the SVN commit log. If your
Your name will likely be included in the Git commit log. If your
patch affects end users, a brief description and your name might be
added to the NEWS file.
+3 -3
View File
@@ -8,7 +8,7 @@ the original run-tests.php script. server-tests is *not* used by
'make test'. server-tests was developed to provide support for
testing PHP under it's primary environment, HTTP, and can run the
PHP tests under any of the SAPI modules that are direct executables,
or are accessable via HTTP.
or are accessible via HTTP.
[New features]
----------------
@@ -95,7 +95,7 @@ include:
$filename full native path to file, will become PATH_TRANSLATED
$filepath =dirname($filename)
$scriptname this is what will become SCRIPT_NAME unless you override it
$docroot the equivelant of DOCUMENT_ROOT under Apache
$docroot the equivalent of DOCUMENT_ROOT under Apache
$cwd the directory that the test is being initiated from
$this->conf all server-tests configuration vars
$this->env all environment variables that will get passed to the test
@@ -105,7 +105,7 @@ include:
This section is also eval'd, and is similar in nature to --ENV--. However,
this section is used to build the url used in an HTTP request. Valid values
to set in this section would include:
SCRIPT_NAME The inital part of the request url
SCRIPT_NAME The initial part of the request url
PATH_INFO The pathinfo part of a request url
FRAGMENT The fragment section of a url (after #)
QUERY_STRING The query part of a url (after ?)
+1 -1
View File
@@ -1,6 +1,6 @@
## process this file with automake to produce Makefile.am
AUTOMAKE_OPTIONS=foreign
noinst_LTLIBRARIES=libtsrm.la
libtsrm_la_SOURCES = TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c
libtsrm_la_SOURCES = TSRM.c tsrm_strtok_r.c
depend:
-8
View File
@@ -143,10 +143,6 @@ SOURCE=.\tsrm_strtok_r.c
# End Source File
# Begin Source File
SOURCE=.\tsrm_virtual_cwd.c
# End Source File
# Begin Source File
SOURCE=.\tsrm_win32.c
# End Source File
# End Group
@@ -175,10 +171,6 @@ SOURCE=.\tsrm_strtok_r.h
# End Source File
# Begin Source File
SOURCE=.\tsrm_virtual_cwd.h
# End Source File
# Begin Source File
SOURCE=.\tsrm_win32.h
# End Source File
# End Group
+1 -1
View File
@@ -1,5 +1,5 @@
// vim:ft=javascript
// $Id$
ADD_SOURCES("TSRM", "TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c tsrm_win32.c");
ADD_SOURCES("TSRM", "TSRM.c tsrm_strtok_r.c tsrm_win32.c");
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2015 The PHP Group |
| Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2015 The PHP Group |
| Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+20 -4
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2015 The PHP Group |
| Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -32,7 +32,7 @@
#ifdef TSRM_WIN32
#include <Sddl.h>
#include "tsrm_win32.h"
#include "tsrm_virtual_cwd.h"
#include "zend_virtual_cwd.h"
#ifdef ZTS
static ts_rsrc_id win32_globals_id;
@@ -616,6 +616,12 @@ TSRM_API int shmget(int key, int size, int flags)
}
} else {
if (flags & IPC_EXCL) {
if (shm_handle) {
CloseHandle(shm_handle);
}
if (info_handle) {
CloseHandle(info_handle);
}
return -1;
}
}
@@ -654,17 +660,27 @@ TSRM_API int shmget(int key, int size, int flags)
TSRM_API void *shmat(int key, const void *shmaddr, int flags)
{
shm_pair *shm = shm_get(key, NULL);
int err;
if (!shm->segment) {
return (void*)-1;
}
shm->addr = MapViewOfFileEx(shm->segment, FILE_MAP_ALL_ACCESS, 0, 0, 0, NULL);
err = GetLastError();
if (err) {
/* Catch more errors */
if (ERROR_NOT_ENOUGH_MEMORY == err) {
_set_errno(ENOMEM);
}
return (void*)-1;
}
shm->descriptor->shm_atime = time(NULL);
shm->descriptor->shm_lpid = getpid();
shm->descriptor->shm_nattch++;
shm->addr = MapViewOfFileEx(shm->segment, FILE_MAP_ALL_ACCESS, 0, 0, 0, NULL);
return shm->addr;
}
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2015 The PHP Group |
| Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+441 -456
View File
@@ -1,20 +1,18 @@
$Id$
PHP 5.5 UPGRADE NOTES
PHP 5.6 UPGRADE NOTES
1. Backward Incompatible Changes
2. New Features
2. Changes in SAPI modules
3. Deprecated Functionality
4. Changed Functions
a. unserialize() change
5. New Functions
6. New Classes and Interfaces
7. Removed Extensions
8. Other Changes to Extensions
9. New Global Constants
10. Changes to INI File Handling
11. Windows Support
1. Backward Incompatible Changes
2. New Features
3. Changes in SAPI modules
4. Deprecated Functionality
5. Changed Functions
6. New Functions
7. New Classes and Interfaces
8. Removed Extensions
9. Other Changes to Extensions
10. New Global Constants
11. Changes to INI File Handling
12. Other Changes
@@ -22,518 +20,505 @@ PHP 5.5 UPGRADE NOTES
1. Backward Incompatible Changes
========================================
- Dropped Windows XP and 2003 support. (Pierre)
- Core:
By fixing bug #66015 it is no longer possible to overwrite keys in static scalar
arrays. Quick example to illustrate:
class Test {
const FIRST = 1;
public $array = array(
self::FIRST => 'first',
'second',
'third'
);
}
Test::$array will have as expected three array keys (1, 2, 3) and no longer
two (0, 1). self::FIRST will no longer overwrite 'third' having key 1 then,
but will mark the beginning of indexing.
- All internal case insensitivity handling for class, function and constant
names is done according to ASCII rules. Current locale settings are ignored.
- JSON:
json_decode() no longer accepts non-lowercase variants of lone JSON true,
false or null values. For example, True or FALSE will now cause json_decode to
return NULL and set an error value you can fetch with json_last_error().
This affects JSON texts consisting solely of true, false or null. Text
containing non-lowercase values inside JSON arrays or objects has never been
accepted.
- self, parent & static keywords now are always case-insensitive (see bug
#60833).
- OpenSSL:
To prevent man-in-the-middle attacks against encrypted transfers client
streams now verify peer certificates by default. Previous versions
required users to manually enable peer verification. As a result of this
change, existing code using ssl:// or tls:// stream wrappers (e.g.
file_get_contents(), fsockopen(), stream_socket_client()) may no longer
connect successfully without manually disabling peer verification via the
stream context's "verify_peer" setting. Encrypted transfers delegate to
operating system certificate stores by default if not overridden via the
new openssl.cafile and openssl.cafile ini directives or via call-time SSL
context options, so most users should be unaffected by this transparent
security enhancement. (https://wiki.php.net/rfc/tls-peer-verification)
- Removed Logo GUIDs: php_logo_guid(), php_egg_logo_guid(),
php_real_logo_guid() and zend_logo_guid()
- Mcrypt:
The mcrypt_encrypt(), mcrypt_decrypt() and mcrypt_{MODE}() functions no
longer accept keys or IVs with incorrect sizes. Furthermore an IV is now
required if the used block cipher mode requires it.
- cURL:
Uploads using the @file syntax are now unsupported by default.
========================================
2. New Features
========================================
- Support list in foreach. (Laruence)
(http://php.net/foreach#control-structures.foreach.list,
http://wiki.php.net/rfc/foreachlist)
- Added constant scalar expressions syntax.
(https://wiki.php.net/rfc/const_scalar_exprs)
- Support "finally" keyword. (Laruence)
(http://php.net/exceptions, http://wiki.php.net/rfc/finally)
- Added dedicated syntax for variadic functions.
(https://wiki.php.net/rfc/variadics)
- Support constant array/string dereferencing. (Laruence)
(http://php.net/manual/en/language.types.array.php,
https://wiki.php.net/rfc/constdereference)
- Added support for argument unpacking to complement the variadic syntax.
(https://wiki.php.net/rfc/argument_unpacking)
- Add support for using empty() on the result of function calls and
other expressions. Thus it is now possible to write empty(getArray()),
for example. (http://php.net/manual/en/function.empty.php,
https://wiki.php.net/rfc/empty_isset_exprs)
- Added an exponentiation operator (**).
(https://wiki.php.net/rfc/pow-operator)
- Added generators.
(http://php.net/generators, https://wiki.php.net/rfc/generators)
- Added unified default encoding. default_charset=UTF-8 and functions/extensions
use encoding settings honor default_charset.
- ClassName::class syntax returning full class name for a class as a
string constant. (http://php.net/oop5.basic,
https://wiki.php.net/rfc/class_name_scalars)
- The php://input stream is now re-usable and can be used concurrently with
enable_post_data_reading=0.
- Added support for non-scalar Iterator keys in foreach.
(http://php.net/manual/en/control-structures.foreach.php,
https://wiki.php.net/rfc/foreach-non-scalar-keys).
- Added use function and use const.
(https://wiki.php.net/rfc/use_function)
- Bundled Zend OPcache extension to improve performance
(http://php.net/manual/en/book.opcache.php,
https://wiki.php.net/rfc/optimizerplus)
- Added a function for timing attack safe string comparison
(https://wiki.php.net/rfc/timing_attack)
- Added a simplified password hashing API
(http://php.net/password, https://wiki.php.net/rfc/password_hash)
- Added the __debugInfo() magic method to allow userland classes to implement
the get_debug_info API previously available only to extensions.
(https://wiki.php.net/rfc/debug-info)
- Added gost-crypto (CryptoPro S-box) hash algorithm.
- Stream wrappers verify peer certificates and host names by default in
encrypted client streams.
- Added openssl certificate fingerprint support (inclusive stream context
option).
- Added support for SAN x509 extension matching when verifing host names in
encrypted streams.
- Added a range of new SSL context options for improved encrypted stream
server security (https://wiki.php.net/rfc/improved-tls-defaults):
. "honor_cipher_order" allows servers to prioritize cipher suites of their
choosing when negotiating SSL/TLS handshakes.
. "single_ecdh_use" and "single_dh_use" allow for improved forward
secrecy in encrypted stream servers.
. "dh_param" allows specification of pre-generated key generation
parameters when negotiating ephemeral DHE ciphers in stream servers.
. "ecdh_curve" allows stream servers to specify which curve to use when
negotiating ephemeral ECDHE ciphers (defaults to NIST P-256).
. "rsa_key_size" SSL context option gives stream servers control
over the key size (in bits) used when negotiating RSA ciphers.
. "capture_session_meta" if specified stores an array of data describing
the TLS session's protocol/cipher in the "session_meta" SSL context key.
- Added automatic mitigation against client-initated TLS renegotiation DoS
attacks in encrypted server streams. Renegotiation limiting may be
customized via three new SSL context options:
. "reneg_limit" (number of allowed renegotiations per time window)
. "reneg_window" (renegotiation time window in seconds)
. "reneg_limit_callback" (optional notification callback on limiting)
- Encrypted TLS servers now support the server name indication (SNI) TLS
extension via the new "SNI_server_certs" SSL context option.
- Added "crypto_method" SSL context option for use in encrypted streams.
- Added "peer_name" SSL context option to better reflect peer certificate
name matching using SAN extension (replaces deprecated "CN_match").
- Added stream wrapper support when specifying "cafile" SSL context paths.
- Independent peer cert and peer name validation is now available via a new
boolean "verify_peer_name" SSL context option. This option is enabled by
default in encrypted client streams.
- Added protocol-specific tlsv1.0://, tlsv1.1:// and tlsv1.2:// encryption
stream wrappers. tls:// wrapper now supports TLSv1.1 and TLSv1.2 (previously
only supported TLSv1).
- Stream crypto method specification now accepts flags instead of values
allowing support for multiple discrete protocols in a given stream.
- PostgreSQL database connections may now be established asynchronously using
new constants and polling functions in ext/pgsql.
- Non-blocking read/write query behavior now optionally available in database
operations using the ext/pgsql extension.
========================================
2. Changes in SAPI modules
3. Changes in SAPI modules
========================================
- Support for changing the process's title in CLI/CLI-Server
SAPIs. (Keyur)
(http://php.net/manual/en/function.cli-set-process-title.php,
http://php.net/manual/en/function.cli-get-process-title.php,
https://wiki.php.net/rfc/cli_process_title)
- Added phpdbg SAPI.
(https://wiki.php.net/rfc/phpdbg)
- Support for systemd in php-fpm: Add --with-fpm-systemd option to
report health to systemd, and add systemd_interval option to
configure this. The service can now use Type=notify in the systemd
unit file. (Remi)
- Support for FPM workers changing the apparmor profile through the pool configuration.
(https://wiki.php.net/rfc/fpm_change_hat)
- Support for several XML MIME types in the built-in CLI server. For static
files with extensions .xml, .xsl, .xsd the Content-Type header
application/xml is now sent automatically.
========================================
3. Deprecated Functionality
4. Deprecated Functionality
========================================
- The original MySQL extension is now deprecated and will generate
deprecation warnings when connecting to a database through
mysql_connect(), mysql_pconnect() or by establishing an implicit
connection. Use MySQLi or PDO instead.
- Incompatible context calls:
Instance calls from an incompatible context are now deprecated and issue
E_DEPRECATED instead of E_STRICT. See https://wiki.php.net/rfc/incompat_ctx
- The preg_replace /e modifier is now deprecated. Use
preg_replace_callback instead.
(https://wiki.php.net/rfc/remove_preg_replace_eval_modifier)
- The "CN_match" and "SNI_server_name" SSL context options are deprecated in
favor of the new "peer_name" option. Name verification now checks certificate
SAN names as well as the CN field and the specific name fields are deprecated
to avoid confusion. Their use triggers E_DEPRECATED but continues to work as
before. If specified, the specific values take precedence over the general
"peer_name" value.
- IntlDateFormatter::setTimeZoneID() and datefmt_set_timezone_id() are
deprecated. Use IntlDateFormatter::setTimeZone() or
datefmt_set_timezone() instead.
- Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT, an
undocument constant effectively equivalent to PDO::ATTR_EMULATE_PREPARES.
- mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw
E_DEPRECATED. Their use was already previously discouraged in the
documentation, but that predated the existence of E_DEPRECATED.
- Deprecated INIs: Following INIs are deprecated in favour of new
internal_encoding/input_encoding/output_encoding. Refer to "Changes to
encodings in PHP 5.6" in "11. Other Changes" section for more details.
iconv.input_encoding
iconv.output_encoding
iconv.internal_encoding
mbstring.http_input
mbstring.http_output
mbstring.internal_encoding
========================================
4. Changed Functions
5. Changed Functions
========================================
- pack()/unpack() had the following changes, which bring it more in
line with Perl's behavior: - Implemented format character "Z": NULL
padded string, with trailing NULL bytes removed. - Changed format
character "a": this no longer removes trailing NULL bytes. -
Changed format character "A": all trailing ASCII whitespace is now
removed (defined as spaces, tabs, \r, \n and NULL).
- MessageFormatter::format() and related functions now accepted named
arguments and mixed numeric/named arguments in ICU 4.8+.
- MessageFormatter::format() and related functions now don't error out
when an insufficient argument count is provided. Instead, the
placeholders will remain unsubstituted.
- MessageFormatter::parse() and MessageFormat::format() (and their
static equivalents) now don't throw away better than second
precision in the arguments.
- IntlDateFormatter::__construct and datefmt_create() now accept for
the $timezone argument time zone identifiers, IntlTimeZone objects,
DateTimeZone objects and NULL. It used to accept only time zone
identifiers and NULL. Invalid time zone identifiers are no longer
accepted. Empty strings are no longer accepted.
- The default time zone used in IntlDateFormatter::__construct and
datefmt_create() (when the corresponding argument is not passed or
NULL is passed) is now the one given by date_default_timezone_get(),
not the default ICU time zone.
- The time zone passed to the IntlDateFormatter is ignored if it is
NULL and if the calendar passed is an IntlCalendar object -- in this
case, the IntlCalendar's time zone will be used instead. Otherwise,
the time zone specified in the $timezone argument is used
instead. This does not affect old code, as IntlCalendar was
introduced in this version.
- IntlDateFormatter::__construct and datefmt_create() now accept for
the $calendar argument also IntlCalendar objects.
- IntlDateFormatter::getCalendar() and datefmt_get_calendar() return
false if the IntlDateFormatter was set up with an IntlCalendar
instead of the constants
IntlDateFormatter::GREGORIAN/TRADITIONAL. IntlCalendar did not exist
before this version.
- IntlDateFormatter::setCalendar() and datefmt_set_calendar() now also
accept an IntlCalendar object, in which case its time zone is
taken. Passing a constant is still allowed, and still keeps the time
zone.
- IntlDateFormatter::format() and datefmt_format() now also accept an
IntlCalendar object for formatting.
- set_error_handler(NULL) can now be used to reset the error handler.
Furthermore both set_error_handler(NULL) and
set_exception_handler(NULL) will now return the previously defined
error/exception handler. Previously bool(true) was returned.
- setcookie(), setrawcookie() and ext/session now send Max-Age headers
alongside Expires headers. (see
https://wiki.php.net/rfc/cookie_max-age)
- curl_setopt now accepts new option CURLOPT_SAFE_UPLOAD and CURLFile
object for safer file uploads (see
https://wiki.php.net/rfc/curl-file-upload)
- Functions in the socket extension now do not emit warnings when the
errno is EAGAIN, EWOULDBLOCK or EINPROGRESS.
- Since 5.5.2, spl_autoload_functions() returns different names for
different lambda functions registered via spl_autoload_register().
- Since 5.5.3, DOMDocument::schemaValidateSource() and
DOMDocument::schemaValidate() accept flag parameter. Only flag
available now is LIBXML_SCHEMA_CREATE. Default is 0.
- Since 5.5.4, fputcsv() has fifth parameter escape_char, allowing to
specify escape char.
4a. unserialize() change
------------------------
- Starting PHP 5.5.13, the bug fix for bug #67072 introduces a change to
unserialize() function, detailed below:
If the string looking like 'O:..:"ClassName":...' is unserialized, and
the class named is an internal class that declares custom unserializer
function, or extends such class, unserialize would fail.
Using O: for user classes not extending internal classes (including
those implementing Serializable) is still supported in 5.4, though
it is deprecated and may not be supported in 5.6 for classes that do not
originally serialize to O:. Same for using O: for internal classes
implementing Serializable (like ArrayObject) and classes that extend
them.
The reason for that is that O: format is meant to be used with classes
that do not define custom handlers, and was never intended for the use
with classes that do. When used with the class that relies on custom
unserializer, it can leave the object of such internal class in an
inconsistent state which has been observed to result in crashes and may
also lead to memory corruption and ultimately even arbitrary code
execution. This was never the intended use of unserializer, and mere
possibility of doing this constitutes a bug, since the data passed to
unserialize() is not a valid serialization of any object. Since there
are many applications applying unserialize() to untrusted data, this
presents a potential security vulnerability. Thus, keeping such bug in
the code base was considered too dangerous.
We are aware that some applications use O: format as a way to
instantiate classes. This was never the intended usage of serializer,
and ReflectionClass methods such as newInstance or
newInstanceWithoutConstructor can be used for that. We're working on
providing more comprehensive solution for such use cases in PHP 5.6 and
welcome the ideas in this area.
We note also that using unserialize() on any data that is not the result
of serialize() call continues to be an unsupported scenario and should
not be relied on to produce any specific result.
========================================
5. New Functions
========================================
- Core:
- array_column()
- boolval()
- password_get_info()
- password_hash()
- password_needs_rehash()
- password_verify()
- cURL:
- curl_file_create
CURLOPT_SAFE_UPLOAD is now turned on by default and uploads with @file
do not work unless it is explicitly set to false.
- GD
- imageflip
- imagecrop
- imagecropauto
- imagesetinterpolation
- imageaffine
- imageaffinematrixget
- imageaffinematrixconcat
- imagescale
curl_setopt() now supports the following nullable settings (>= 5.5.11):
. CURLOPT_CUSTOMREQUEST
. CURLOPT_FTPPORT
. CURLOPT_RANGE
. CURLOPT_FTP_ACCOUNT
. CURLOPT_RTSP_SESSION_ID
. CURLOPT_KRBLEVEL
. CURLOPT_KRB4LEVEL
- Hash:
- hash_pbkdf2()
curl_getinfo($ch, CURLINFO_CERTINFO) returns certificate Subject and Issuer
as a string (PHP >= 5.6.25)
- Intl:
- datefmt_format_object()
- datefmt_get_calendar_object()
- datefmt_get_timezone()
- datefmt_set_timezone()
- datefmt_get_calendar_object()
- intlcal_create_instance()
- intlcal_get_keyword_values_for_locale()
- intlcal_get_now()
- intlcal_get_available_locales()
- intlcal_get()
- intlcal_get_time()
- intlcal_set_time()
- intlcal_add()
- intlcal_set_time_zone()
- intlcal_after()
- intlcal_before()
- intlcal_set()
- intlcal_roll()
- intlcal_clear()
- intlcal_field_difference()
- intlcal_get_actual_maximum()
- intlcal_get_actual_minimum()
- intlcal_get_day_of_week_type()
- intlcal_get_first_day_of_week()
- intlcal_get_greatest_minimum()
- intlcal_get_least_maximum()
- intlcal_get_locale()
- intlcal_get_maximum()
- intlcal_get_minimal_days_in_first_week()
- intlcal_get_minimum()
- intlcal_get_time_zone()
- intlcal_get_type()
- intlcal_get_weekend_transition()
- intlcal_in_daylight_time()
- intlcal_is_equivalent_to()
- intlcal_is_lenient()
- intlcal_is_set()
- intlcal_is_weekend()
- intlcal_set_first_day_of_week()
- intlcal_set_lenient()
- intlcal_equals()
- intlcal_get_repeated_wall_time_option()
- intlcal_get_skipped_wall_time_option()
- intlcal_set_repeated_wall_time_option()
- intlcal_set_skipped_wall_time_option()
- intlcal_from_date_time()
- intlcal_to_date_time()
- intlcal_get_error_code()
- intlcal_get_error_message()
- intlgregcal_create_instance()
- intlgregcal_set_gregorian_change()
- intlgregcal_get_gregorian_change()
- intlgregcal_is_leap_year()
- intltz_create_time_zone()
- intltz_create_default()
- intltz_get_id()
- intltz_get_gmt()
- intltz_get_unknown()
- intltz_create_enumeration()
- intltz_count_equivalent_ids()
- intltz_create_time_zone_id_enumeration()
- intltz_get_canonical_id()
- intltz_get_region()
- intltz_get_tz_data_version()
- intltz_get_equivalent_id()
- intltz_use_daylight_time()
- intltz_get_offset()
- intltz_get_raw_offset()
- intltz_has_same_rules()
- intltz_get_display_name()
- intltz_get_dst_savings()
- intltz_from_date_time_zone()
- intltz_to_date_time_zone()
- intltz_get_error_code()
- intltz_get_error_message()
- Strings:
substr_compare() now allows $length to be zero.
pack() and unpack() now support 64-bit format specifiers: q, Q, J and P.
- IntlDateFormatter::formatObject()
- IntlDateFormatter::getCalendarObject()
- IntlDateFormatter::getTimeZone()
- IntlDateFormatter::setTimeZone()
- Crypt:
crypt() will now raise an E_NOTICE error if the salt parameter is omitted.
See: https://wiki.php.net/rfc/crypt_function_salt
- Mcrypt:
The $source parameter of mcrypt_create_iv() now defaults to
MCRYPT_DEV_URANDOM instead of MCRYPT_DEV_RANDOM.
- OpenSSL:
The $crypto_type parameter is now optional in stream_socket_enable_crypto()
if the stream's SSL context specifies the new "crypto_type" option. The
crypto method from the context is used as a fallback if no crypto method is
specified at call-time.
- Reflection:
ReflectionClass::newInstanceWithoutConstructor previously didn't allow the
instantiation of any internal class which used custom object storage
(overriding the default create_object handler), this was changed to only
reject the instantiation of such classes if the class is also marked as
final.
- XMLReader:
XMLReader::getAttributeNs and XMLReader::getAttributeNo now return NULL if
the attribute could not be found, just like XMLReader::getAttribute.
- Pgsql:
pg_insert()/pg_select()/pg_update()/pg_delete() are no longer EXPERIMENTAL.
The following functions no longer block until query write completion if the
socket stream underlying a database connection is set to non-blocking mode:
. pg_send_execute()
. pg_send_prepare()
. pg_send_query()
. pg_send_query_params()
- unserialize:
Manipulated serialization strings for objects implementing Serializable by
replacing "C:" with "O:" at the start will now produce an error.
- parse_ini_file():
- parse_ini_string():
Added scanner mode INI_SCANNER_TYPED to yield typed .ini values.
For PHP >= 5.6.1
- JSON:
Added JSON_PRESERVE_ZERO_FRACTION option (PHP >= 5.6.5)
========================================
6. New Functions
========================================
- Datetime:
Added DatePeriod::getStartDate(), DatePeriod::getEndDate(), DatePeriod::getDateInterval() in 5.6.5.
- GMP:
Added gmp_root($a, $nth) and gmp_rootrem($a, $nth) for calculating nth roots.
Added gmp_import($data, $word_size = 1, $options = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN) in PHP 5.6.1.
Added gmp_export($gmpnumber, $word_size = 1, $options = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN) in PHP 5.6.1.
Added gmp_random_range() and gmp_random_bits() in PHP 5.6.3.
- Hash
Added hash_equals($known_string, $user_string)
- OpenSSL:
Added string openssl_x509_fingerprint($x509, $type, $binary).
Added string openssl_spki_new($private_key, $challenge, $algorithm)
Added bool openssl_spki_verify($spkac)
Added string openssl_spki_export($spkac)
Added string openssl_spki_export_challenge($spkac)
Added array openssl_get_cert_locations()
- LDAP:
- ldap_modify_batch() (5.5.10)
Added ldap_escape($value, $ignore = "", $flags = 0).
Added ldap_modify_batch($link_identifier, $dn, $modifications) described in
https://wiki.php.net/rfc/ldap_modify_batch.
- SOAP:
- SoapClient::__getCookies() (5.5.14)
- Pgsql:
Added pg_socket($connection) to allow async connections and non-blocking IO
Added pg_connect_poll($connection) for establishing async connections
Added pg_consume_input($connection) for non-blocking query result consumption
Added pg_flush($connection) for non-blocking query write completion
- Sockets:
- socket_sendmsg()
- socket_recvmsg()
- socket_cmsg_space()
- PDO_pgsql
Added PDO::pgsqlGetNotify($result_type = PDO::FETCH_USE_DEFAULT, $ms_timeout = 0)
Added PDO::pgsqlGetPid()
- SPL:
- SplFixedArray::__wakeup()
- SplDoublyLinkedList::add()
- RecursiveTreeIterator::getPostfix() (5.5.2)
- RecursiveTreeIterator::setPostfix() (5.5.2)
- Reflection
Added ReflectionFunction::isVariadic() and ReflectionParameter::isVariadic().
- Zend OPcache:
- opcache_get_configuration()
- opcache_get_status()
- opcache_reset()
- SPL
Added SplFileObject::fread($length) to complement fwrite() method (>= 5.5.11)
- Zip:
Added ZipArchive::setPassword($password)
========================================
6. New Classes and Interfaces
7. New Classes and Interfaces
========================================
- Intl:
- IntlCalendar
- IntlGregorianCalendar
- IntlTimeZone
- IntlBreakIterator
- IntlRuleBasedBreakIterator
- IntlCodePointBreakIterator
- UConverter
========================================
8. Removed Extensions
========================================
========================================
9. Other Changes to Extensions
========================================
- cURL:
- CURLFile
- The following constants have been removed as they are now marked "obsolete"
in the underlying library and never had any effect to begin with:
. CURLOPT_CLOSEPOLICY
. CURLCLOSEPOLICY_CALLBACK
. CURLCLOSEPOLICY_LEAST_RECENTLY_USED
. CURLCLOSEPOLICY_LEAST_TRAFFIC
. CURLCLOSEPOLICY_OLDEST
. CURLCLOSEPOLICY_SLOWEST
- GMP:
The GMP extension now uses objects as the underlying data structure, rather
than resources. GMP instances now support dumping, serialization, cloning,
casts to primitive types and have overloaded operators.
(RFC: https://wiki.php.net/rfc/operator_overloading_gmp)
- OCI8:
- Added Implicit Result Set support for Oracle Database 12c with a
new oci_get_implicit_resultset() function.
- Using 'oci_execute($s, OCI_NO_AUTO_COMMIT)' for a SELECT no longer
unnecessarily initiates an internal ROLLBACK during connection
close.
- Multi-row OCI_RETURN_LOB queries require fewer "round trips" to the database.
- Added DTrace probes enabled with PHP's generic --enable-dtrace
- The oci_internal_debug() function is now a no-op.
- The phpinfo() output format for OCI8 has changed.
- OpenSSL:
- The "SNI_enabled" SSL stream context option is now set to TRUE by default
if supported by the underlying openssl library.
- PCRE:
- The information collected by the (*MARK) backtracking control verb is now
collected into the "MARK" index of the $matches array for preg_match(),
preg_match_all() and preg_replace_callback().
- Pgsql:
- pg_insert()/pg_select()/pg_update()/pg_delete()/pg_meta_data()/pg_convert()
are no longer EXPERIMENTAL
- Added PGSQL_DML_ESCAPE option for pg_insert()/pg_select()/pg_update()/pg_delete()
that simply escapes all supplied parameters. These functions can be as fast as
native query. Unvalidated data(Unknown data types) is passed as string.
JSON/Array/etc are supported both PGSQL_DML_ESCAPE and pg_convert() as string.
- pg_select() returns PostgreSQL query resource when query is executed.
- Added extended flag parameter for pg_meta_data(). pg_meta_data() always
returns "is enum" attribute.
- The new pg_socket() function returns a socket stream with no behavior other
than to allow IO-readiness polling on a DB connection socket. Calling
stream_set_blocking() on its result enables non-blocking behavior.
- Passing the new PGSQL_CONNECT_ASYNC flag to pg_connect() allows applications
to poll for IO readiness via pg_connect_poll() and establish connections
asynchronously.
- PDO_pgsql:
- Added PDO::PGSQL_ATTR_DISABLE_PREPARES constant to execute the queries
without preparing them, while still passing parameters separately from
the command text using PQexecParams.
- Added LISTEN/NOTIFY support via PDO::pgsqlGetNotify / PDO::pgsqlGetPid()
as described in https://bugs.php.net/bug.php?id=42614.
- DOM:
- DOMNode::textContent is now a writeable property. (>= 5.6.1)
========================================
7. Removed Extensions
10. New Global Constants
========================================
None
- CURL:
CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2 (>= 5.6.8)
- GD:
IMG_WEBP (>= 5.6.25)
- LDAP:
LDAP_ESCAPE_FILTER int(1)
LDAP_ESCAPE_DN int(2)
- Pgsql:
PGSQL_DML_ESCAPE int(4096)
PGSQL_CONNECT_ASYNC
PGSQL_CONNECTION_STARTED
PGSQL_CONNECTION_MADE
PGSQL_CONNECTION_AWAITING_RESPONSE
PGSQL_CONNECTION_AUTH_OK
PGSQL_CONNECTION_SSL_STARTUP
PGSQL_CONNECTION_SETENV
PGSQL_POLLING_FAILED
PGSQL_POLLING_READING
PGSQL_POLLING_WRITING
PGSQL_POLLING_OK
PGSQL_POLLING_ACTIVE
- OpenSSL:
STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT int(9)
STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT int(17)
STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT int(33)
STREAM_CRYPTO_METHOD_ANY_CLIENT int(63)
STREAM_CRYPTO_METHOD_TLSv1_0_SERVER int(8)
STREAM_CRYPTO_METHOD_TLSv1_1_SERVER int(16)
STREAM_CRYPTO_METHOD_TLSv1_2_SERVER int(32)
STREAM_CRYPTO_METHOD_ANY_SERVER int(62)
OPENSSL_DEFAULT_STREAM_CIPHERS string
========================================
8. Other Changes to Extensions
========================================
- Intl:
- This extension now requires ICU 4.0+.
- Phar:
- Added ability of resolving alias created by Phar::map
========================================
9. New Global Constants
========================================
- mysqli:
- Added MYSQLI_SERVER_PUBLIC_KEY constant to be used with mysqli_options()
- cURL:
- Added CURLOPT_SAFE_UPLOAD to be used with curl_setopt().
- Added CURL_WRAPPERS_ENABLED to reflect --with-curlwrappers.
- Added CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2 in 5.5.24+.
- GD
- Added constants for imageflip:
. IMG_FLIP_HORIZONTAL
. IMG_FLIP_VERTICAL
. IMG_FLIP_BOTH
- Added constants for imagecrop
. IMG_CROP_DEFAULT
. IMG_CROP_TRANSPARENT
. IMG_CROP_BLACK
. IMG_CROP_WHITE
. IMG_CROP_SIDES
. IMG_CROP_THRESHOLD
- Added constants for imagesetinterpolation, used by imagescale
imagerotate and imageaffine:
. IMG_BELL
. IMG_BESSEL
. IMG_BILINEAR_FIXED
. IMG_BICUBIC
. IMG_BICUBIC_FIXED
. IMG_BLACKMAN
. IMG_BOX
. IMG_BSPLINE
. IMG_CATMULLROM
. IMG_GAUSSIAN
. IMG_GENERALIZED_CUBIC
. IMG_HERMITE
. IMG_HAMMING
. IMG_HANNING
. IMG_MITCHELL
. IMG_POWER
. IMG_QUADRATIC
. IMG_SINC
. IMG_NEAREST_NEIGHBOUR
. IMG_WEIGHTED4
. IMG_TRIANGLE
- Added constants for imageaffinematrixget
. IMG_AFFINE_TRANSLATE
. IMG_AFFINE_SCALE
. IMG_AFFINE_ROTATE
. IMG_AFFINE_SHEAR_HORIZONTAL
. IMG_AFFINE_SHEAR_VERTICAL
========================================
10. Changes to INI File Handling
11. Changes to INI File Handling
========================================
- Core:
- Added sys_temp_dir INI directive, for specifying temporary
directory.
Changed always_populate_raw_post_data to throw a deprecation warning when
enabled and to recognize the value -1 for never populating the global
$HTTP_RAW_POST_DATA variable, which will be default in future PHP versions.
- Intl:
- Added intl.use_exceptions INI directive, which controls what
happens when global errors are set together with intl.error_level.
default_charset is set to UTF-8. It was empty previously. default_charset
is used where it is applicable. Iconv/Mbstring/htmlentities/htmlspecialchars/
html_entity_decode use default_charset as default encoding.
- MSSQL:
- mssql.compatability_mode renamed to mssql.compatibility_mode in 5.5.2,
old directive still supported for BC reasons.
internal_encoding/input_encoding/output_encoding is added for encoding
handling modules. Refer to "Changes to encodings in PHP 5.6" in "11. Other Changes"
section for more details.
- mysqlnd:
- Added mysqlnd.sha256_server_public_key INI PERDIR setting that
affects all APIs which use(are built) for mysqlnd. This allows
ext/mysqli to be used with the new auth protocol, although at
coarser level.
- cURL:
If the new openssl.cafile ini directive is specified ext/curl will give the
openssl path precedence over its own curl.cainfo directive.
- Sessions:
- Added session.use_strict_mode in 5.5.3, which prevents session
fixation attacks and session collisions.
See also https://wiki.php.net/rfc/strict_sessions
- Zend OPcache (See http://php.net/manual/en/book.opcache.php)
- Added the following directives:
- opcache.enable (default "1")
- opcache.memory_consumption (default "64")
- opcache.interned_strings_buffer (default "4")
- opcache.max_accelerated_files (default "2000")
- opcache.max_wasted_percentage (default "5")
- opcache.use_cwd (default "1")
- opcache.validate_timestamps (default "1")
- opcache.revalidate_freq (default "2")
- opcache.revalidate_path (default "0")
- opcache.save_comments (default "1")
- opcache.load_comments (default "1")
- opcache.fast_shutdown (default "0")
- opcache.enable_file_override (default "0")
- opcache.optimization_level (default "0xffffffff")
- opcache.inherited_hack (default "1")
- opcache.blacklist_filename (default "")
- opcache.max_file_size (default "0")
- opcache.consistency_checks (default "0")
- opcache.force_restart_timeout (default "180")
- opcache.error_log (default "" which means stderr)
- opcache.log_verbosity_level (default "1")
- opcache.preferred_memory_model (default "")
- opcache.protect_memory (default "0")
- opcache.mmap_base (Windows-only)
========================================
11. Windows Support
========================================
- The Apache 2.4 handler is supported as of PHP 5.5.0
- OPcache: Errors like 'unable to reattach to base address' could
happen in many common setups. It is due to some technical and
design restriction in the engine and could not be fixed easily
before 5.5.0 was released.
A possible fix is to tweak the opcache.mmap_base INI setting by
forcing the first address to be tried.
For x86 version, the following addreses can be tried:
. 0x20000000, 0x21000000, 0x30000000, 0x31000000, 0x50000000
and for x64 (still experimental):
. 0x0000100000000000, 0x0000200000000000, 0x0000300000000000, 0x0000700000000000
- OpenSSL:
openssl.cafile and openssl.capath ini directives have been added to allow
global CA default specification as necessary.
========================================
12. Other Changes
========================================
- If the APC or WinCache user cache APIs were used before, consider
these alternatives for PHP 5.5:
- File upload:
Uploads equal or greater than 2GB in size are now accepted.
- APCu
- all supported OSes: http://pecl.php.net/package/APCu
- Windows: http://windows.php.net/downloads/pecl/releases/apcu/
- HTTP stream wrapper:
HTTP 1.1 requests now include a Connection: close header unless explicitly
overridden by setting a Connection header via the header context option.
- PDO_pgsql
A libpq version providing PQexecParams, PQprepare, PQescapeStringConn,
PQescapeByteaConn is now required. According to the release notes that means
8.0.8+ or 8.1.4+.
- Zip:
New --with-libzip option allow to use system libzip. Version > 0.11 required,
Version >= 0.11.2 recommended for all features.
- Changes to encodings in PHP 5.6
The default value of default_charset is now UTF-8 when it is not
explicitly set in php.ini
The following php.ini parameters were added:
internal_encoding
input_encoding
output_encoding
The values of the following php.ini parameters have become empty in
PHP 5.6 (previously they were all ISO-8859-1)
iconv.input_encoding
iconv.output_encoding
iconv.internal_encoding
Changes were made to character set handling in:
- the iconv and mbstring extensions,
- and htmlentities(), htmlspecialchars(), html_entity_decode() functions
The precedence for these is now:
default_charset < internal/input/output_encoding < (mbstring.* || iconv.*) < function parameter
For example, the easiest way to use the UTF-8 encoding is to set
default_charset=UTF-8 and leave the following php.ini parameters
empty:
iconv.input_encoding
iconv.output_encoding
iconv.internal_encoding
mbstring.http_input
mbstring.http_output
mbstring.internal_encoding
internal_encoding
input_encoding
output_encoding
The mb_regex_encoding() default setting is changed from EUC-JP to UTF-8.
- WinCache, Windows only: http://pecl.php.net/package/WinCache
+200 -111
View File
@@ -1,14 +1,19 @@
$Id$
UPGRADE NOTES - PHP X.Y
PHP 5.6 INTERNALS UPGRADE NOTES
1. Internal API changes
a. Executor changes
b. Streams pooling API
c. Lowercasing and locales
d. zend_qsort_r
e. get_current_key
f. unserialization of manipulated object strings
a. Addition of do_operation and compare object handlers
b. return_value_ptr now always available, RETVAL_ZVAL_FAST macros
c. POST data handling
d. Arginfo changes
e. tsrm_virtual_cwd.h moved to zend_virtual_cwd.h
f. empty strings are interned
g. Additional str_* APIs
h. Addition of zend_hash_reindex
i. Addition of zend_hash_splice
j. Unserialization of manipulated object strings
k. Removal of IS_CONSTANT_ARRAY and IS_CONSTANT_INDEX hack
2. Build system changes
a. Unix build system changes
@@ -19,118 +24,202 @@ UPGRADE NOTES - PHP X.Y
1. Internal API changes
========================
a. Executor changes
a. Addition of do_operation and compare object handlers
* extensions can't override zend_execute() any more, they should override
zend_execute_ex() instead. The EG(current_execute_data) is already
initialized in zend_execute_ex(), so for compatibility extensions
may need to use EG(current_execute_data)->prev_execute_data instead.
* removed EG(arg_types_stack), EX(fbc), EX(called_scope), EX(current_object)
* added op_array->nested_calls. It's calculated at compile time.
* added EX(call_slots). It is an array to store information about syntaticaly
nested calls (e.g. foo(bar())). It's preallocated together with execute_data.
* added EX(call) - pointer to a current calling function. Actually an
element of EX(call_slots)
* opcodes INIT_METHOD_CALL, ZEND_INIT_STATIC_METHOD_CALL,
ZEND_INIT_FCALL_BY_NAME, ZEND_INIT_NS_FCALL_BY_NAME use result.num as
an index in EX(call_slots)
* opcode ZEND_NEW uses extended_vallue as an index in EX(call_slots)
* opcoes ZEND_DO_FCALL and ZEND_DO_FCALL_BY_NAME use op2.num as
an index in EX(call_slots)
* added op_array->used_stack. It's calculated at compile time and the
corresponding stack space is preallocated together with execute_data.
ZEND_SEND* and ZEND_DO_FCALL* don't need to check for stack overflow
anymore.
* Removed execute_data->Ts field. The VM temporary variables always allocated
immediately before execute_data structure. Now they are accessed by offset
from the execute_data base pointer (instead of execute_data->Ts). Compiler
stores new offsets in op_array->opcodes[*].op?.num. You can use macros
EX_TMP_VAR() and EX_TMP_VAR_NUM() to access temp_variable by offset or
number. You can convert number to offset using EX_TMP_VAR_NUM(0, num) or
offset to number (EX_TMP_VAR_NUM(0,0)-EX_TMP_VAR(0,offset)).
* Removed execute_data->CVs field. The VM compiled variables always allocated
immediately after execute_data structure. Now they are accessed by offset
from the execute_data base pointer (instead of execute_data->CVs). You can
use macros EX_CV_NUM() to access compiled variables by number.
Two new object handlers have been added:
b. Streams pooling API
do_operation:
typedef int (*zend_object_do_operation_t)(
zend_uchar opcode, zval *result, zval *op1, zval *op2 TSRMLS_DC
);
The streams pooling API has been removed. The following functions no longer
exist:
compare:
typedef int (*zend_object_compare_zvals_t)(
zval *result, zval *op1, zval *op2 TSRMLS_DC
);
PHPAPI int php_stream_context_get_link(php_stream_context *context,
const char *hostent, php_stream **stream);
PHPAPI int php_stream_context_set_link(php_stream_context *context,
const char *hostent, php_stream *stream);
PHPAPI int php_stream_context_del_link(php_stream_context *context,
php_stream *stream);
The first handler is used to overload arithmetic operations. The first
argument specifies the opcode of the operator, result is the target zval,
op1 the first operand and op2 the second operand. For unary operations
op2 is NULL. If the handler returns FAILURE PHP falls back to the default
behavior for the operation.
c. Lowercasing and locales
The second handler is used to perform comparison operations with
non-objects. The value written into result must be an IS_LONG with value
-1 (smaller), 0 (equal) or 1 (greater). The return value is a SUCCESS/FAILURE
return code. The difference between this handler and compare_objects is
that it will be triggered for comparisons with non-objects and objects of
different types. It takes precedence over compare_objects.
The lowercasing functions in zend_operators.c were split into those that do
lowercasing according to locale rules and those that do ASCII lowercasing.
ASCII:
Further docs in the RFC: https://wiki.php.net/rfc/operator_overloading_gmp
zend_str_tolower_copy
zend_str_tolower_dup
zend_str_tolower
zend_binary_strcasecmp
zend_binary_strncasecmp
b. return_value_ptr now always available, RETVAL_ZVAL_FAST macros
Locale-based:
zend_binary_strncasecmp_l
zend_binary_strcasecmp_l
zend_binary_zval_strcasecmp
zend_binary_zval_strncasecmp
string_compare_function_ex
string_case_compare_function
The return_value_ptr argument to internal functions is now always set.
Previously it was only available for functions returning by-reference.
return_value_ptr can now be used to return zvals without copying them.
For this purpose two new macros are provided:
Internal engine lowercasing will be using ASCII-only rules. User-facing functions,
such as strcasecmp, will be using locale rules.
RETVAL_ZVAL_FAST(zv); /* analog to RETVAL_ZVAL(zv, 1, 0) */
RETURN_ZVAL_FAST(zv); /* analog to RETURN_ZVAL(zv, 1, 0) */
Two new functions - zend_binary_strncasecmp_l and zend_binary_strcasecmp_l - added as
locale-based counterparts to zend_binary_strcasecmp and zend_binary_strncasecmp.
d. zend_qsort_r
Added the function zend_qsort_r():
typedef int (*compare_r_func_t)(const void *, const void * TSRMLS_DC, void *);
void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_t compare, void *arg TSRMLS_DC);
The extra argument it has (relatively to zend_qsort()) is passed to the
comparison function.
e. get_current_key
The signature of the get_current_key iteration handler has been changed to:
void (*get_current_key)(zend_object_iterator *iter, zval *key TSRMLS_DC);
The key should be written into the zval* using the ZVAL_* macros.
f. unserialization of manipulated object strings
Strings requiring unserialization of objects are now explicitly checked
whether the object they contain implements the Serializable interface.
This solves the situation where manipulated strings could be passed for
objects using Serializable to disallow serialization. An object
implementing Serializable will always start with "C:" in the serialized
string, all other objects are represented with starting "O:". Objects
implementing Serializable to disable serialization using
zend_class_unserialize_deny and zend_class_serialize_deny, when
instantiated from the serializer with a manipulated "O:" string at the
start, will most likely be defectively initialized. This is now
fixed at the appropriate place by checking for the presence of the
serialize callback in the class entry.
========================
2. Build system changes
========================
a. Unix build system changes
-
b. Windows build system changes
- Drop Windows XP and 2003 support.
The macros behave similarly to the non-FAST variants with copy=1 and
dtor=0, but will try to return the zval without making a copy by utilizing
return_value_ptr.
c. POST data handling
The sapi_request_info's members post_data, post_data_len and raw_post_data as
well as raw_post_data_len have been replaced with a temp PHP stream
request_body.
The recommended way to access raw POST data is to open and use a php://input
stream wrapper. It is safe to be used concurrently and more than once.
d. Arginfo changes
The pass_rest_by_reference argument of the ZEND_BEGIN_ARG_INFO and
ZEND_BEGIN_ARG_INFO_EX() is no longer used. The value passed to it is ignored.
Instead a variadic argument is created using ZEND_ARG_VARIADIC_INFO():
ZEND_ARG_VARIADIC_INFO(0, name) /* pass rest by value */
ZEND_ARG_VARIADIC_INFO(1, name) /* pass rest by reference */
ZEND_ARG_VARIADIC_INFO(ZEND_SEND_PREFER_REF, name)
/* pass rest by prefer-ref */
ZEND_ARG_VARIADIC_INFO() should only be used for the last argument.
The following changes were applied to the zend_arg_info struct:
typedef struct _zend_arg_info {
const char *class_name;
zend_uint class_name_len;
zend_uchar type_hint;
+ zend_uchar pass_by_reference;
zend_bool allow_null;
- zend_bool pass_by_reference;
+ zend_bool is_variadic;
} zend_arg_info;
The following changes were applied to the zend_internal_function_info struct:
typedef struct _zend_internal_function_info {
zend_uint required_num_args;
zend_uchar _type_hint;
zend_bool return_reference;
- zend_bool pass_rest_by_reference;
+ zend_bool _allow_null;
+ zend_bool _is_variadic;
} zend_internal_function_info;
The CHECK_ARG_SEND_TYPE(), ARG_MUST_BE_SENT_BY_REF(),
ARG_SHOULD_BE_SENT_BY_REF() and ARG_MAY_BE_SENT_BY_REF() macros now assume
that the argument passed to them is a zend_function* and that it is non-NULL.
e. tsrm_virtual_cwd.h moved to zend_virtual_cwd.h
Memory allocation is now managed by emalloc/efree instead of malloc/free.
f. empty strings are interned
String created using STR_EMPTY_ALLOC() are now interned.
convert_to_string use STR_EMPTY_ALLOC() for zval when IS_NULL.
str_efree() shoud be preferred as efree() on such strings can cause memory
corruption.
g. Additional str_* APIs
In addition to the previously existing str_free() and str_efree() macros, the
following macros have been introduced to simplify dealing with potentially
interned strings:
str_efree_rel(str) - efree_rel() if not interned
str_erealloc(str, new_len) - erealloc() or emalloc+memcpy if interned
str_estrndup(str, len) - estrndup() if not interned
str_strndup(str, len) - zend_strndup() if not interned
str_hash(str, len) - INTERNED_HASH(str) if interned,
zend_hash_func(str, len+1) otherwise
h. Addition of zend_hash_reindex
A zend_hash_reindex() function with the following prototype has been added:
void zend_hash_reindex(HashTable *ht, zend_bool only_integer_keys);
If only_integer_keys==0, this function will change all keys to be continuous,
zero-based integers in hash order. If only_integer_keys==1 the same will be
done only for keys that were already integers previously, while leaving
string keys alone.
i. Addition of zend_hash_splice
A zend_hash_splice() macro with the following prototype has been added:
void zend_hash_splice(
HashTable *ht, uint nDataSize, copy_ctor_func_t pCopyConstructor,
uint offset, uint length,
void **list, uint list_count, HashTable *removed
);
This function performs an in-place splice operation on a hashtable:
The elements between offset and offset+length are removed and the elements in
list[list_count] are inserted in their place. The removed elements can be
optionally collected into a hashtable.
This operation reindexes the hashtable, i.e. integer keys will be zero-based
and sequential, while string keys stay intact. The same applies to the
elements inserted into the removed HT.
As a side-effect of this addition the signature of the php_splice() function
changed:
void php_splice(
HashTable *ht, zend_uint offset, zend_uint length,
zval ***list, zend_uint list_count, HashTable *removed TSRMLS_DC
)
This function now directly forwards to zend_hash_splice(), resets the
IAP of ht (for compatibility with the previous implementation) and resets
CVs if the passed hashtable is the global symbol table.
j. Unserialization of manipulated object strings
Strings requiring unserialization of objects are now explicitly checked
whether the object they contain implements the Serializable interface.
This solves the situation where manipulated strings could be passed for
objects using Serializable to disallow serialization. An object
implementing Serializable will always start with "C:" in the serialized
string, all other objects are represented with starting "O:". Objects
implementing Serializable to disable serialization using
zend_class_unserialize_deny and zend_class_serialize_deny, when
instantiated from the serializer with a manipulated "O:" string at the
start, will most likely be defectively initialized. This is now
fixed at the appropriate place by checking for the presence of the
serialize callback in the class entry.
k. Removal of IS_CONSTANT_ARRAY and IS_CONSTANT_INDEX hack
These two #defines disappeared. Instead we have now IS_CONSTANT_AST which
covers also the functionality IS_CONSTANT_ARRAY bid and furthermore the
hack for marking zvals as constant index with IS_CONSTANT_INDEX is now
superfluous and so removed.
Please note that IS_CONSTANT_AST now has the same value than
IS_CONSTANT_ARRAY had.
========================
2. Build system changes
========================
a. Unix build system changes
- The bison version check is now a blacklist instead of a whitelist.
- The bison binary can be specified through the YACC environment/configure
variable. Previously `bison` was assumed to be in $PATH.
b. Windows build system changes
- The configure option --enable-static-analyze isn't available anymore.
The new option was introduced --with-analyzer.
- It is possible to disable PGO for single extensions, to do that
define a global variable PHP_MYMODULE_PGO evaluating to false
inside config.w32
+1 -1
View File
@@ -18,7 +18,7 @@ libZend_la_SOURCES=\
zend_default_classes.c \
zend_iterators.c zend_interfaces.c zend_exceptions.c \
zend_strtod.c zend_closures.c zend_float.c zend_string.c zend_signal.c \
zend_generators.c
zend_generators.c zend_virtual_cwd.c zend_ast.c
libZend_la_LDFLAGS =
libZend_la_LIBADD = @ZEND_EXTRA_LIBS@
+3 -3
View File
@@ -9,11 +9,11 @@ Modified: 2001-09-17
1. Background/Need
==================
Many internal function of PHP will reject parameters because of their
Many internal functions of PHP will reject parameters because of their
type (the array and variable function come to mind). For userland
this is not an easy task as there is no uniform way to do it. An
addition to the engine for requiring loose types would allow
delevopers to know that the data passed to their functions is of the
developers to know that the data passed to their functions are of the
correct type and reduce the need for duplicating the same code in
every function to check for the type of data.
@@ -57,7 +57,7 @@ function foo (array $var){
===========
Mis-matches in type should be reported as fatal errors and should halt
the execution of a script as that function can not be run and code
the execution of a script as that function cannot be run and code
following could not reliably run.
+8
View File
@@ -119,6 +119,10 @@ SOURCE=.\zend_API.c
# End Source File
# Begin Source File
SOURCE=.\zend_ast.c
# End Source File
# Begin Source File
SOURCE=.\zend_builtin_functions.c
# End Source File
# Begin Source File
@@ -265,6 +269,10 @@ SOURCE=.\zend_variables.c
SOURCE=.\zend_vm_opcodes.c
# End Source File
# Begin Source File
SOURCE=.\zend_virtual_cwd.c
# End Source File
# End Group
# Begin Group "Header Files"
+4
View File
@@ -140,6 +140,10 @@ SOURCE=.\zend_alloc.c
# End Source File
# Begin Source File
SOURCE=.\zend_ast.c
# End Source File
# Begin Source File
SOURCE=.\zend_API.c
# End Source File
# Begin Source File
+18 -9
View File
@@ -3,8 +3,13 @@ dnl
dnl This file contains local autoconf functions.
AC_DEFUN([LIBZEND_BISON_CHECK],[
# we only support certain bison versions
bison_version_list="2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7"
# we only support certain bison versions;
# min: 2.4 (i.e. 204, major * 100 + minor for easier comparison)
bison_version_min="204"
# non-working versions, e.g. "3.0 3.2";
# remove "none" when introducing the first incompatible bison version an
# separate any following additions by spaces
bison_version_exclude="3.0"
# for standalone build of Zend Engine
test -z "$SED" && SED=sed
@@ -17,18 +22,22 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[
if test -n "$bison_version_vars"; then
set $bison_version_vars
bison_version="${1}.${2}"
for bison_check_version in $bison_version_list; do
if test "$bison_version" = "$bison_check_version"; then
php_cv_bison_version="$bison_check_version (ok)"
break
fi
done
bison_version_num="`expr ${1} \* 100 + ${2}`"
if test $bison_version_num -ge $bison_version_min; then
php_cv_bison_version="$bison_version (ok)"
for bison_check_version in $bison_version_exclude; do
if test "$bison_version" = "$bison_check_version"; then
php_cv_bison_version=invalid
break
fi
done
fi
fi
])
fi
case $php_cv_bison_version in
""|invalid[)]
bison_msg="bison versions supported for regeneration of the Zend/PHP parsers: $bison_version_list (found: $bison_version)."
bison_msg="This bison version is not supported for regeneration of the Zend/PHP parsers (found: $bison_version, min: $bison_version_min, excluded: $bison_version_exclude)."
AC_MSG_WARN([$bison_msg])
YACC="exit 0;"
;;
+11
View File
@@ -0,0 +1,11 @@
--TEST--
Bug #67468 (Segfault in highlight_file()/highlight_string())
--SKIPIF--
<?php if(!function_exists("leak")) print "skip only for debug builds"; ?>
--FILE--
<?php
highlight_string("<?php __CLASS__;", true);
echo "done";
?>
--EXPECT--
done
+110
View File
@@ -0,0 +1,110 @@
--TEST--
Basic argument unpacking
--FILE--
<?php
function test(...$args) {
var_dump($args);
}
function test2($arg1, $arg2, $arg3 = null) {
var_dump($arg1, $arg2, $arg3);
}
function getArray($array) {
return $array;
}
function arrayGen($array) {
foreach ($array as $element) {
yield $element;
}
}
$array = [1, 2, 3];
test(...[]);
test(...[1, 2, 3]);
test(...$array);
test(...getArray([1, 2, 3]));
test(...arrayGen([]));
test(...arrayGen([1, 2, 3]));
test(1, ...[2, 3], ...[4, 5]);
test(1, ...getArray([2, 3]), ...arrayGen([4, 5]));
test2(...[1, 2]);
test2(...[1, 2, 3]);
test2(...[1], ...[], ...[], ...[2, 3], ...[4, 5]);
?>
--EXPECT--
array(0) {
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
array(0) {
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
array(5) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
}
array(5) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
}
int(1)
int(2)
NULL
int(1)
int(2)
int(3)
int(1)
int(2)
int(3)
+145
View File
@@ -0,0 +1,145 @@
--TEST--
Argument unpacking with by-ref arguments
--FILE--
<?php
error_reporting(E_ALL);
function test1(&...$args) {
foreach ($args as &$arg) {
$arg++;
}
}
test1(...[1, 2, 3]);
$array = [1, 2, 3];
test1(...$array);
var_dump($array);
$array1 = [1, 2]; $array2 = [3, 4];
test1(...$array1, ...$array2);
var_dump($array1, $array2);
function test2($val1, &$ref1, $val2, &$ref2) {
$ref1++;
$ref2++;
}
$array = [0, 0, 0, 0];
test2(...$array);
var_dump($array);
$array1 = [1, 2]; $array2 = [4, 5];
test1(...$array1, ...$array2);
var_dump($array1, $array2);
$a = $b = $c = $d = 0;
$array = [0, 0, 0, 0];
test2($a, ...$array);
var_dump($a, $array);
test2($a, $b, ...$array);
var_dump($a, $b, $array);
test2($a, $b, $c, ...$array);
var_dump($a, $b, $c, $array);
test2($a, $b, $c, $d, ...$array);
var_dump($a, $b, $c, $d, $array);
?>
--EXPECTF--
array(3) {
[0]=>
int(2)
[1]=>
int(3)
[2]=>
int(4)
}
array(2) {
[0]=>
int(2)
[1]=>
int(3)
}
array(2) {
[0]=>
int(4)
[1]=>
int(5)
}
array(4) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
int(1)
}
array(2) {
[0]=>
int(2)
[1]=>
int(3)
}
array(2) {
[0]=>
int(5)
[1]=>
int(6)
}
int(0)
array(4) {
[0]=>
int(1)
[1]=>
int(0)
[2]=>
int(1)
[3]=>
int(0)
}
int(0)
int(1)
array(4) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
int(1)
[3]=>
int(0)
}
int(0)
int(2)
int(0)
array(4) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(1)
[3]=>
int(0)
}
int(0)
int(3)
int(0)
int(1)
array(4) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(1)
[3]=>
int(0)
}
+37
View File
@@ -0,0 +1,37 @@
--TEST--
Unpack arguments for dynamic call
--FILE--
<?php
$fn = function(...$args) {
var_dump($args);
};
$fn(...[]);
$fn(...[1, 2, 3]);
$fn(1, ...[2, 3], ...[], ...[4, 5]);
?>
--EXPECT--
array(0) {
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
array(5) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
}
+43
View File
@@ -0,0 +1,43 @@
--TEST--
Argument unpacking with internal functions
--FILE--
<?php
$arrays = [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
];
var_dump(array_map(null, ...$arrays));
?>
--EXPECT--
array(3) {
[0]=>
array(3) {
[0]=>
int(1)
[1]=>
int(4)
[2]=>
int(7)
}
[1]=>
array(3) {
[0]=>
int(2)
[1]=>
int(5)
[2]=>
int(8)
}
[2]=>
array(3) {
[0]=>
int(3)
[1]=>
int(6)
[2]=>
int(9)
}
}
+59
View File
@@ -0,0 +1,59 @@
--TEST--
Only arrays and Traversables can be unpacked
--FILE--
<?php
function test(...$args) {
var_dump($args);
}
test(...null);
test(...42);
test(...new stdClass);
test(1, 2, 3, ..."foo", ...[4, 5]);
test(1, 2, 3, ...new StdClass, ...3.14, ...[4, 5]);
?>
--EXPECTF--
Warning: Only arrays and Traversables can be unpacked in %s on line %d
array(0) {
}
Warning: Only arrays and Traversables can be unpacked in %s on line %d
array(0) {
}
Warning: Only arrays and Traversables can be unpacked in %s on line %d
array(0) {
}
Warning: Only arrays and Traversables can be unpacked in %s on line %d
array(5) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
}
Warning: Only arrays and Traversables can be unpacked in %s on line %d
Warning: Only arrays and Traversables can be unpacked in %s on line %d
array(5) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
}
+15
View File
@@ -0,0 +1,15 @@
--TEST--
Argument unpacking with many arguments
--FILE--
<?php
function fn(...$args) {
var_dump(count($args));
}
$array = array_fill(0, 10000, 42);
fn(...$array, ...$array);
?>
--EXPECT--
int(20000)
+32
View File
@@ -0,0 +1,32 @@
--TEST--
Unpack arguments for method calls
--FILE--
<?php
class Foo {
public function test(...$args) {
var_dump($args);
}
public static function test2(...$args) {
var_dump($args);
}
}
$foo = new Foo;
Foo::test2(1, 2, ...[3, 4], ...[], ...[5]);
?>
--EXPECT--
array(5) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
}
+35
View File
@@ -0,0 +1,35 @@
--TEST--
Unpack arguments for new expression
--FILE--
<?php
class Foo {
public function __construct(...$args) {
var_dump($args);
}
}
new Foo(...[]);
new Foo(...[1, 2, 3]);
new Foo(...[1], ...[], ...[2, 3]);
?>
--EXPECT--
array(0) {
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
@@ -0,0 +1,10 @@
--TEST--
Positional arguments cannot be used after argument unpacking
--FILE--
<?php
var_dump(...[1, 2, 3], 4);
?>
--EXPECTF--
Fatal error: Cannot use positional argument after argument unpacking in %s on line %d
+20
View File
@@ -0,0 +1,20 @@
--TEST--
Argument unpacking does not work with string keys (forward compatibility for named args)
--FILE--
<?php
set_error_handler(function($errno, $errstr) {
var_dump($errstr);
});
var_dump(...[1, 2, "foo" => 3, 4]);
var_dump(...new ArrayIterator([1, 2, "foo" => 3, 4]));
?>
--EXPECTF--
string(36) "Cannot unpack array with string keys"
int(1)
int(2)
string(42) "Cannot unpack Traversable with string keys"
int(1)
int(2)
@@ -0,0 +1,33 @@
--TEST--
Traversables that throw exceptions are properly handled during argument unpack
--FILE--
<?php
function test(...$args) {
var_dump($args);
}
class Foo implements IteratorAggregate {
public function getIterator() {
throw new Exception('getIterator');
}
}
function gen() {
yield 1;
yield 2;
throw new Exception('gen');
}
try {
test(1, 2, ...new Foo, ...[3, 4]);
} catch (Exception $e) { var_dump($e->getMessage()); }
try {
test(1, 2, ...gen(), ...[3, 4]);
} catch (Exception $e) { var_dump($e->getMessage()); }
?>
--EXPECT--
string(11) "getIterator"
string(3) "gen"
@@ -0,0 +1,31 @@
--TEST--
Traversables cannot be unpacked into by-reference parameters
--FILE--
<?php
function test($val1, $val2, $val3, &$ref) {
$ref = 42;
}
function gen($array) {
foreach ($array as $element) {
yield $element;
}
}
test(1, 2, 3, $b, ...gen([4, 5, 6]));
var_dump($b);
test(...gen([1, 2, 3, 4]));
test(1, 2, ...gen([3, 4]));
test(...gen([1, 2]), ...gen([3, 4]));
?>
--EXPECTF--
int(42)
Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value instead in %s on line %d
Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value instead in %s on line %d
Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value instead in %s on line %d
@@ -0,0 +1,25 @@
--TEST--
Next free element may overflow in array literals
--FILE--
<?php
$i = PHP_INT_MAX;
$array = [$i => 42, new stdClass];
var_dump($array);
const FOO = [PHP_INT_MAX => 42, "foo"];
var_dump(FOO);
?>
--EXPECTF--
Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
array(1) {
[%d]=>
int(42)
}
Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
array(1) {
[%d]=>
int(42)
}
+1
View File
@@ -2,6 +2,7 @@
Bug #30820 (static member conflict with $this->member silently ignored)
--INI--
error_reporting=4095
opcache.optimization_level=0
--FILE--
<?php
class Blah {
-2
View File
@@ -1,7 +1,5 @@
--TEST--
Fixed Bug #65784 (Segfault with finally)
--XFAIL--
This bug is not fixed in 5.5 due to ABI BC
--FILE--
<?php
function foo1() {
+30
View File
@@ -0,0 +1,30 @@
--TEST--
Bug #66015 (wrong array indexing in class's static property)
--FILE--
<?php
class Test
{
const FIRST = 1;
const SECOND = 2;
const THIRD = 3;
protected static $array = [
self::FIRST => 'first',
'second',
'third'
];
public function __construct()
{
var_export(self::$array);
}
}
$test = new Test();
?>
--EXPECTF--
array (
1 => 'first',
2 => 'second',
3 => 'third',
)
+14
View File
@@ -0,0 +1,14 @@
--TEST--
Bug #66252 (Problems in AST evaluation invalidating valid parent:: reference)
--FILE--
<?php
class A {
const HW = "this is A";
}
class B extends A {
const BHW = parent::HW . " extended by B";
}
const C = B::BHW;
echo C, "\n";
--EXPECT--
this is A extended by B
+13
View File
@@ -0,0 +1,13 @@
--TEST--
Bug #66660 (Composer.phar install/update fails)
--STDIN--
<?php __CLASS__ ?>
--FILE--
<?php
file_put_contents(__DIR__."/bug66660.tmp.php", "<?php __CLASS__ ?>");
echo php_strip_whitespace(__DIR__."/bug66660.tmp.php");
?>
--CLEAN--
<?php unlink(__DIR__."/bug66660.tmp.php"); ?>
--EXPECT--
<?php __CLASS__ ?>
+26
View File
@@ -0,0 +1,26 @@
--TEST--
Bug #67169: array_splice all elements, then []= gives wrong index
--FILE--
<?php
$array = array('a', 'b');
array_splice($array, 0, 2);
$array[] = 'c';
var_dump($array);
$array = array('a', 'b');
array_shift($array);
array_shift($array);
$array[] = 'c';
var_dump($array);
?>
--EXPECT--
array(1) {
[0]=>
string(1) "c"
}
array(1) {
[0]=>
string(1) "c"
}
+12
View File
@@ -0,0 +1,12 @@
--TEST--
Bug #67368 (Memory leak with immediately dereferenced array in class constant)
--INI--
report_memleaks=1
--FILE--
<?php
class FooBar {
const bar = ["bar" => 3]["bar"];
}
echo "okey";
--EXPECTF--
okey
+1 -1
View File
@@ -19,6 +19,6 @@ $b = new b();
$b->test();
--EXPECTF--
Strict Standards: Declaration of b::test() should be compatible with a::test($arg = c::TESTCONSTANT) in %s/bug67436/b.php on line %d
Strict Standards: Declaration of b::test() should be compatible with a::test($arg = c::TESTCONSTANT) in %s%ebug67436%eb.php on line %d
b::test()
a::test(c::TESTCONSTANT)
+27
View File
@@ -0,0 +1,27 @@
--TEST--
Bug #67938: Segfault when extending interface method with variadic
--FILE--
<?php
interface TestInterface {
public function foo();
public function bar(array $bar);
}
class Test implements TestInterface {
public function foo(...$args) {
echo __METHOD__, "\n";
}
public function bar(array $bar, ...$args) {
echo __METHOD__, "\n";
}
}
$obj = new Test;
$obj->foo();
$obj->bar([]);
?>
--EXPECT--
Test::foo
Test::bar
+36
View File
@@ -0,0 +1,36 @@
--TEST--
Bug #68446 (Array constant not accepted for array parameter default)
--FILE--
<?php
const FOO = [1];
const BAR = null;
function a(array $a = FOO) {
var_dump($a);
}
function b(array $b = BAR) {
var_dump($b);
}
b(null);
b([]);
b();
a([]);
a();
a(null);
?>
--EXPECTF--
NULL
array(0) {
}
NULL
array(0) {
}
array(1) {
[0]=>
int(1)
}
Catchable fatal error: Argument 1 passed to a() must be of the type array, null given, called in %s on line %d and defined in %s on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Bug #69537 (__debugInfo with empty string for key gives error)
--FILE--
<?php
class Foo {
public function __debugInfo(){
return ['' => 1];
}
}
var_dump(new Foo);
?>
--EXPECTF--
object(Foo)#%d (%d) {
[""]=>
int(1)
}
+21
View File
@@ -0,0 +1,21 @@
--TEST--
Bug #69599: Strange generator+exception+variadic crash
--FILE--
<?php
function crash() {
sin(...[0]);
throw new \Exception();
yield;
}
iterator_to_array(crash());
?>
--EXPECTF--
Fatal error: Uncaught exception 'Exception' in %s:%d
Stack trace:
#0 [internal function]: crash()
#1 %s(%d): iterator_to_array(Object(Generator))
#2 {main}
thrown in %s on line %d
+1 -4
View File
@@ -24,7 +24,4 @@ Notice: Undefined property: wpq::$interesting in %sbug69732.php on line 6
Notice: Indirect modification of overloaded property wpq::$interesting has no effect in %sbug69732.php on line 16
Strict Standards: Only variables should be assigned by reference in %sbug69732.php on line 16
Notice: Undefined property: wpq::$interesting in %sbug69732.php on line 6
XXX
Fatal error: Cannot assign by reference to overloaded object in %sbug69732.php on line 16
+28
View File
@@ -0,0 +1,28 @@
--TEST--
Bug #69740: finally in generator (yield) swallows exception in iteration
--FILE--
<?php
function generate() {
try {
yield 1;
yield 2;
} finally {
echo "finally\n";
}
}
foreach (generate() as $i) {
echo $i, "\n";
throw new Exception();
}
?>
--EXPECTF--
1
finally
Fatal error: Uncaught exception 'Exception' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
+32
View File
@@ -0,0 +1,32 @@
--TEST--
Bug #70012 (Exception lost with nested finally block)
--FILE--
<?php
try {
echo "Outer try\n";
try {
echo " Middle try\n";
throw new Exception();
} finally {
echo " Middle finally\n";
try {
echo " Inner try\n";
} finally {
echo " Inner finally\n";
}
}
echo "Outer shouldnt get here\n";
} catch (Exception $e) {
echo "Outer catch\n";
} finally {
echo "Outer finally\n";
}
?>
--EXPECT--
Outer try
Middle try
Middle finally
Inner try
Inner finally
Outer catch
Outer finally
+16
View File
@@ -0,0 +1,16 @@
--TEST--
Bug #70681: Segfault when binding $this of internal instance method to null
--FILE--
<?php
$c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack);
$c = $c->bindTo(null);
$c = (new ReflectionFunction('strlen'))->getClosure();
$c = $c->bindTo(null);
var_dump($c("foo"));
?>
--EXPECTF--
Warning: Cannot unbind $this of internal method in %s on line %d
int(3)
+22
View File
@@ -0,0 +1,22 @@
--TEST--
Bug #70685: Segfault for getClosure() internal method rebind with invalid $this
--FILE--
<?php
class cls {}
$c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack);
$c = $c->bindTo(new cls);
var_dump($c);
$c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack);
$c = $c->bindTo(new SplStack, 'cls');
var_dump($c);
?>
--EXPECTF--
Warning: Cannot bind internal method SplDoublyLinkedList::count() to object of class cls in %s on line %d
NULL
Warning: Cannot bind function SplDoublyLinkedList::count to scope class cls in %s on line %d
NULL
+20
View File
@@ -0,0 +1,20 @@
--TEST--
Bug #70748 (Segfault in ini_lex () at Zend/zend_ini_scanner.l)
--FILE--
<?php
$ini = '[${ ';
$ini_file = __DIR__ . "/bug70748.ini";
file_put_contents($ini_file, $ini);
var_dump(parse_ini_file($ini_file));
?>
--CLEAN--
<?php
unlink(__DIR__ . "bug70748.ini");
?>
--EXPECTF--
Warning: syntax error, unexpected $end, expecting '}' in %sbug70748.ini on line %d
in %sbug70748.php on line %d
bool(false)
+24
View File
@@ -0,0 +1,24 @@
--TEST--
Bug #70828 (php-fpm 5.6 with opcache crashes when referencing a non-existent constant)
--FILE--
<?php
namespace test {
use const nonexistent;
class test {
static function run(){
var_dump(nonexistent);
existent;
}
}
}
namespace {
define("test\\existent", "bug!", 1);
test\test::run();
}
?>
--EXPECTF--
Notice: Use of undefined constant nonexistent - assumed 'nonexistent' in %sbug70828.php on line %d
string(11) "nonexistent"
+37
View File
@@ -0,0 +1,37 @@
--TEST--
Bug #70944 (try{ } finally{} can create infinite chains of exceptions)
--FILE--
<?php
try {
$e = new Exception("Foo");
try {
throw new Exception("Bar", 0, $e);
} finally {
throw $e;
}
} catch (Exception $e) {
var_dump((string)$e);
}
try {
$e = new Exception("Foo");
try {
throw new Exception("Bar", 0, $e);
} finally {
throw new Exception("Dummy", 0, $e);
}
} catch (Exception $e) {
var_dump((string)$e);
}
?>
--EXPECTF--
string(%d) "exception 'Exception' with message 'Foo' in %sbug70944.php:%d
Stack trace:
#0 {main}"
string(%d) "exception 'Exception' with message 'Foo' in %sbug70944.php:%d
Stack trace:
#0 {main}
Next exception 'Exception' with message 'Dummy' in %sbug70944.php:%d
Stack trace:
#0 {main}"
+22
View File
@@ -0,0 +1,22 @@
--TEST--
Bug #70957 (self::class can not be resolved with reflection for abstract class)
--FILE--
<?php
abstract class Foo
{
function bar($a = self::class) {}
}
trait T {
public function bar() {
}
}
class Bar extends Foo
{
use T;
}
?>
--EXPECTF--
Strict Standards: Declaration of T::bar() should be compatible with Foo::bar($a = 'Foo') in %sbug70957.php on line %d
+21
View File
@@ -0,0 +1,21 @@
--TEST--
Bug #70958 (Invalid opcode while using ::class as trait method paramater default value)
--FILE--
<?php
trait Foo
{
function bar($a = self::class) {
var_dump($a);
}
}
class B {
use Foo;
}
$b = new B;
$b->bar();
?>
--EXPECT--
string(1) "B"
+23
View File
@@ -0,0 +1,23 @@
--TEST--
Bug #71841 (EG(error_zval) is not handled well)
--INI--
error_reporting=0
--FILE--
<?php
$z = unserialize('O:1:"A":0:{}');
var_dump($z->e.=0);
var_dump(++$z->x);
var_dump($z->y++);
$y = array(PHP_INT_MAX => 0);
var_dump($y[] .= 0);
var_dump(++$y[]);
var_dump($y[]++);
?>
--EXPECT--
NULL
NULL
NULL
NULL
NULL
NULL
+43
View File
@@ -0,0 +1,43 @@
--TEST--
Bug #72496 (declare public method with signature incompatible with parent private method should not throw a warning)
--FILE--
<?php
class Foo
{
private function getFoo()
{
return 'Foo';
}
private function getBar()
{
return 'Bar';
}
private function getBaz()
{
return 'Baz';
}
}
class Bar extends Foo
{
public function getFoo($extraArgument)
{
return $extraArgument;
}
protected function getBar($extraArgument)
{
return $extraArgument;
}
private function getBaz($extraArgument)
{
return $extraArgument;
}
}
echo "OK\n";
--EXPECT--
OK
+18
View File
@@ -0,0 +1,18 @@
--TEST--
Bug #72907 (null pointer deref, segfault in gc_remove_zval_from_buffer (zend_gc.c:260))
--FILE--
<?php
$a = 0;
($a->a = &$E) + ($b = $a->b->i -= 0);
?>
--EXPECTF--
Warning: Attempt to modify property of non-object in %sbug72907.php on line %d
Warning: Attempt to modify property of non-object in %sbug72907.php on line %d
Warning: Creating default object from empty value in %sbug72907.php on line %d
Notice: Undefined property: stdClass::$i in %sbug72907.php on line %d
+12
View File
@@ -0,0 +1,12 @@
--TEST--
Bug #73337 (try/catch not working with two exceptions inside a same operation)
--FILE--
<?php
class d { function __destruct() { throw new Exception; } }
try { new d + new d; } catch (Exception $e) { print "Exception properly caught\n"; }
?>
--EXPECTF--
Notice: Object of class d could not be converted to int in %sbug73337.php on line 3
Notice: Object of class d could not be converted to int in %sbug73337.php on line 3
Exception properly caught
+13
View File
@@ -0,0 +1,13 @@
--TEST--
Class Property Expressions
--FILE--
<?php
class Foo {
const BAR = 1 << 0;
const BAZ = 1 << 1;
public $bar = self::BAR | self::BAZ;
}
echo (new Foo)->bar;
?>
--EXPECTF--
3
+20
View File
@@ -0,0 +1,20 @@
--TEST--
Static Class Property Expressions
--FILE--
<?php
class Foo {
public $b1 = 1 + 1;
public $b2 = 1 << 2;
public $b3 = "foo " . " bar " . " baz";
}
$f = new Foo;
var_dump(
$f->b1,
$f->b2,
$f->b3
);
?>
--EXPECT--
int(2)
int(4)
string(13) "foo bar baz"
+4 -1
View File
@@ -21,8 +21,11 @@ var_dump($x = $test->test($y));
var_dump($y, $x);
?>
--EXPECT--
--EXPECTF--
Notice: Only variable references should be returned by reference in %sclosure_018.php on line 7
int(4)
Notice: Only variable references should be returned by reference in %sclosure_018.php on line 7
int(16)
int(16)
int(16)
+3
View File
@@ -20,7 +20,10 @@ test();
?>
--EXPECTF--
Notice: Only variable references should be returned by reference in %sclosure_019.php on line 4
int(9)
Notice: Only variable references should be returned by reference in %sclosure_019.php on line 4
int(81)
Fatal error: Cannot pass parameter 1 by reference in %s on line %d
@@ -0,0 +1,15 @@
--TEST--
Constexpr arrays should be able to handle resource keys
--FILE--
<?php
const FOO = [STDIN => 42];
var_dump(FOO);
?>
--EXPECTF--
Strict Standards: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
array(1) {
[%d]=>
int(42)
}
+96
View File
@@ -0,0 +1,96 @@
--TEST--
Constant Expressions
--FILE--
<?php
const T_1 = 1 << 1;
const T_2 = 1 / 2;
const T_3 = 1.5 + 1.5;
const T_4 = "foo" . "bar";
const T_5 = (1.5 + 1.5) * 2;
const T_6 = "foo" . 2 . 3 . 4.0;
const T_7 = __LINE__;
const T_8 = <<<ENDOFSTRING
This is a test string
ENDOFSTRING;
const T_9 = ~-1;
const T_10 = (-1?:1) + (0?2:3);
const T_11 = 1 && 0;
const T_12 = 1 and 1;
const T_13 = 0 || 0;
const T_14 = 1 or 0;
const T_15 = 1 xor 1;
const T_16 = 1 xor 0;
const T_17 = 1 < 0;
const T_18 = 0 <= 0;
const T_19 = 1 > 0;
const T_20 = 1 >= 0;
const T_21 = 1 === 1;
const T_22 = 1 !== 1;
const T_23 = 0 != "0";
const T_24 = 1 == "1";
// Test order of operations
const T_25 = 1 + 2 * 3;
// Test for memory leaks
const T_26 = "1" + 2 + "3";
// Allow T_POW
const T_27 = 2 ** 3;
var_dump(T_1);
var_dump(T_2);
var_dump(T_3);
var_dump(T_4);
var_dump(T_5);
var_dump(T_6);
var_dump(T_7);
var_dump(T_8);
var_dump(T_9);
var_dump(T_10);
var_dump(T_11);
var_dump(T_12);
var_dump(T_13);
var_dump(T_14);
var_dump(T_15);
var_dump(T_16);
var_dump(T_17);
var_dump(T_18);
var_dump(T_19);
var_dump(T_20);
var_dump(T_21);
var_dump(T_22);
var_dump(T_23);
var_dump(T_24);
var_dump(T_25);
var_dump(T_26);
var_dump(T_27);
?>
--EXPECT--
int(2)
float(0.5)
float(3)
string(6) "foobar"
float(6)
string(6) "foo234"
int(8)
string(21) "This is a test string"
int(0)
int(2)
bool(false)
bool(true)
bool(false)
bool(true)
bool(false)
bool(true)
bool(false)
bool(true)
bool(true)
bool(true)
bool(true)
bool(false)
bool(false)
bool(true)
int(7)
int(6)
int(8)
@@ -0,0 +1,66 @@
--TEST--
Constant expressions with arrays
--FILE--
<?php
const a = [1,2,[3,[4]]];
const b = a[0];
const c = a[2][0];
const d = a[2];
const e = ["string" => [1]]["string"][0];
var_dump(b, c, e);
function test ($a = d[1][0]) {
var_dump($a);
}
test();
class foo {
const bar = [1][0];
}
var_dump(foo::bar);
var_dump(a, a[0], a[2], a[2][1], a[3]);
?>
--EXPECTF--
int(1)
int(3)
int(1)
int(4)
int(1)
Notice: Undefined offset: 3 in %s on line %d
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
array(2) {
[0]=>
int(3)
[1]=>
array(1) {
[0]=>
int(4)
}
}
}
int(1)
array(2) {
[0]=>
int(3)
[1]=>
array(1) {
[0]=>
int(4)
}
}
array(1) {
[0]=>
int(4)
}
NULL
@@ -0,0 +1,43 @@
--TEST--
Constant scalar expressions with autoloading and classes
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--SKIPIF--
<?php if (!extension_loaded('Zend OPcache') || php_sapi_name() != "cli") die("skip CLI only"); ?>
--FILE--
<?php
# This test validates that autoloading works for common const expression (AST) use cases
$classlist = [
'A'=> 'class A { const HW = "this is A"; }',
'B'=> 'class B extends A { const HW = parent::HW." extended by B"; }',
'space1\C' => 'namespace space1; class C { const HW = "this is space1\C"; }',
'D' => 'class D { const HW = \space1\C::HW." extented by D"; }',
'trE' => 'trait trE { public static function getHW() { return parent::HW; } }',
'E' => 'class E extends B { use trE; }',
'F' => 'class F { const XX = "this is F"; }',
'G' => 'class G extends F { const XX = parent::XX." extended by G"; public static function get_me($x = "got ".self::XX) { return $x; } }',
];
spl_autoload_register(function ($class) use ($classlist) {
if (isset($classlist[$class])) {
eval($classlist[$class]);
} else {
die("Cannot autoload $class\n");
}
});
printf("B::HW = %s\n", B::HW);
printf("D::HW = %s\n", D::HW);
printf("E::getHW() = %s\n", E::getHW());
printf("G::get_me() = %s\n", G::get_me());
?>
--EXPECT--
B::HW = this is A extended by B
D::HW = this is space1\C extented by D
E::getHW() = this is A extended by B
G::get_me() = got this is F extended by G
@@ -0,0 +1,11 @@
--TEST--
Dynamic Constant Expressions
--FILE--
<?php
const FOO = 1;
const BAR = FOO | 2;
echo BAR;
?>
--EXPECTF--
3
@@ -0,0 +1,13 @@
--TEST--
Self-referencing constant expression (part of a constant AST)
--FILE--
<?php
class A {
const FOO = [self::BAR];
const BAR = [self::FOO];
}
var_dump(A::FOO);
?>
--EXPECTF--
Fatal error: Cannot declare self-referencing constant 'self::FOO' in %s on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Testing __debugInfo() magic method with bad returns ZERO (float)
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C(0.0);
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-0.0.php on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Testing __debugInfo() magic method with bad returns ZERO
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C(0);
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-0.php on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Testing __debugInfo() magic method with bad returns ONE (float)
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C(1.0);
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-1.0.php on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Testing __debugInfo() magic method with bad returns ONE
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C(1);
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-1.php on line %d
@@ -0,0 +1,19 @@
--TEST--
Testing __debugInfo() magic method with bad returns EMPTY STRING
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C("");
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-empty_str.php on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Testing __debugInfo() magic method with bad returns FALSE
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C(false);
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-false.php on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Testing __debugInfo() magic method with bad returns OBJECT
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C(new stdClass);
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-object.php on line %d
+21
View File
@@ -0,0 +1,21 @@
--TEST--
Testing __debugInfo() magic method with bad returns RESOURCE
--INI--
allow_url_fopen=1
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C(fopen("data:text/plain,Foo", 'r'));
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-resource.php on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Testing __debugInfo() magic method with bad returns STRING
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C("foo");
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-str.php on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Testing __debugInfo() magic method with bad returns TRUE
--FILE--
<?php
class C {
public $val;
public function __debugInfo() {
return $this->val;
}
public function __construct($val) {
$this->val = $val;
}
}
$c = new C(true);
var_dump($c);
--EXPECTF--
Fatal error: __debuginfo() must return an array in %s%eZend%etests%edebug_info-error-true.php on line %d
+39
View File
@@ -0,0 +1,39 @@
--TEST--
Testing __debugInfo() magic method
--FILE--
<?php
class Foo {
public $d = 4;
protected $e = 5;
private $f = 6;
public function __debugInfo() {
return ['a'=>1, "\0*\0b"=>2, "\0Foo\0c"=>3];
}
}
class Bar {
public $val = 123;
public function __debugInfo() {
return null;
}
}
$f = new Foo;
var_dump($f);
$b = new Bar;
var_dump($b);
--EXPECTF--
object(Foo)#%d (3) {
["a"]=>
int(1)
["b":protected]=>
int(2)
["c":"Foo":private]=>
int(3)
}
object(Bar)#%d (0) {
}
+18
View File
@@ -0,0 +1,18 @@
--TEST--
Testing declare statement with ticks
--SKIPIF--
--FILE--
<?php
register_tick_function(function () { echo "tick\n"; });
function foo() { }
declare(ticks=1) {
$statement;
foo();
}
?>
--EXPECTF--
tick
tick
+1 -1
View File
@@ -76,4 +76,4 @@ NULL
Notice: Undefined offset: 3 in %s on line %d
Fatal error: Call to a member function bar() on a non-object in %s on line %d
Fatal error: Call to a member function bar() on null in %s on line %d
+11 -1
View File
@@ -7,7 +7,17 @@ class test {
const TEST = array(1,2,3);
}
var_dump(test::TEST);
echo "Done\n";
?>
--EXPECTF--
Fatal error: Arrays are not allowed in class constants in %s on line %d
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
Done
+14
View File
@@ -0,0 +1,14 @@
--TEST--
jmp into a finally block 01
--FILE--
<?php
function foo() {
goto test;
try {
} finally {
test:
}
}
?>
--EXPECTF--
Fatal error: jump into a finally block is disallowed in %sfinally_goto_001.php on line %d
+14
View File
@@ -0,0 +1,14 @@
--TEST--
jmp into a finally block 02
--FILE--
<?php
function foo() {
try {
goto test;
} finally {
test:
}
}
?>
--EXPECTF--
Fatal error: jump into a finally block is disallowed in %sfinally_goto_002.php on line %d
+15
View File
@@ -0,0 +1,15 @@
--TEST--
jmp into a finally block 03
--FILE--
<?php
function foo() {
try {
} finally {
goto test;
test:
}
}
echo "okey";
?>
--EXPECTF--
okey
+14
View File
@@ -0,0 +1,14 @@
--TEST--
jmp into a finally block 03
--FILE--
<?php
function foo() {
try {
} finally {
test:
}
goto test;
}
?>
--EXPECTF--
Fatal error: jump into a finally block is disallowed in %sfinally_goto_004.php on line %d
+17
View File
@@ -0,0 +1,17 @@
--TEST--
Function Argument Parsing #003
--FILE--
<?php
const a = 10;
function t1($a = 1 + 1, $b = 1 << 2, $c = "foo" . "bar", $d = a * 10) {
var_dump($a, $b, $c, $d);
}
t1();
?>
--EXPECT--
int(2)
int(4)
string(6) "foobar"
int(100)
+1 -1
View File
@@ -13,5 +13,5 @@ var_dump(gc_collect_cycles());
echo "ok\n";
?>
--EXPECT--
int(1)
int(2)
ok
Loaded 100 of 2655 files, more files were not shown because too many files have changed in this diff. Show more