]> granicus.if.org Git - php/log
php
7 years agoOptimize php_unicode_is_prop()
Nikita Popov [Wed, 19 Jul 2017 21:06:05 +0000 (23:06 +0200)]
Optimize php_unicode_is_prop()

Do not try to extract the properties from a bitmask. Instead make
the function variadic and pass all properties individually.

Also add a php_unicode_is_prop1() function to check only a single
property.

7 years agoAvoid unnecessary encoding lookups in mbstring
Nikita Popov [Wed, 19 Jul 2017 20:36:53 +0000 (22:36 +0200)]
Avoid unnecessary encoding lookups in mbstring

Extract part of php_mb_convert_encoding that does the actual work
and use it whenever we already know the encoding.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 19 Jul 2017 20:42:34 +0000 (22:42 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  fix dir separator in test

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 19 Jul 2017 20:42:05 +0000 (22:42 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  fix dir separator in test

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 19 Jul 2017 20:41:32 +0000 (22:41 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix dir separator in test

7 years agofix dir separator in test
Anatol Belski [Wed, 19 Jul 2017 20:41:09 +0000 (22:41 +0200)]
fix dir separator in test

7 years agoMerge branch 'PHP-7.2'
Sara Golemon [Wed, 19 Jul 2017 18:01:56 +0000 (14:01 -0400)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Do not allow using traits/interfaces/abstract classes as stream wrappers

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Sara Golemon [Wed, 19 Jul 2017 18:01:18 +0000 (14:01 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Do not allow using traits/interfaces/abstract classes as stream wrappers
  Add oci8_failover.c to config.w32, follow up for commit 1b797f7a

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Wed, 19 Jul 2017 18:01:00 +0000 (14:01 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Do not allow using traits/interfaces/abstract classes as stream wrappers

7 years agoDo not allow using traits/interfaces/abstract classes as stream wrappers
Sara Golemon [Wed, 19 Jul 2017 16:29:05 +0000 (12:29 -0400)]
Do not allow using traits/interfaces/abstract classes as stream wrappers

Fixes https://bugs.php.net/bug.php?id=74951

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Wed, 19 Jul 2017 17:55:28 +0000 (19:55 +0200)]
Merge branch 'PHP-7.2'

7 years agoFixed bug #74851: Improve uniqid() performance
Emmanuel Dreyfus [Wed, 19 Jul 2017 02:36:55 +0000 (04:36 +0200)]
Fixed bug #74851: Improve uniqid() performance

uniqid() relies on microsecond-precise system clock to produce an
unique identifier. In order to avoid  using the same value, the
original implementation calls usleep(1) to wait for the next microsecond.

Unfortunately, usleep() specification says "The suspension time may be
longer than requested due to the scheduling of other activity by the
system." Indeed, the pause may as as long as an entire execution slice,
causing a uniqid() call to last more than 10 ms.

This is fixed by replacing the usleep() call by time polling using
gettimeofday() until the microsecond changes. Since the getttimeoday()
system call lasts around a microsecond, only a small time is wasted
calling multiple gettimeofday. On the benefit side, uniqid() performance
in increased 10000 fold without changing its behavior.

7 years agoRemove version checks for MySQL < 5.0
Nikita Popov [Wed, 19 Jul 2017 17:34:14 +0000 (19:34 +0200)]
Remove version checks for MySQL < 5.0

7 years agoMerge branch 'PHP-7.1'
Lior Kaplan [Wed, 19 Jul 2017 14:28:12 +0000 (17:28 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Add oci8_failover.c to config.w32, follow up for commit 1b797f7a

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Lior Kaplan [Wed, 19 Jul 2017 14:26:38 +0000 (17:26 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Add oci8_failover.c to config.w32, follow up for commit 1b797f7a

7 years agoAdd oci8_failover.c to config.w32, follow up for commit 1b797f7a
Lior Kaplan [Wed, 19 Jul 2017 14:23:22 +0000 (17:23 +0300)]
Add oci8_failover.c to config.w32, follow up for commit 1b797f7a

7 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Wed, 19 Jul 2017 14:18:41 +0000 (17:18 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Keep resource of enclosing stream, because it may be referenced from other place(s). This fixes valgrind warnings on Zend/tests/type_declarations/scalar_basic.phpt

7 years agoKeep resource of enclosing stream, because it may be referenced from other place(s).
Dmitry Stogov [Wed, 19 Jul 2017 14:16:56 +0000 (17:16 +0300)]
Keep resource of enclosing stream, because it may be referenced from other place(s).
This fixes valgrind warnings on Zend/tests/type_declarations/scalar_basic.phpt

7 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Wed, 19 Jul 2017 12:43:29 +0000 (15:43 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Separate the fast-patch
  Convert CONCAT into FAST_CONCAT for non-object operands

7 years agoSeparate the fast-patch
Dmitry Stogov [Wed, 19 Jul 2017 12:42:32 +0000 (15:42 +0300)]
Separate the fast-patch

7 years agoConvert CONCAT into FAST_CONCAT for non-object operands
Dmitry Stogov [Wed, 19 Jul 2017 12:41:46 +0000 (15:41 +0300)]
Convert CONCAT into FAST_CONCAT for non-object operands

7 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Wed, 19 Jul 2017 12:36:58 +0000 (15:36 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Reset globals on startup or restart

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Dmitry Stogov [Wed, 19 Jul 2017 12:36:48 +0000 (15:36 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Reset globals on startup or restart

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Dmitry Stogov [Wed, 19 Jul 2017 12:36:24 +0000 (15:36 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Reset globals on startup or restart

7 years agoReset globals on startup or restart
Dmitry Stogov [Wed, 19 Jul 2017 12:35:10 +0000 (15:35 +0300)]
Reset globals on startup or restart

7 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Wed, 19 Jul 2017 10:08:22 +0000 (13:08 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Remove dead live ranges and FREE instructions
  Remove live ranges

7 years agoRemove dead live ranges and FREE instructions
Dmitry Stogov [Wed, 19 Jul 2017 10:07:33 +0000 (13:07 +0300)]
Remove dead live ranges and FREE instructions

7 years agoRemove live ranges
Dmitry Stogov [Wed, 19 Jul 2017 10:06:25 +0000 (13:06 +0300)]
Remove live ranges

7 years agoRemoved Bird(broken)step support from ODBC
Kalle Sommer Nielsen [Wed, 19 Jul 2017 08:19:32 +0000 (10:19 +0200)]
Removed Bird(broken)step support from ODBC

7 years agoRemove old references to SAPIs and extensions no longer in the core
Kalle Sommer Nielsen [Wed, 19 Jul 2017 07:09:24 +0000 (09:09 +0200)]
Remove old references to SAPIs and extensions no longer in the core

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Tue, 18 Jul 2017 23:06:01 +0000 (01:06 +0200)]
Merge branch 'PHP-7.2'

7 years agoDon't reuse compare_function operands
Nikita Popov [Tue, 18 Jul 2017 23:04:36 +0000 (01:04 +0200)]
Don't reuse compare_function operands

If the same zval is used for the result and one operand, then the
function thinks it is responsible for freeing the value in case of
a type conversion.

7 years agoAdd notes for cutting release branches
Sara Golemon [Tue, 18 Jul 2017 22:26:48 +0000 (18:26 -0400)]
Add notes for cutting release branches

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Tue, 18 Jul 2017 20:25:50 +0000 (22:25 +0200)]
Merge branch 'PHP-7.2'

7 years agoFixed bug #74936 - session_*() functions trigger a warning in read mode when the...
Sergei Morozov [Mon, 17 Jul 2017 09:39:34 +0000 (12:39 +0300)]
Fixed bug #74936 - session_*() functions trigger a warning in read mode when the session is active

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Tue, 18 Jul 2017 20:16:38 +0000 (22:16 +0200)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Tue, 18 Jul 2017 20:16:33 +0000 (22:16 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 18 Jul 2017 20:15:20 +0000 (22:15 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed #74699 - Broken ArrayIterator unserializing
andrewnester [Tue, 6 Jun 2017 06:37:05 +0000 (09:37 +0300)]
Fixed #74699 - Broken ArrayIterator unserializing

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Tue, 18 Jul 2017 19:45:46 +0000 (21:45 +0200)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Tue, 18 Jul 2017 19:45:41 +0000 (21:45 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 18 Jul 2017 19:45:35 +0000 (21:45 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix check of mysql_commit() return value
YaoGuai [Sun, 16 Jul 2017 07:12:29 +0000 (15:12 +0800)]
Fix check of mysql_commit() return value

For mysql_commit() everything non-zero is an error.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Tue, 18 Jul 2017 19:22:12 +0000 (21:22 +0200)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Tue, 18 Jul 2017 19:21:30 +0000 (21:21 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoFixed #74892 - Fixed URL rewriting for urls started with #
Andrew Nester [Tue, 11 Jul 2017 18:50:38 +0000 (21:50 +0300)]
Fixed #74892 - Fixed URL rewriting for urls started with #

7 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Tue, 18 Jul 2017 17:45:21 +0000 (20:45 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Remove dead JMP/JMPZ/JMPNZ/JMPZNZ (DCE pass can't remove them)
  Constant evaluation of few more constant functions
  Disabled compile-time constant DOUBLE to STRING evaluation (its result depends on run-time 'precision' setting)
  Update NEWS for 7.2.0beta2
  Update NEWS for PHP 7.2.0beta1

7 years agoRemove dead JMP/JMPZ/JMPNZ/JMPZNZ (DCE pass can't remove them)
Dmitry Stogov [Tue, 18 Jul 2017 17:43:06 +0000 (20:43 +0300)]
Remove dead JMP/JMPZ/JMPNZ/JMPZNZ (DCE pass can't remove them)

7 years agoConstant evaluation of few more constant functions
Dmitry Stogov [Tue, 18 Jul 2017 17:42:40 +0000 (20:42 +0300)]
Constant evaluation of few more constant functions

7 years agoDisabled compile-time constant DOUBLE to STRING evaluation (its result depends on...
Dmitry Stogov [Tue, 18 Jul 2017 17:41:01 +0000 (20:41 +0300)]
Disabled compile-time constant DOUBLE to STRING evaluation (its result depends on run-time 'precision' setting)

7 years agobump versions
Joe Watkins [Tue, 18 Jul 2017 16:21:19 +0000 (17:21 +0100)]
bump versions

7 years agoLeftover from 5230541ef59e0637d5522293a7d099bf18ce6af3
Sebastian Bergmann [Tue, 18 Jul 2017 16:14:41 +0000 (18:14 +0200)]
Leftover from 5230541ef59e0637d5522293a7d099bf18ce6af3

7 years agoUpdate NEWS for 7.2.0beta2
Sara Golemon [Tue, 18 Jul 2017 16:00:34 +0000 (16:00 +0000)]
Update NEWS for 7.2.0beta2

7 years agoUpdate NEWS for PHP 7.2.0beta1
Sara Golemon [Tue, 18 Jul 2017 15:40:26 +0000 (15:40 +0000)]
Update NEWS for PHP 7.2.0beta1

7 years agosodium ext: drop unused code
Frank Denis [Tue, 18 Jul 2017 14:53:45 +0000 (16:53 +0200)]
sodium ext: drop unused code
/via @remicollet

7 years agoPrepare for PHP 7.3
Sara Golemon [Tue, 18 Jul 2017 14:36:50 +0000 (10:36 -0400)]
Prepare for PHP 7.3

7 years agoBump all API numbers in prep for 7.2 fork
Sara Golemon [Tue, 18 Jul 2017 14:40:42 +0000 (10:40 -0400)]
Bump all API numbers in prep for 7.2 fork

7 years agosodium ext: implement sodium_crypto_kdf()
Frank Denis [Tue, 18 Jul 2017 12:42:15 +0000 (14:42 +0200)]
sodium ext: implement sodium_crypto_kdf()

Also add zend_parse_parameters_none() statements where appropriate.

7 years agoMerge remote-tracking branch 'jedisct1/sodium-keygen'
Frank Denis [Tue, 18 Jul 2017 10:53:18 +0000 (12:53 +0200)]
Merge remote-tracking branch 'jedisct1/sodium-keygen'

* jedisct1/sodium-keygen:
  sodium ext: remove unused sodium_randombytes_*() prototypes
  sodium ext: add bindings for keygen() functions
  sodium ext: sort prototypes

7 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 18 Jul 2017 10:11:17 +0000 (12:11 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Exclude ext/ftp from AppVeyor test run

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 18 Jul 2017 10:09:58 +0000 (12:09 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Exclude ext/ftp from AppVeyor test run

7 years agoExclude ext/ftp from AppVeyor test run
Anatol Belski [Tue, 18 Jul 2017 10:08:31 +0000 (12:08 +0200)]
Exclude ext/ftp from AppVeyor test run

as the tests depend on fork() and otherwise an extra setup would be
needed anyway.

7 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 18 Jul 2017 08:26:51 +0000 (10:26 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  move to 7.0.23 for dev

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 18 Jul 2017 08:26:10 +0000 (10:26 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  move to 7.0.23 for dev

7 years agomove to 7.0.23 for dev
Anatol Belski [Tue, 18 Jul 2017 08:25:40 +0000 (10:25 +0200)]
move to 7.0.23 for dev

7 years agofix regression introduced by 0782a7fc6314c8bd3cbfd57f12d0479bf9cc8dc7
Anatol Belski [Mon, 17 Jul 2017 22:35:01 +0000 (00:35 +0200)]
fix regression introduced by 0782a7fc6314c8bd3cbfd57f12d0479bf9cc8dc7

7 years agoAdded NEWS entry
Dmitry Stogov [Mon, 17 Jul 2017 20:21:03 +0000 (23:21 +0300)]
Added NEWS entry

7 years agogc_check_possible_root() may throw exception.
Dmitry Stogov [Mon, 17 Jul 2017 20:17:16 +0000 (23:17 +0300)]
gc_check_possible_root() may throw exception.

7 years agoMerge branch 'master' into unset_cv
Dmitry Stogov [Mon, 17 Jul 2017 20:09:13 +0000 (23:09 +0300)]
Merge branch 'master' into unset_cv

* master:
  Constant evaluation of in_array() (support for more cases).
  fix missing var for phpize
  Add support for OpenSSL security level

7 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Mon, 17 Jul 2017 20:08:42 +0000 (23:08 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  fix missing var for phpize
  Add support for OpenSSL security level

7 years agoConstant evaluation of in_array() (support for more cases).
Dmitry Stogov [Mon, 17 Jul 2017 14:27:21 +0000 (17:27 +0300)]
Constant evaluation of in_array() (support for more cases).

7 years agoMerge branch 'PHP-7.1'
Anatol Belski [Mon, 17 Jul 2017 17:41:21 +0000 (19:41 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix missing var for phpize

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 17 Jul 2017 17:40:31 +0000 (19:40 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix missing var for phpize

7 years agofix missing var for phpize
Anatol Belski [Mon, 17 Jul 2017 04:54:27 +0000 (06:54 +0200)]
fix missing var for phpize

(cherry picked from commit 36c3d7140753bb692e36f5dcef7db7aa76224751)

7 years agoAdd support for OpenSSL security level
Jakub Zelenka [Mon, 17 Jul 2017 16:40:51 +0000 (17:40 +0100)]
Add support for OpenSSL security level

7 years agoConstant evaluation of in_array() (support for more cases).
Dmitry Stogov [Mon, 17 Jul 2017 14:27:21 +0000 (17:27 +0300)]
Constant evaluation of in_array() (support for more cases).

7 years agoSeparate ISSET_ISEMPTY_CV/UNSET_CV from ISSET_ISEMPTY_VAR/UNSET_VAR
Dmitry Stogov [Mon, 17 Jul 2017 11:11:50 +0000 (14:11 +0300)]
Separate ISSET_ISEMPTY_CV/UNSET_CV from ISSET_ISEMPTY_VAR/UNSET_VAR

7 years agoFixed CFG/SSA construction (avoid multiple identical predecessors)
Dmitry Stogov [Mon, 17 Jul 2017 10:35:47 +0000 (13:35 +0300)]
Fixed CFG/SSA construction (avoid multiple identical predecessors)

7 years agoRemoved vim mode lines. zend_vm_opcodes.h loses these lines after regeneration. Lines...
Dmitry Stogov [Mon, 17 Jul 2017 08:00:46 +0000 (11:00 +0300)]
Removed vim mode lines. zend_vm_opcodes.h loses these lines after regeneration. Lines in zend_vm_def.h lead to insertion inthe middle of zend_vm_execute.h.

7 years agoAllocate additional slot for third argument
Dmitry Stogov [Mon, 17 Jul 2017 06:11:14 +0000 (09:11 +0300)]
Allocate additional slot for third argument

7 years agofix new password related pieces wrt failing tests
Anatol Belski [Mon, 17 Jul 2017 06:00:41 +0000 (08:00 +0200)]
fix new password related pieces wrt failing tests

7 years agoFixed bug #74906 redirecting incorrect include <sys/errno.h>
Peter Kokot [Wed, 12 Jul 2017 19:42:06 +0000 (21:42 +0200)]
Fixed bug #74906 redirecting incorrect include <sys/errno.h>

7 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 17 Jul 2017 05:55:28 +0000 (06:55 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #74906 redirecting incorrect include <sys/errno.h>

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 17 Jul 2017 05:54:46 +0000 (06:54 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74906 redirecting incorrect include <sys/errno.h>

7 years agoFixed bug #74906 redirecting incorrect include <sys/errno.h>
Peter Kokot [Tue, 11 Jul 2017 22:41:43 +0000 (00:41 +0200)]
Fixed bug #74906 redirecting incorrect include <sys/errno.h>

7 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 17 Jul 2017 05:52:00 +0000 (06:52 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug 74913 redirecting incorrect include <sys/poll.h>

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 17 Jul 2017 05:51:26 +0000 (06:51 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug 74913 redirecting incorrect include <sys/poll.h>

7 years agoFixed bug 74913 redirecting incorrect include <sys/poll.h>
Peter Kokot [Wed, 12 Jul 2017 19:23:41 +0000 (21:23 +0200)]
Fixed bug 74913 redirecting incorrect include <sys/poll.h>

7 years agofix typo
Anatol Belski [Mon, 17 Jul 2017 05:01:07 +0000 (07:01 +0200)]
fix typo

7 years agofix missing var for phpize
Anatol Belski [Mon, 17 Jul 2017 04:54:27 +0000 (06:54 +0200)]
fix missing var for phpize

7 years agoRefactor password_hash()
Sara Golemon [Sun, 16 Jul 2017 21:31:39 +0000 (17:31 -0400)]
Refactor password_hash()

Pull salt generation out to a helper.
Merge options/hash into single switch.
Restore php_error->php_error_docref from last diff. (Error messages matter)

7 years agoRefactor password.c
Sara Golemon [Sat, 15 Jul 2017 14:12:20 +0000 (10:12 -0400)]
Refactor password.c

Use zend_string instread of char*/size_t
Clean up use of scope vars
Get rid of some temporaries/overstacked expressions.

7 years agoProvide zend_string wrappers for php_base64_(en|de)code
Sara Golemon [Sat, 15 Jul 2017 11:51:49 +0000 (07:51 -0400)]
Provide zend_string wrappers for php_base64_(en|de)code

Also pull existing php_base64_decode() proxy out to an inline.
Bump PHP_API_VERSION for ABI change.

7 years agoMake functions in openssl.c more consistent
Jakub Zelenka [Sun, 16 Jul 2017 17:38:17 +0000 (18:38 +0100)]
Make functions in openssl.c more consistent

Improve naming, CS and add some static defs

7 years agoMake consitent naming and improve CS in xp_ssl
Jakub Zelenka [Sun, 16 Jul 2017 16:57:43 +0000 (17:57 +0100)]
Make consitent naming and improve CS in xp_ssl

7 years agoAllow setting SNI cert and pk in separate files
Jakub Zelenka [Sun, 16 Jul 2017 15:15:43 +0000 (16:15 +0100)]
Allow setting SNI cert and pk in separate files

7 years agoBump PHP_JSON_VERSION to 1.6.0
Jakub Zelenka [Sun, 16 Jul 2017 14:53:02 +0000 (15:53 +0100)]
Bump PHP_JSON_VERSION to 1.6.0

7 years ago[ci skip] Remove CSV leftovers from json code - $Id$
Jakub Zelenka [Sun, 16 Jul 2017 14:51:39 +0000 (15:51 +0100)]
[ci skip] Remove CSV leftovers from json code - $Id$

7 years agoIntroduce internal php_json_encode_ex to allow extensions setting depth
Jakub Zelenka [Sun, 16 Jul 2017 14:47:23 +0000 (15:47 +0100)]
Introduce internal php_json_encode_ex to allow extensions setting depth

7 years agoAdd JSON_INVALID_UTF8_SUBSTITUTE and JSON_INVALID_UTF8_IGNORE
Jakub Zelenka [Sun, 16 Jul 2017 11:35:24 +0000 (12:35 +0100)]
Add JSON_INVALID_UTF8_SUBSTITUTE and JSON_INVALID_UTF8_IGNORE

It implements request #65082 and adds options for replacing resp.
ignoring invalid UTF-8 sequences for json_encode and json_decode.