Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
Latest PECL Releases (03.18.2025)
Mar 18, 2025 @ 08:05:24

Latest PECL Releases:

  • datadog_trace 1.7.3
    ## Tracer

    Fixed

    • Avoid using db.statement in favor of sql.query
  • krb5 1.2.4
    - [BUG] Fix PHP7 compatability
  • protobuf 4.30.1
    * See github.com/protocolbuffers/protobuf/releases/tag/v30.1 for release notes.
  • imagick 3.8.0RC2
    - Fixes: * Corrected PHP_IMAGICK_EXTNUM
  • imagick 3.8.0RC1
    - Fixes: * Imagick::clutImage(...) now respects the images interpolate method. * You can now pass null to ImagickDraw::setStrokeDashArray() to reset the dash array. * Fixed memory leak in ImageKernel * Fixed compiling against PHP 8.4. * Fixed various reflection issues related to incorrect arginfo - Added: * function Imagick::clutImageWithInterpolate(Imagick $lookup_table, int $pixel_interpolate_method): bool {} * Constants Imagick::COMPRESSION_BC5, Imagick::COMPRESSION_BC7, Imagick::COMPRESSION_LERC, Imagick::DIRECTION_TOP_TO_BOTTOM, Imagick::ALPHACHANNEL_OFF_IF_OPAQUE
  • gRPC 1.71.0
    - gRPC Core 1.71.0 update
tagged:

Link:

Community News:
Latest PEAR Releases (03.17.2025)
Mar 17, 2025 @ 08:05:21

Latest PEAR Releases:

tagged:

Link:

Community News:
Latest PECL Releases (03.11.2025)
Mar 11, 2025 @ 08:05:20

Latest PECL Releases:

  • xdebug 3.4.2
    Sun, Mar 09, 2025 - Xdebug 3.4.2

    = Fixed bugs:

    • Fixed issue #2313: var_dump does not output some Russian characters
    • Fixed issue #2314: Class properties with hooks are always shown as null
    • Fixed issue #2315: xdebug_dump_superglobals() leaks memory
    • Fixed issue #2317: Code coverage leaks memory
    • Fixed issue #2321: Segfault when null is assigned to a superglobal
    • Fixed issue #2323: xdebug_notify() does not respect xdebug.var_display_max_* Settings
    • Fixed issue #2327: Segmentation Fault 139 if exception thrown in callback since PHP 8.4
  • phalcon 5.9.0
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Changed

    • Changed PhalconFilterValidationValidatorEmail to allow UTF8 in local part. #16637
    • Changed PhalconCacheCache::getMultiple() to use mget() when the PhalconCacheAdapterRedis is used. #16689
    • Changed StorageAdapterRedis to accept ssl in the options for secure connections. #16711

    Added

    • Added dispatch:beforeCallAction and dispatch:afterCallAction to last-minute modifications to handler and method (mostly for debugging).

    Fixed

    • Fixed PhalconFormsForm and PhalconFilterValidation to correctly handle the validate() response when using validation class beforeValidate() #16702
    • Fixed PhalconSupportDebug to use correct passed arguments in set_error_handler callback. PHP v7.2.0 deprecated errcontext and has been removed since php v8.0.0 #16649
    • Fixed PhalconHttpResponseCookies, PhalconHttpResponseCookiesInterface and PhalconHttpCookie to use correct cookie default arguments, avoid deprecated null assign warning when trying to assign the same cookie twice #16649
    • Fixed PhalconEncryptionCrypt to use strlen instead of mb_strlen for padding calculations #16642
    • Fixed PhalconFilterValidationValidatorFileMimeType::validate to close the handle when using finfo #16647
    • Fixed PhalconMvcModelManager::getRelationRecords to explicitly set the referencedModel in the conditions along with the referencedFields #16655
    • Fixed PhalconImageAdaptersAbstractAdapter::watermark to correctly calculate the Y offset #16658
    • Fixed PhalconDispatcherAbstractDispatcher when calling action methods that do not define parameters to prevent Unknown named parameter error.
    • Fixed PhalconDiInjectable to reference the correct instance of PhalconDiDi in the docblock property #16634
    • Fixed PhalconFilterFilter to have the correct docblock for IDE completion
    • Fixed PhalconMvcModelQuery to use the lifetime in the "cache" service if none has been supplied by the options #16696
    • Fixed PhalconSessionAdapterStream::gc() to throw an exception if something is wrong with glob() #16713
    • Fixed PhalconHttpRequest::getBasicAuth() to return a null password if not defined on the server #16668
  • datadog_trace 1.7.2
    ## Tracer ### Fixed - Fallback to writing shared memory files to /tmp, if shm_open returns ENOTSUP Datadog/libdatadog#910

    Profiling

    Fixed

    • I/O upscaling and allocation to the right sample type #3118
    • fix DD_TAGS support #3121
  • phpy 1.0.11
    - Added PyCore::raise() to throw exceptions to the Python layer. - Added PyNamedFn function, which converts PHP functions into Python functions, complete with annotations, parameters, and return type information. - Added the PyEnum function to transform PHP classes containing only constants into Python Enums. - Added the bin/phpy tool. - Added the argument_as_object option - Fixed a bug in PyTuple::offsetExists where it returned false for negative input parameters. - Added a PyClass::__init() callback, which is invoked within the init method of Python classes.
  • protobuf 4.30.0
    * See github.com/protocolbuffers/protobuf/releases/tag/v30.0 for release notes.
