Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 14, 2019

  • Core:
    Added get_mangled_object_vars($object) function, which returns the mangled
    object properties. It returns the same result as (array) $object, with the
    exception that it ignores overloaded array casts, such as used by
    ArrayObject.

  • OpenSSL:
    Added openssl_x509_verify(mixed cert, mixed key) function that verifies the
    signature of the certificate using a public key. A wrapper around the
    OpenSSL's X509_verify() function.
    See Add openssl_x509_verify() function php/php-src#3624.

  • Pcntl:
    Added bool pcntl_unshare(int flags) function which allows to dissociate
    parts of the process execution context which are currently being shared with
    other processes. Explicitly, it allows you to unshare the mount, IPC, UTS,
    network, PID, user and cgroup namespaces.

  • Standard

    • bool sapi_windows_set_ctrl_handler(callable handler, [, bool add = true]) -
      set or remove a handler function upon receiving a CTRL event. The handler
      function is expected have a signature "function handler(int $event)".
    • bool sapi_windows_generate_ctrl_event(int type, int pid) - send a CTRL event
      to another process.

Refs:

Loosely related to #808

> - Core:
>    Added get_mangled_object_vars($object) function, which returns the mangled
>    object properties. It returns the same result as (array) $object, with the
>    exception that it ignores overloaded array casts, such as used by
>    ArrayObject.
>
> - OpenSSL:
>    Added openssl_x509_verify(mixed cert, mixed key) function that verifies the
>    signature of the certificate using a public key. A wrapper around the
>    OpenSSL's X509_verify() function.
>    See <php/php-src#3624>.
>
> - Pcntl:
>    Added bool pcntl_unshare(int flags) function which allows to dissociate
>    parts of the process execution context which are currently being shared with
>    other processes. Explicitly, it allows you to unshare the mount, IPC, UTS,
>    network, PID, user and cgroup namespaces.
>
> - Standard
>    * bool sapi_windows_set_ctrl_handler(callable handler, [, bool add = true]) -
>       set or remove a handler function upon receiving a CTRL event. The handler
>       function is expected have a signature "function handler(int $event)".
>    * bool sapi_windows_generate_ctrl_event(int type, int pid) - send a CTRL event
>       to another process.

Refs:
* https://github.com/php/php-src/blob/42cc58ff7b2fee1c17a00dc77a4873552ffb577f/UPGRADING#L348-L379
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Jun 14, 2019
@jrfnl jrfnl added this to the 9.2.0 milestone Jun 14, 2019
@jrfnl jrfnl requested a review from wimg June 14, 2019 13:55
@wimg wimg merged commit 2d5adec into master Jun 16, 2019
@wimg wimg deleted the php-7.4/new-functions branch June 16, 2019 13:14
@jrfnl jrfnl removed the PR: quick merge PR only contains relatively simple changes label Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants