]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.2'
Stanislav Malyshev [Sat, 24 Feb 2018 01:58:06 +0000 (17:58 -0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Set FPM maintainership

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Sat, 24 Feb 2018 01:57:57 +0000 (17:57 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Set FPM maintainership

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Sat, 24 Feb 2018 01:57:50 +0000 (17:57 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  [ci skip] Set FPM maintainership

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sat, 24 Feb 2018 01:57:26 +0000 (17:57 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  [ci skip] Set FPM maintainership

6 years ago[ci skip] Set FPM maintainership
Stanislav Malyshev [Sat, 24 Feb 2018 00:43:10 +0000 (16:43 -0800)]
[ci skip] Set FPM maintainership

As per http://news.php.net/php.internals/101897, Jakub is officially
annointed as new FPM maintainer.

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Fri, 23 Feb 2018 22:53:32 +0000 (23:53 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix #75873: pcntl_wexitstatus returns incorrect on Big_Endian platform (s390x)

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Fri, 23 Feb 2018 22:51:15 +0000 (23:51 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #75873: pcntl_wexitstatus returns incorrect on Big_Endian platform (s390x)

6 years agoFix #75873: pcntl_wexitstatus returns incorrect on Big_Endian platform (s390x)
Sam Ding [Fri, 23 Feb 2018 15:11:18 +0000 (10:11 -0500)]
Fix #75873: pcntl_wexitstatus returns incorrect on Big_Endian platform (s390x)

Cf. https://github.com/php/php-src/pull/3141.

6 years agoFix skip condition
Christoph M. Becker [Fri, 23 Feb 2018 15:23:55 +0000 (16:23 +0100)]
Fix skip condition

The test is not about mhash, but rather about hash.

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Fri, 23 Feb 2018 10:32:18 +0000 (11:32 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix some arginfos

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Fri, 23 Feb 2018 10:28:16 +0000 (11:28 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix some arginfos

6 years agoFix some arginfos
Gabriel Caruso [Wed, 21 Feb 2018 04:04:41 +0000 (01:04 -0300)]
Fix some arginfos

* all arguments for ftp_pasv are required
* $varname for getenv function isn't required anymore
* fsockopen and pfsockopen only require $hostname
* strtok can work with only one parameter
* strpbrk needs two parameters to work
* required parameters and add some parameters in openssl_* functions

6 years agoUse int instead of long in protos
Gabriel Caruso [Fri, 23 Feb 2018 07:42:27 +0000 (04:42 -0300)]
Use int instead of long in protos

6 years agoImprove similar_text(), reduce recursive call to php_similar_char()
zufuliu [Sat, 13 Jan 2018 09:12:57 +0000 (17:12 +0800)]
Improve similar_text(), reduce recursive call to php_similar_char()

If the longest common substring is the leftmost common substring, there
is no need to check the string prefixes for further common substrings,
since there are none.

6 years agoAllow generation of VM map
Dmitry Stogov [Thu, 22 Feb 2018 12:31:00 +0000 (15:31 +0300)]
Allow generation of VM map

6 years agoTest ReflectionClass::getReflectionConstant method
Gabriel Caruso [Mon, 12 Feb 2018 17:26:26 +0000 (15:26 -0200)]
Test ReflectionClass::getReflectionConstant method

6 years agoRemove duplicated tests
Gabriel Caruso [Tue, 20 Feb 2018 23:08:09 +0000 (20:08 -0300)]
Remove duplicated tests

6 years agoFixed compilation warnings
Dmitry Stogov [Thu, 22 Feb 2018 08:33:26 +0000 (11:33 +0300)]
Fixed compilation warnings

6 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Thu, 22 Feb 2018 08:00:58 +0000 (11:00 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  remove support for string|unicode in tests
  improve extension skeleton generator

6 years agoFixed build without global register variables
Dmitry Stogov [Thu, 22 Feb 2018 08:00:29 +0000 (11:00 +0300)]
Fixed build without global register variables

6 years agoremove support for string|unicode in tests
Gabriel Caruso [Tue, 20 Feb 2018 21:59:13 +0000 (18:59 -0300)]
remove support for string|unicode in tests

6 years agoimprove extension skeleton generator
Pedro Magalhães [Wed, 21 Feb 2018 22:44:06 +0000 (22:44 +0000)]
improve extension skeleton generator

6 years agoReorganize make_real_object() related code
Dmitry Stogov [Wed, 21 Feb 2018 15:43:38 +0000 (18:43 +0300)]
Reorganize make_real_object() related code

6 years agoMove exceprional code into helper & zend_fetch_var_address_helper() micro-optimization.
Dmitry Stogov [Wed, 21 Feb 2018 14:09:42 +0000 (17:09 +0300)]
Move exceprional code into helper & zend_fetch_var_address_helper() micro-optimization.

6 years agoMove result address calculation from specialized handlers to less specialized helpers
Dmitry Stogov [Wed, 21 Feb 2018 13:06:29 +0000 (16:06 +0300)]
Move result address calculation from specialized handlers to less specialized helpers

6 years agoFix def signature to match declaration
Anatol Belski [Wed, 21 Feb 2018 10:53:38 +0000 (11:53 +0100)]
Fix def signature to match declaration

6 years agoMark exceptional helpers as "cold"
Dmitry Stogov [Wed, 21 Feb 2018 09:07:29 +0000 (12:07 +0300)]
Mark exceptional helpers as "cold"

6 years agoMove exceptional code into helpers
Dmitry Stogov [Wed, 21 Feb 2018 07:10:04 +0000 (10:10 +0300)]
Move exceptional code into helpers

6 years agoOptimized php_stripslash with SSSE3 instr
Xinchen Hui [Wed, 21 Feb 2018 02:09:11 +0000 (10:09 +0800)]
Optimized php_stripslash with SSSE3 instr

6 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Wed, 21 Feb 2018 01:51:38 +0000 (09:51 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Added expectation
  Fix initialisation order
  Fix NEWS
  Fix a memleak with mysqlnd and SSL
  Move exceptional code into helpers
  Fix negotiaton of MySQL auth plugin
  Use EXPECT instead of EXPECTF when possible
  Move cold code, duplicated by specializer, into helper functions
  Fixed build without global register variables
  Sync --enable-native-intrinsics to pecl
  [ci skip] Sort recent NEWS entries alphabetically
  Fix openssl_* arginfos
  Update binary tools SDK branch for AppVeyor
  Separate slow path with make_real_object() and related code into "cold" function.
  [ci skip] run-tests.php: add missing put section

6 years agoAdded expectation
Dmitry Stogov [Tue, 20 Feb 2018 23:49:40 +0000 (02:49 +0300)]
Added expectation

6 years agoMerge branch 'master' of git.php.net:/php-src
Johannes Schlüter [Tue, 20 Feb 2018 22:48:00 +0000 (23:48 +0100)]
Merge branch 'master' of git.php.net:/php-src

6 years agoFix initialisation order
Johannes Schlüter [Tue, 20 Feb 2018 22:35:57 +0000 (23:35 +0100)]
Fix initialisation order

6 years agoMerge branch 'PHP-7.2'
Johannes Schlüter [Tue, 20 Feb 2018 22:33:01 +0000 (23:33 +0100)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Johannes Schlüter [Tue, 20 Feb 2018 22:32:25 +0000 (23:32 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Johannes Schlüter [Tue, 20 Feb 2018 22:32:05 +0000 (23:32 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

6 years agoFix NEWS
Johannes Schlüter [Tue, 20 Feb 2018 22:31:30 +0000 (23:31 +0100)]
Fix NEWS

6 years agoFix a memleak with mysqlnd and SSL
Johannes Schlüter [Tue, 20 Feb 2018 22:28:23 +0000 (23:28 +0100)]
Fix a memleak with mysqlnd and SSL

6 years agoMove exceptional code into helpers
Dmitry Stogov [Tue, 20 Feb 2018 22:27:39 +0000 (01:27 +0300)]
Move exceptional code into helpers

6 years agoMerge branch 'PHP-7.2'
Johannes Schlüter [Tue, 20 Feb 2018 22:20:55 +0000 (23:20 +0100)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Johannes Schlüter [Tue, 20 Feb 2018 22:20:28 +0000 (23:20 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Johannes Schlüter [Tue, 20 Feb 2018 22:20:02 +0000 (23:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

6 years agoFix negotiaton of MySQL auth plugin
Johannes Schlüter [Tue, 20 Feb 2018 22:13:03 +0000 (23:13 +0100)]
Fix negotiaton of MySQL auth plugin

6 years agoUse EXPECT instead of EXPECTF when possible
Gabriel Caruso [Mon, 19 Feb 2018 08:59:41 +0000 (05:59 -0300)]
Use EXPECT instead of EXPECTF when possible

EXPECTF logic in run-tests.php is considerable, so let's avoid it.

6 years agoMove cold code, duplicated by specializer, into helper functions
Dmitry Stogov [Tue, 20 Feb 2018 20:44:25 +0000 (23:44 +0300)]
Move cold code, duplicated by specializer, into helper functions

6 years agoFixed build without global register variables
Dmitry Stogov [Tue, 20 Feb 2018 17:39:02 +0000 (20:39 +0300)]
Fixed build without global register variables

6 years agoSync --enable-native-intrinsics to pecl
Anatol Belski [Tue, 20 Feb 2018 14:37:13 +0000 (15:37 +0100)]
Sync --enable-native-intrinsics to pecl

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Tue, 20 Feb 2018 15:36:50 +0000 (16:36 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Sort recent NEWS entries alphabetically

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Tue, 20 Feb 2018 15:32:27 +0000 (16:32 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Sort recent NEWS entries alphabetically

6 years ago[ci skip] Sort recent NEWS entries alphabetically
Christoph M. Becker [Tue, 20 Feb 2018 15:31:56 +0000 (16:31 +0100)]
[ci skip] Sort recent NEWS entries alphabetically

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Tue, 20 Feb 2018 15:26:06 +0000 (16:26 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix openssl_* arginfos

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Tue, 20 Feb 2018 15:24:29 +0000 (16:24 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix openssl_* arginfos

6 years agoFix openssl_* arginfos
Gabriel Caruso [Sat, 17 Feb 2018 00:31:29 +0000 (22:31 -0200)]
Fix openssl_* arginfos

openssl_pkcs12_export and openssl_x509_parse had wrong arginfos

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 20 Feb 2018 14:53:11 +0000 (15:53 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update binary tools SDK branch for AppVeyor

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 20 Feb 2018 14:52:42 +0000 (15:52 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update binary tools SDK branch for AppVeyor

6 years agoUpdate binary tools SDK branch for AppVeyor
Anatol Belski [Tue, 20 Feb 2018 14:40:10 +0000 (15:40 +0100)]
Update binary tools SDK branch for AppVeyor

6 years agoSeparate slow path with make_real_object() and related code into "cold" function.
Dmitry Stogov [Tue, 20 Feb 2018 14:22:11 +0000 (17:22 +0300)]
Separate slow path with make_real_object() and related code into "cold" function.

6 years ago[ci skip] run-tests.php: add missing put section
Michael Wallner [Tue, 20 Feb 2018 13:55:52 +0000 (14:55 +0100)]
[ci skip] run-tests.php: add missing put section

6 years agoSimplified the codes (the penalty of loading unaligned address is negligible)
Xinchen Hui [Tue, 20 Feb 2018 12:56:23 +0000 (20:56 +0800)]
Simplified the codes (the penalty of loading unaligned address is negligible)

6 years agoSeparate cold paths of ISSET_ISEMPTY_DIM_OBJ
Dmitry Stogov [Tue, 20 Feb 2018 11:42:53 +0000 (14:42 +0300)]
Separate cold paths of ISSET_ISEMPTY_DIM_OBJ

6 years agofix ZEND_VM_SET_OPCODE_HANDLER cannot set user opcode handler
Haitao Lv [Mon, 12 Feb 2018 03:20:24 +0000 (11:20 +0800)]
fix ZEND_VM_SET_OPCODE_HANDLER cannot set user opcode handler

6 years agoFix possible memory leak
Anatol Belski [Tue, 20 Feb 2018 07:23:25 +0000 (08:23 +0100)]
Fix possible memory leak

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 20 Feb 2018 07:00:55 +0000 (08:00 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  dos2unix

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 20 Feb 2018 07:00:08 +0000 (08:00 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  dos2unix

6 years agodos2unix
Anatol Belski [Tue, 20 Feb 2018 06:59:34 +0000 (07:59 +0100)]
dos2unix

6 years agoFix conjugation
Anatol Belski [Tue, 20 Feb 2018 06:24:20 +0000 (07:24 +0100)]
Fix conjugation

6 years agoAdd a test for iterating SXE properties by reference
Craig Duncan [Sat, 17 Feb 2018 22:38:55 +0000 (22:38 +0000)]
Add a test for iterating SXE properties by reference

6 years agoConvert iterator by reference errors to exceptions
Nikita Popov [Mon, 19 Feb 2018 20:57:07 +0000 (21:57 +0100)]
Convert iterator by reference errors to exceptions

I'm using RuntimeException in SPL, because other SPL classes that
throw this error used it. Error is used for everything else, because
that's what core does.

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Mon, 19 Feb 2018 20:46:20 +0000 (21:46 +0100)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Mon, 19 Feb 2018 20:46:11 +0000 (21:46 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoFix incorrect printf modifiers
Nikita Popov [Mon, 19 Feb 2018 20:44:36 +0000 (21:44 +0100)]
Fix incorrect printf modifiers

6 years agoReport unknown sections in run-tests.php
Gabriel Caruso [Mon, 19 Feb 2018 05:42:16 +0000 (02:42 -0300)]
Report unknown sections in run-tests.php

6 years agoSimplify code
Nikita Popov [Mon, 19 Feb 2018 20:38:10 +0000 (21:38 +0100)]
Simplify code

If operator overloading is ignored tmp will be 0 and we can still
use |=. No need to separate this into two cases.

6 years agoAdd basic cppcheck suppressions file
Anatol Belski [Mon, 19 Feb 2018 16:43:03 +0000 (17:43 +0100)]
Add basic cppcheck suppressions file

6 years agoReduce var scope
Anatol Belski [Mon, 19 Feb 2018 15:09:37 +0000 (16:09 +0100)]
Reduce var scope

6 years agoFixed typo
Dmitry Stogov [Mon, 19 Feb 2018 14:57:46 +0000 (17:57 +0300)]
Fixed typo

6 years agoAdded tracer to collect frequency of opcode handler call chains
Dmitry Stogov [Mon, 19 Feb 2018 13:50:24 +0000 (16:50 +0300)]
Added tracer to collect frequency of opcode handler call chains

6 years agoAdded VM instrumentation ability
Dmitry Stogov [Mon, 19 Feb 2018 13:42:02 +0000 (16:42 +0300)]
Added VM instrumentation ability

6 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Mon, 19 Feb 2018 13:40:45 +0000 (16:40 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Don't add empty include path
  Reduce struct size by 8 bytes on 64-bit

6 years agoDon't add empty include path
Anatol Belski [Mon, 19 Feb 2018 13:15:33 +0000 (14:15 +0100)]
Don't add empty include path

6 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Mon, 19 Feb 2018 13:12:15 +0000 (16:12 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Remove explicit params count check

6 years agoElimintate duplicate error message
Dmitry Stogov [Mon, 19 Feb 2018 13:11:28 +0000 (16:11 +0300)]
Elimintate duplicate error message

6 years agoReduce struct size by 8 bytes on 64-bit
Anatol Belski [Mon, 19 Feb 2018 11:01:54 +0000 (12:01 +0100)]
Reduce struct size by 8 bytes on 64-bit

6 years agoRemove explicit params count check
Gabriel Caruso [Sun, 18 Feb 2018 02:11:00 +0000 (23:11 -0300)]
Remove explicit params count check

Relying on ZPP instead. Also, use ZEND_NUM_ARGS() instead of hardcode
number of parameters

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 19 Feb 2018 10:28:13 +0000 (11:28 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Use more jobs with cppcheck

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 19 Feb 2018 10:27:42 +0000 (11:27 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Use more jobs with cppcheck

6 years agoUse more jobs with cppcheck
Anatol Belski [Mon, 19 Feb 2018 10:27:03 +0000 (11:27 +0100)]
Use more jobs with cppcheck

6 years agoFixed unintended API break
Dmitry Stogov [Mon, 19 Feb 2018 10:11:39 +0000 (13:11 +0300)]
Fixed unintended API break

6 years agoAllow optional ignorance of operator overlaoding. Optimizer takes into account possib...
Dmitry Stogov [Mon, 19 Feb 2018 09:21:43 +0000 (12:21 +0300)]
Allow optional ignorance of operator overlaoding. Optimizer takes into account possibility of operator overloading at default optimization level, but ignores this possibility at "unsafe" level (opcache.optimization_level=-1).

6 years agoReduce struct size by 8 bytes on 64-bit
Anatol Belski [Sun, 18 Feb 2018 23:11:30 +0000 (00:11 +0100)]
Reduce struct size by 8 bytes on 64-bit

6 years agoRemove duplicated assignment
Anatol Belski [Sun, 18 Feb 2018 23:10:58 +0000 (00:10 +0100)]
Remove duplicated assignment

6 years agoReduce struct size by 8 bytes on 64-bit
Anatol Belski [Sun, 18 Feb 2018 21:58:04 +0000 (22:58 +0100)]
Reduce struct size by 8 bytes on 64-bit

6 years agoRefactoring duplicated ZPP with a switch
Gabriel Caruso [Sun, 18 Feb 2018 13:12:12 +0000 (10:12 -0300)]
Refactoring duplicated ZPP with a switch

6 years agoShare identical arginfos
Gabriel Caruso [Sun, 18 Feb 2018 17:46:46 +0000 (14:46 -0300)]
Share identical arginfos

6 years agoRemove duplicated informations in tests
Gabriel Caruso [Sun, 18 Feb 2018 18:06:48 +0000 (15:06 -0300)]
Remove duplicated informations in tests

6 years agoTest more functions of ftp
Gabriel Caruso [Sun, 18 Feb 2018 22:45:39 +0000 (19:45 -0300)]
Test more functions of ftp

6 years agoTest more functionalities of SPL
Gabriel Caruso [Mon, 19 Feb 2018 00:34:17 +0000 (21:34 -0300)]
Test more functionalities of SPL

6 years agoAvoid multiple wcslen() calls
Anatol Belski [Sun, 18 Feb 2018 19:30:33 +0000 (20:30 +0100)]
Avoid multiple wcslen() calls

6 years agoReduce var scope
Anatol Belski [Sun, 18 Feb 2018 18:59:23 +0000 (19:59 +0100)]
Reduce var scope

6 years agoReduce variable scope
Anatol Belski [Sun, 18 Feb 2018 18:15:36 +0000 (19:15 +0100)]
Reduce variable scope