tagged:

Link:

Community News:
Latest PEAR Releases (03.10.2025)
Mar 10, 2025 @ 08:05:35

Latest PEAR Releases:

tagged:

Link:

Community News:
Latest PECL Releases (03.04.2025)
Mar 04, 2025 @ 08:05:20

Latest PECL Releases:

  • krb5 1.2.3
    - [BUG] Fix crash with empty channel binding argument

  • mongodb 1.21.0
    ## What's Changed * PHPC-2343: Require PHP 8.1 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1631 * Update branch names for GHA workflows by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1646 * Bump version to 1.21-dev by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1661 * Document how to run part of the test suite by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/1690 * PHPC-2458: Deprecate float arg for UTCDateTime constructor by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1695 * PHPC-2464: Emit deprecation notice for negative "limit" Query option by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1710 * PHPC-2460: Use zend_zval_type_name instead of internal macros by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1714 * PHPC-1247: Update links to PHP.net docs by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1735 * Test PPC and Zseries on RHEL 9 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1740 * PHPC-2472: Update to libmongocrypt 1.12.0 by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1743 * PHPC-2473: Bump to libmongoc 1.29.0 by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1748 * PHPC-2471: Sync BSON corpus tests for Y10K date parsing by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1742 * Use correct arch name in Windows artifacts. by @mickverm in https://github.com/mongodb/mongo-php-driver/pull/1762 * PHPC-2499: Update to libmongoc 1.29.2 by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1766 * PHPC-2496: WriteException stub should inherit ServerException by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1769 * PHPC-2477: Remove unused libmongoc and libbson constants by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1768 * PHPC-2502: Remove XFAIL in server-executeQuery-012.phpt by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1772 * PHPC-2489: Deprecate passing WriteConcern and ReadPreference objects to execute methods by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1770 * PHPC-2501: Conditionally define MONGOC_CYRUS_PLUGIN_PATH_PREFIX on Windows by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1777 * PHPC-2503: Conditionally allow more concise output for libbson 1.30 by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1779 * PHPC:2498: Accept integer types for Document array access by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1781 * PHPC-2508 and PHPC-2506: Bump libmongoc to 1.30 by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1785 * PHPC-2513: Check for returned _id before appending insert by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1788 * PHPC-2519: Bump libmongoc to 1.30.1 by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1792 * PHPC-2518: Support sort option for updateOne and replaceOne by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1794 * Use pre-packaged-source for pie downloads by @asgrim in https://github.com/mongodb/mongo-php-driver/pull/1782

    New Contributors

    • @asgrim made their first contribution in https://github.com/mongodb/mongo-php-driver/pull/1782

    Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/1.20.1...1.21.0

  • protobuf 4.30.0RC2
    * See github.com/protocolbuffers/protobuf/releases/tag/v30.0-rc2 for release notes.
  • operator 0.5.0
    This is a complete rewrite. * Updated to add support for PHP 8.2+. Support for this extension was lost in PHP 7.4 because of a change in the way that assignment operators are handled by the engine. * Added support for the spaceship operator. * Added support for the greater than and greater than or equal to operators without the need for a parser patch.

    Note: This extension will work with PHP 8.0-8.1, but will segfault when you overload the assignment operator and change data types from a non-string to a string, and sometimes from a null to a non-null. If you wish to use it in PHP < 8.2, you have been warned.

  • datadog_trace 1.7.1
    ## Tracer ### Fixed - Handle EINTR in blocking ipc sender Datadog/libdatadog#900

    Profiling

    Fixed

    • fork() call handling before rinit #3104

    Application Security Management

    Fixed

    • Fix unhandled dd_network; fix log message; fix handling of helper errors #3107
  • phpy 1.0.10
    - Added named function supports - Only exact type(tuple/set/list...) of PyObject are converted to subclasses, otherwise they are passed as PyObject - Solve the problem that PyObject::offsetExists is not available - Fixed symbol not found when configure with python-dir
  • gRPC 1.71.0RC2
    - gRPC Core 1.71.0 update
