]> granicus.if.org Git - php/log
php
9 years agoFix and clean up exporting of json parser
Jakub Zelenka [Wed, 11 May 2016 19:54:42 +0000 (20:54 +0100)]
Fix and clean up exporting of json parser

9 years agoMerge branch 'json_parser_method' into json_parser_method_embed
Jakub Zelenka [Tue, 3 May 2016 18:55:55 +0000 (19:55 +0100)]
Merge branch 'json_parser_method' into json_parser_method_embed

9 years agoMerge branch 'master' into json_parser_method
Jakub Zelenka [Tue, 3 May 2016 18:55:41 +0000 (19:55 +0100)]
Merge branch 'master' into json_parser_method

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 3 May 2016 17:11:15 +0000 (19:11 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  add test fo rbug 71805

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 3 May 2016 17:10:40 +0000 (19:10 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add test fo rbug 71805

9 years agoadd test fo rbug 71805
Anatol Belski [Tue, 3 May 2016 17:09:11 +0000 (19:09 +0200)]
add test fo rbug 71805

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 3 May 2016 16:28:08 +0000 (18:28 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update libs versions
  upate libs versions

9 years agoupdate libs versions
Anatol Belski [Tue, 3 May 2016 16:27:21 +0000 (18:27 +0200)]
update libs versions

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 3 May 2016 16:27:03 +0000 (18:27 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  upate libs versions

9 years agoupate libs versions
Anatol Belski [Tue, 3 May 2016 16:24:35 +0000 (18:24 +0200)]
upate libs versions

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 3 May 2016 16:15:29 +0000 (18:15 +0200)]
Merge branch 'PHP-7.0'

9 years agoFix leaks in QM_ASSIGN, JMP_SET and COALESCE
Nikita Popov [Tue, 3 May 2016 16:12:56 +0000 (18:12 +0200)]
Fix leaks in QM_ASSIGN, JMP_SET and COALESCE

The QM_ASSIGN code was rewritten to use the standard pattern for
handling CVs and VARs.

9 years agoFix potential double free with phpdbg
Bob Weinand [Tue, 3 May 2016 11:36:21 +0000 (13:36 +0200)]
Fix potential double free with phpdbg

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 3 May 2016 03:13:41 +0000 (11:13 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Mark fcc as initialized for object calls

9 years agoMark fcc as initialized for object calls
Bob Weinand [Tue, 3 May 2016 00:07:06 +0000 (02:07 +0200)]
Mark fcc as initialized for object calls

This results in 1% speedup (cycle count) on some real world applications

9 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Mon, 2 May 2016 21:17:16 +0000 (22:17 +0100)]
Merge branch 'master' of https://github.com/php/php-src

9 years agohide implementation details in tests
Joe Watkins [Mon, 2 May 2016 21:16:56 +0000 (22:16 +0100)]
hide implementation details in tests

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Mon, 2 May 2016 18:02:44 +0000 (20:02 +0200)]
Merge branch 'PHP-7.0'

Conflicts:
Zend/zend_constants.c

9 years agoFix leak in zend_get_constant_ex
Nikita Popov [Mon, 2 May 2016 17:58:56 +0000 (19:58 +0200)]
Fix leak in zend_get_constant_ex

9 years agoimprove test coverage of multicatch
Joe Watkins [Mon, 2 May 2016 17:48:50 +0000 (18:48 +0100)]
improve test coverage of multicatch

9 years agoMerge remote-tracking branch 'origin/PHP-7.0'
Bob Weinand [Mon, 2 May 2016 16:22:35 +0000 (18:22 +0200)]
Merge remote-tracking branch 'origin/PHP-7.0'

9 years agoFix use after free on AST expressions in constant declarations
Bob Weinand [Mon, 2 May 2016 16:22:15 +0000 (18:22 +0200)]
Fix use after free on AST expressions in constant declarations

9 years agoAdded NEWS entry for socket_export_stream()
Bob Weinand [Mon, 2 May 2016 15:11:26 +0000 (17:11 +0200)]
Added NEWS entry for socket_export_stream()

Closes pull request https://github.com/php/php-src/pull/762

9 years agoImplement socket_export_stream()
Chris Wright [Wed, 6 Aug 2014 15:22:56 +0000 (16:22 +0100)]
Implement socket_export_stream()

9 years agoUse embedded json parser method structure
Jakub Zelenka [Mon, 2 May 2016 12:02:40 +0000 (13:02 +0100)]
Use embedded json parser method structure

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Mon, 2 May 2016 09:58:31 +0000 (11:58 +0200)]
Merge branch 'PHP-7.0'

9 years agoDrop dup declare with inconsistent linkage
Nikita Popov [Mon, 2 May 2016 09:56:28 +0000 (11:56 +0200)]
Drop dup declare with inconsistent linkage

This is already declared in zend_stream.h as ZEND_API.

9 years agoFix compile warning in ast.c
Nikita Popov [Mon, 2 May 2016 09:55:49 +0000 (11:55 +0200)]
Fix compile warning in ast.c

9 years agoAdd missing update_constants in ReflectionClassConstant
Nikita Popov [Mon, 2 May 2016 09:42:06 +0000 (11:42 +0200)]
Add missing update_constants in ReflectionClassConstant

Also fix indentation of __toString().

9 years agoEnsure an ORDER BY gets the expected row order
Christopher Jones [Mon, 2 May 2016 06:08:48 +0000 (16:08 +1000)]
Ensure an ORDER BY gets the expected row order

9 years agoAdd NEWS entry for rfc:multiple-catch
Pierrick Charron [Sun, 1 May 2016 22:56:11 +0000 (18:56 -0400)]
Add NEWS entry for rfc:multiple-catch

9 years agoAllow catching multiple exception types in a single catch statement
Pierrick Charron [Sun, 1 May 2016 22:47:08 +0000 (18:47 -0400)]
Allow catching multiple exception types in a single catch statement

This commit add the possibility to catch multiple exception types in
a single catch statement to avoid code duplication.

try {
   // Some code...
} catch (ExceptionType1 | ExceptionType2 $e) {
   // Code to handle the exception
} catch (\Exception $e) {
   // ...
}

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Sun, 1 May 2016 17:27:13 +0000 (19:27 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix test if unlink fails occasionally
  fix dir separator in test

9 years agofix test if unlink fails occasionally
Anatol Belski [Sun, 1 May 2016 17:25:39 +0000 (19:25 +0200)]
fix test if unlink fails occasionally

9 years agofix dir separator in test
Anatol Belski [Sun, 1 May 2016 17:05:02 +0000 (19:05 +0200)]
fix dir separator in test

9 years agoMerge branch 'master' of git.php.net:php-src
Anatol Belski [Sun, 1 May 2016 11:23:57 +0000 (13:23 +0200)]
Merge branch 'master' of git.php.net:php-src

9 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Anatol Belski [Sun, 1 May 2016 11:23:35 +0000 (13:23 +0200)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Sun, 1 May 2016 11:20:33 +0000 (13:20 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Update PHP 5.5 NEWS entries with CVE info
  Added CVE
  Updated NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Sun, 1 May 2016 11:19:48 +0000 (13:19 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Update PHP 5.5 NEWS entries with CVE info
  Added CVE
  Updated NEWS

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Sun, 1 May 2016 11:18:24 +0000 (13:18 +0200)]
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

9 years agoUpdate PHP 5.5 NEWS entries with CVE info
Lior Kaplan [Sun, 1 May 2016 11:14:57 +0000 (13:14 +0200)]
Update PHP 5.5 NEWS entries with CVE info

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Sun, 1 May 2016 11:07:13 +0000 (13:07 +0200)]
Merge branch 'PHP-7.0'

9 years agoFix posix build
Nikita Popov [Sun, 1 May 2016 11:07:01 +0000 (13:07 +0200)]
Fix posix build

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Sun, 1 May 2016 11:05:28 +0000 (13:05 +0200)]
Merge branch 'PHP-7.0'

9 years agoFix ('\bar')() in namespace
Nikita Popov [Sun, 1 May 2016 11:04:08 +0000 (13:04 +0200)]
Fix ('\bar')() in namespace

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 1 May 2016 03:04:48 +0000 (11:04 +0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #72133 (php_posix_group_to_array crashes if gr_passwd is NULL)
Xinchen Hui [Sun, 1 May 2016 03:00:41 +0000 (11:00 +0800)]
Fixed bug #72133 (php_posix_group_to_array crashes if gr_passwd is NULL)

9 years agofix test
Anatol Belski [Sat, 30 Apr 2016 19:15:57 +0000 (21:15 +0200)]
fix test

9 years agoExport zend_pass_function to allow comparisons against it
Bob Weinand [Sat, 30 Apr 2016 18:46:52 +0000 (20:46 +0200)]
Export zend_pass_function to allow comparisons against it

9 years agoMark all $php_errormsg as refs to inhibit optimization
Nikita Popov [Sat, 30 Apr 2016 10:27:36 +0000 (12:27 +0200)]
Mark all $php_errormsg as refs to inhibit optimization

9 years agoMerge branch 'PHP-7.0'
Sara Golemon [Sat, 30 Apr 2016 06:05:18 +0000 (06:05 +0000)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Create temporary sqlite db in test dir rather than cwd (and clean it up)

9 years agoCreate temporary sqlite db in test dir rather than cwd (and clean it up)
Sara Golemon [Sat, 30 Apr 2016 06:02:01 +0000 (06:02 +0000)]
Create temporary sqlite db in test dir rather than cwd (and clean it up)

Well behaved tests do not leave their droppings all over the filesystem.

9 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Sat, 30 Apr 2016 05:49:25 +0000 (06:49 +0100)]
Merge branch 'master' of https://github.com/php/php-src

9 years agoThis function needs to be exported for extensions that implement complex zend objects
Joe Watkins [Sat, 30 Apr 2016 05:48:47 +0000 (06:48 +0100)]
This function needs to be exported for extensions that implement complex zend objects

9 years agoReset IMMUTABLE flag when copy_ctor'ing AST
Nikita Popov [Fri, 29 Apr 2016 20:39:21 +0000 (22:39 +0200)]
Reset IMMUTABLE flag when copy_ctor'ing AST

9 years agoDrop dead code from update_constant
Nikita Popov [Fri, 29 Apr 2016 20:15:38 +0000 (22:15 +0200)]
Drop dead code from update_constant

9 years agoRevert code to use DUP instead of COPY
Nikita Popov [Fri, 29 Apr 2016 20:00:54 +0000 (22:00 +0200)]
Revert code to use DUP instead of COPY

In a1c405e0c50c627cdd9a7695b4c7d644238b6b9b next to the actual fix
I have also switched some (effective) ZVAL_DUPs to ZVAL_COPYs. I'm
reverting this part as those were probably there for a reason
(presumably issues with non-atomic refcounting on ZTS).

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Fri, 29 Apr 2016 12:31:49 +0000 (14:31 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix test
  Expose some of the new curl constants to PHP userspace

9 years agofix test
Anatol Belski [Fri, 29 Apr 2016 12:30:19 +0000 (14:30 +0200)]
fix test

9 years agoExpose some of the new curl constants to PHP userspace
Pierrick Charron [Wed, 27 Apr 2016 22:43:41 +0000 (18:43 -0400)]
Expose some of the new curl constants to PHP userspace

9 years agoFix usages of zend_update_constant_ex
Nikita Popov [Fri, 29 Apr 2016 12:04:23 +0000 (14:04 +0200)]
Fix usages of zend_update_constant_ex

If an in-place update in an external zval is performed, it needs
to incref'd beforehand, not afterwards.

9 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Fri, 29 Apr 2016 12:05:44 +0000 (13:05 +0100)]
Merge branch 'master' of https://github.com/php/php-src

9 years agonews entry
Joe Watkins [Fri, 29 Apr 2016 12:05:29 +0000 (13:05 +0100)]
news entry

9 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Fri, 29 Apr 2016 11:45:29 +0000 (14:45 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Implement #51879 stream context socket option tcp_nodelay

9 years agoFixed compilation warnings
Dmitry Stogov [Fri, 29 Apr 2016 11:44:56 +0000 (14:44 +0300)]
Fixed compilation warnings

9 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Fri, 29 Apr 2016 11:26:18 +0000 (12:26 +0100)]
Merge branch 'master' of https://github.com/php/php-src

9 years agoImplement #51879 stream context socket option tcp_nodelay
Joe Watkins [Fri, 29 Apr 2016 11:25:54 +0000 (12:25 +0100)]
Implement #51879 stream context socket option tcp_nodelay

9 years agoImplement #51879 stream context socket option tcp_nodelay
Joe Watkins [Wed, 27 Apr 2016 21:56:15 +0000 (22:56 +0100)]
Implement #51879 stream context socket option tcp_nodelay

9 years agoFixed compilation warnings
Dmitry Stogov [Fri, 29 Apr 2016 11:03:33 +0000 (14:03 +0300)]
Fixed compilation warnings

9 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Fri, 29 Apr 2016 10:44:23 +0000 (13:44 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Add CVE IDs PHP 7.0.0
  Add CVE IDs PHP 7.0.2
  Add CVE IDs PHP 7.0.3
  Add CVE IDs PHP 7.0.4
  Add CVE IDs PHP 7.0.5
  Add CVE to bug #71912 (PHP 7.0.6)
  Add CVE to bug #69719 (PHP 5.6.10)
  Add CVE IDs PHP 5.6.12
  Add CVE IDs PHP 5.6.13
  Add CVE IDs PHP 5.6.14
  Add CVE to bug #70976 (PHP 5.6.17)
  Add CVE IDs PHP 5.6.18
  Add CVE IDs PHP 5.6.20
  Add CVE to bug #71912 (PHP 5.6.21)

9 years agoFixed "comparison between signed and unsigned integer expressions" compilation warnings
Dmitry Stogov [Fri, 29 Apr 2016 10:43:43 +0000 (13:43 +0300)]
Fixed "comparison between signed and unsigned integer expressions" compilation warnings

9 years agoMerge branch 'PHP-7.0'
Lior Kaplan [Fri, 29 Apr 2016 10:42:54 +0000 (13:42 +0300)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Add CVE IDs PHP 7.0.0
  Add CVE IDs PHP 7.0.2
  Add CVE IDs PHP 7.0.3
  Add CVE IDs PHP 7.0.4
  Add CVE IDs PHP 7.0.5
  Add CVE to bug #71912 (PHP 7.0.6)
  Add CVE to bug #69719 (PHP 5.6.10)
  Add CVE IDs PHP 5.6.12
  Add CVE IDs PHP 5.6.13
  Add CVE IDs PHP 5.6.14
  Add CVE to bug #70976 (PHP 5.6.17)
  Add CVE IDs PHP 5.6.18
  Add CVE IDs PHP 5.6.20
  Add CVE to bug #71912 (PHP 5.6.21)

9 years agoAdd CVE IDs PHP 7.0.0
Lior Kaplan [Fri, 29 Apr 2016 10:41:29 +0000 (13:41 +0300)]
Add CVE IDs PHP 7.0.0

9 years agoAdd CVE IDs PHP 7.0.2
Lior Kaplan [Fri, 29 Apr 2016 10:40:44 +0000 (13:40 +0300)]
Add CVE IDs PHP 7.0.2

9 years agoAdd CVE IDs PHP 7.0.3
Lior Kaplan [Fri, 29 Apr 2016 10:40:07 +0000 (13:40 +0300)]
Add CVE IDs PHP 7.0.3

9 years agoAdd CVE IDs PHP 7.0.4
Lior Kaplan [Fri, 29 Apr 2016 10:39:03 +0000 (13:39 +0300)]
Add CVE IDs PHP 7.0.4

9 years agoAdd CVE IDs PHP 7.0.5
Lior Kaplan [Fri, 29 Apr 2016 10:38:25 +0000 (13:38 +0300)]
Add CVE IDs PHP 7.0.5

9 years agoAdd CVE to bug #71912 (PHP 7.0.6)
Lior Kaplan [Fri, 29 Apr 2016 10:36:24 +0000 (13:36 +0300)]
Add CVE to bug #71912 (PHP 7.0.6)

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Fri, 29 Apr 2016 10:26:46 +0000 (13:26 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Add CVE to bug #69719 (PHP 5.6.10)
  Add CVE IDs PHP 5.6.12
  Add CVE IDs PHP 5.6.13
  Add CVE IDs PHP 5.6.14
  Add CVE to bug #70976 (PHP 5.6.17)
  Add CVE IDs PHP 5.6.18
  Add CVE IDs PHP 5.6.20
  Add CVE to bug #71912 (PHP 5.6.21)

9 years agoAdd CVE to bug #69719 (PHP 5.6.10)
Lior Kaplan [Fri, 29 Apr 2016 10:23:41 +0000 (13:23 +0300)]
Add CVE to bug #69719 (PHP 5.6.10)

9 years agoAdd CVE IDs PHP 5.6.12
Lior Kaplan [Fri, 29 Apr 2016 10:21:35 +0000 (13:21 +0300)]
Add CVE IDs PHP 5.6.12

9 years agoAdd CVE IDs PHP 5.6.13
Lior Kaplan [Fri, 29 Apr 2016 10:19:46 +0000 (13:19 +0300)]
Add CVE IDs PHP 5.6.13

9 years agoAdd CVE IDs PHP 5.6.14
Lior Kaplan [Fri, 29 Apr 2016 10:17:34 +0000 (13:17 +0300)]
Add CVE IDs PHP 5.6.14

9 years agoAdd CVE to bug #70976 (PHP 5.6.17)
Lior Kaplan [Fri, 29 Apr 2016 10:16:27 +0000 (13:16 +0300)]
Add CVE to bug #70976 (PHP 5.6.17)

9 years agoAdd CVE IDs PHP 5.6.18
Lior Kaplan [Fri, 29 Apr 2016 10:15:30 +0000 (13:15 +0300)]
Add CVE IDs PHP 5.6.18

9 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Fri, 29 Apr 2016 10:13:59 +0000 (13:13 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  fix constants availability
  fix size_t signed comparison

9 years agoAdd CVE IDs PHP 5.6.20
Lior Kaplan [Fri, 29 Apr 2016 10:11:54 +0000 (13:11 +0300)]
Add CVE IDs PHP 5.6.20

9 years agoFixed breaks of strict-aliasing rules
Dmitry Stogov [Fri, 29 Apr 2016 10:11:27 +0000 (13:11 +0300)]
Fixed breaks of strict-aliasing rules

9 years agoAdd CVE to bug #71912 (PHP 5.6.21)
Lior Kaplan [Fri, 29 Apr 2016 10:10:13 +0000 (13:10 +0300)]
Add CVE to bug #71912 (PHP 5.6.21)

9 years agoMerge branch 'PHP-7.0'
Dmitry Stogov [Fri, 29 Apr 2016 09:49:54 +0000 (12:49 +0300)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed condition

9 years agoFixed condition
Dmitry Stogov [Fri, 29 Apr 2016 09:49:41 +0000 (12:49 +0300)]
Fixed condition

9 years agoMerge branch 'PHP-7.0'
Dmitry Stogov [Fri, 29 Apr 2016 09:39:27 +0000 (12:39 +0300)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Use unsigned shift to clear the bit.

9 years agoUse unsigned shift to clear the bit.
Dmitry Stogov [Fri, 29 Apr 2016 09:38:48 +0000 (12:38 +0300)]
Use unsigned shift to clear the bit.

9 years agofix constants availability
Anatol Belski [Fri, 29 Apr 2016 09:34:54 +0000 (11:34 +0200)]
fix constants availability

The issue here is that winsock2 defines IP protocols as an enum,
so the preprocessor won't catch it. However all the items related
are available as of winxp (see ws2def.h), so it's safe just to have.

9 years agoMerge branch 'PHP-7.0'
Dmitry Stogov [Fri, 29 Apr 2016 09:34:09 +0000 (12:34 +0300)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Simplified condition

9 years agoSimplified condition
Dmitry Stogov [Fri, 29 Apr 2016 09:33:54 +0000 (12:33 +0300)]
Simplified condition

9 years agoMerge branch 'PHP-7.0'
Dmitry Stogov [Fri, 29 Apr 2016 09:24:13 +0000 (12:24 +0300)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  size_t is unsigned and can't be negative

9 years agosize_t is unsigned and can't be negative
Dmitry Stogov [Fri, 29 Apr 2016 09:23:30 +0000 (12:23 +0300)]
size_t is unsigned and can't be negative

9 years agoMerge branch 'PHP-7.0'
Joe Watkins [Fri, 29 Apr 2016 09:20:27 +0000 (10:20 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix size_t signed comparison

9 years agofix size_t signed comparison
Joe Watkins [Fri, 29 Apr 2016 09:19:55 +0000 (10:19 +0100)]
fix size_t signed comparison