tagged:

Link:

Community News:
Latest PECL Releases (02.25.2025)
Feb 25, 2025 @ 08:05:16

Latest PECL Releases:

  • memprof 3.1.0
    ## Improvements

    • Use filename for script and binary instead of /todo.php (@samlitowitz, #92)
    • Allow output_format to be defined from ini setting (@gaelreyrol, #97)
    • Add units to Callgrind label for memory size and update BlockCount to Call_Count (@samlitowitz, #95)
    • Add support for PIE
  • CSV 0.4.3
    * Fix a memory leak * Use standard error phrasing for error messages

    Sponsor me via GitHub sponsors: https://github.com/sponsors/Girgias

  • xmldiff 1.1.5
    - Fix various memory leaks (nielsdos) - Improve comparison performance (nielsdos)
  • datadog_trace 1.7.0
    ## Tracer ### Added - OTel Integration tracking #3084 - Send integration error logs through telemetry #3006

    Fixed

    • Fix fork handling of sidecar #3077
    • Work around preloaded enums being broken on early PHP 8.4 versions with observers #3093
    • Missing Predis Service Override #3098
    • Lazily init cadence client Datadog/libdatadog#890
      • This will work around unnecessarily many sidecar threads being created.
    • Fix possible race confition when adding, then removing remote config services Datadog/libdatadog#882
      • This aims to solve watchdog timeouts of the sidecar (a cause of broken pipes).
    • Handle a zero-sized file for mmap()ing Datadog/libdatadog#838

    Internal

    • Generate Markdown Table of Supported Versions #3062
    • Ensuring latest version of composer package are tested #3041
    • Fix UserAvailableConstantsTest::testAllTypesAreTested #3042

    Profiling

    Added

    • I/O profiling preview #3083
    • support new ZendMM api #2969

    Changed

    • switch to pthread_atfork() for fork barrier handling #3058

    Application Security Management

    Added

    • Add rasp telemetry #3061
    • Implement SSRF #3014

    Changed

    • Update user login and signup events collection #2976

    Fixed

    • Fix build of appsec helper with llvm's linker #3069
    • Amend login failure event being reported #3092
  • zip 1.22.5
    - Fix zip_entry_name() crash on invalid entry
tagged:

Link:

Community News:
Latest PECL Releases (02.18.2025)
Feb 18, 2025 @ 08:05:25

Latest PECL Releases:

  • swoole 5.1.7
    - Fixed an issue where PostgreSQL would revert to synchronous mode under coroutine when receiving large amounts of data. @NathanFreeman

    • Fixed an issue where dynamically creating properties in SwooleHttp2Request would throw an exception. @xuanyanwow @guandeng
    • Fixed a memory error caused by fatal errors occurring in one-click coroutine. @matyhtf
  • datadog_trace 1.6.4
    ## Tracer ### Fixed - Add track_error: false on ignored caught exceptions #3074 - Log fd opening on windows #3076 - Validate `DD_TRACE_AGENT_URL` #3050 ## Profiler ### Fixed - Combine thread timeout errors properly #3081 - Avoid dlclose if threads did not join #3075 - guard VERSION against CRLF characters #3049 ### Chore - Apply cargo fmt and fix feature builds #3064 ### Internal - Update dependencies #3052 - Bump libdatadog to v15 #3048 ## AppSec ### Internal - Trim CRLF chars on version file on Remote Config #3051
  • swoole 6.0.1
    - Fixed an issue in `SWOOLE_THREAD` mode where the process could not exit properly due to not removing the listening event. @NathanFreeman - Fixed an issue where large file uploads failed when the `single_thread` configuration was enabled. @matyhtf - Fixed an issue where compilation could not find the specific file path if the same variable was already defined in `config.m4`. @matyhtf - Fixed an issue in `SwooleProcessPool` where processes could not exit properly upon timeout. @matyhtf - Fixed an issue in `SWOOLE_THREAD` mode where calling `putenv` caused the program to crash. @matyhtf - Fixed an issue in `SWOOLE_THREAD` mode where event callback functions could not be set for independent ports. @matyhtf - Fixed an issue in `SWOOLE_THREAD` mode where runtime parameters could not be retrieved in events such as `onWorkerStart`. @matyhtf - Fixed an issue where Postgresql would degrade to synchronous mode when receiving large amounts of data under coroutine. @NathanFreeman - Optimized the parameter judgment logic of `swoole_substr_json_decode`/`swoole_substr_unserialize` functions. @Appla - Fixed an issue with CPU affinity settings in `config.m4`. @remicollet - In the Http service, if the process restarts, the underlying layer will send a 500 Internal Server to requests waiting in the queue, close the connection, and discard these requests after sending. @NathanFreeman - Since the runtime configuration relied upon by the `stream factory` and `stream ops` in the PHP underlying is not thread-safe, in multi-thread mode, only the main thread is allowed to modify these runtime configurations before creating child threads. @matyhtf - Fixed an issue in `SWOOLE_THREAD` mode where the heartbeat detection did not function properly. @matyhtf
tagged:

Link:

Community News:
Latest PECL Releases (02.11.2025)
Feb 11, 2025 @ 08:05:18

Latest PECL Releases:

tagged:

Link:

Community News:
Latest PECL Releases (02.04.2025)
Feb 04, 2025 @ 08:05:17

Latest PECL Releases:

  • openswoole 25.2.0
    . PHP 8.4 support

  • gRPC 1.70.0
    - gRPC Core 1.70.0 update
  • couchbase 4.2.6
    Enhancements ============
    • PCBC-992: Add zone aware replica reads (#201).

    Fixes

    • PCBC-1018: Do not destroy expired connection if it still being used (#200).

    • PCBC-1016: Fix trustCertificate option that was ignored previously (#195).

    • Update core to 1.0.5 (#203).

    • Fix PHP 8.4 deprecation warnings (#198).

    • Fix Undefined constant error (#196).

  • parallel 1.2.6
    - fix/update Windows CI #330 - upgrade docker images and add PHP 8.4 containers #331 - support in-tree build #334 - support building via pie #335, #336
  • jsonpath 3.0.0
    ## Breaking changes

    In comparisons involving numbers, numeric strings are now treated as numbers.

    Example:

    $data = [
        &#039;items&#039; =&gt; [
            [
                &#039;id&#039; =&gt; 1,
                &#039;quantity&#039; =&gt; 5,
            ],
            [
                &#039;id&#039; =&gt; 2,
                &#039;quantity&#039; =&gt; &#039;8&#039;,
            ],
        ],
    ];
    

    Before: $.items[?(@.quantity &gt; 0)] returns [[&#039;id&#039; =&gt; 1, &#039;quantity&#039; =&gt; 5]]. After: $.items[?(@.quantity &gt; 0)] returns [[&#039;id&#039; =&gt; 1, &#039;quantity&#039; =&gt; 5], [&#039;id&#039; =&gt; 2, &#039;quantity&#039; =&gt; &#039;8&#039;]].

    What's Changed

    • Test also on PHP 8.4 for Windows and PHP 8.5 (nightly) for Linux, cache PHP-SDK in Windows by @crocodele in https://github.com/supermetrics-public/pecl-jsonpath/pull/192
    • Allow numeric strings in number comparisons by @crocodele in https://github.com/supermetrics-public/pecl-jsonpath/pull/191
  • PDO_INFORMIX 1.3.7
    Changed the config file to support CSDK 5.0 for informix 15.
tagged:

Link:

Community News:
Latest PECL Releases (01.28.2025)
Jan 28, 2025 @ 08:05:17

Latest PECL Releases:

  • ice 1.11.0
    - PHP 7.4, drop support

    • PHP 8.3 and PHP 8.4, add support #314
    • Update zephir parser to 1.7.0
    • Update zephir-lang/zephir@c79b710
  • jsonpath 2.1.1
    * Add link to PHP Extensions Repository for Windows DLLs by @crocodele in https://github.com/supermetrics-public/pecl-jsonpath/pull/180 * Add dependabot configuration by @dawitnida in https://github.com/supermetrics-public/pecl-jsonpath/pull/181 * Bump actions/checkout from 2 to 4 by @dependabot in https://github.com/supermetrics-public/pecl-jsonpath/pull/183 * Bump DoozyX/clang-format-lint-action from 0.12 to 0.17 by @dependabot in https://github.com/supermetrics-public/pecl-jsonpath/pull/182 * Bump schneegans/dynamic-badges-action from 1.0.0 to 1.7.0 by @dependabot in https://github.com/supermetrics-public/pecl-jsonpath/pull/184 * Bump php/setup-php-sdk from 0.8 to 0.9 by @dependabot in https://github.com/supermetrics-public/pecl-jsonpath/pull/185 * Bump DoozyX/clang-format-lint-action from 0.17 to 0.18 by @dependabot in https://github.com/supermetrics-public/pecl-jsonpath/pull/186 * Add composer.json for compatibility with PIE by @crocodele in https://github.com/supermetrics-public/pecl-jsonpath/pull/187 * Fix segmentation fault when matching regex string against non-string values by @crocodele in https://github.com/supermetrics-public/pecl-jsonpath/pull/190
  • protobuf 3.25.6
    * See github.com/protocolbuffers/protobuf/releases/tag/v25.6 for release notes.
  • opentelemetry 1.1.2
    See https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/1.1.2
tagged:

Link:


Trending Topics: