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

Community News:
Latest PECL Releases (11.22.2022)
Nov 22, 2022 @ 08:05:12

Latest PECL Releases:

  • zstd 0.12.0
    - use fast parameter parsing API

    • remove support for PHP 5
    • update built-in zstd library to 1.5.1
tagged:

Link:

Community News:
Latest PECL Releases (11.15.2022)
Nov 15, 2022 @ 08:05:10

Latest PECL Releases:

  • phalcon 5.1.1
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconFilter::sanitize to return correct data when noRecursive is true #16199
    • Fixed PhalconHtmlEscaper::html to not return null when a zero string is passed #16202
  • teds 1.3.0
    * Optimize TedsDeque insert() and offsetUnset() calls with offsets when they're closer to the front of the deque than the end of the Deque. * Add Tedsstrict_equals($v1, $v2): bool with stricter NAN handling than `===`. * Regenerate function arginfo with namespaced C symbols from stub.php files.
  • xdebug 3.2.0RC2
    Thu, Nov 10, 2022 - Xdebug 3.2.0RC2

    = Fixed bugs:

    • Fixed issue #2100: "Fatal error: debuginfo() must return an array" when Exception is thrown from debugInfo in PHP 8.x
    • Fixed issue #2101: When a temporary breakpoint is hit, breakpoint_list should show it as disabled
    • Fixed issue #2126: Problems with retrieving global variables
    • Fixed issue #2127: Tracing does not handle NUL char in anonymous closure scope
    • Fixed issue #2129: Cannot read snapshot Gzip-compressed data is corrupt
    • Fixed issue #2133: Warning with regards to extra NUL character in xdebug_setcookie call
    • Fixed issue #2134: Xdebug stops at the line where the exception is created, not where it is thrown
    • Fixed issue #2135: Xdebug stops twice at the same line after a call breakpoint or xdebug_break()
    • Fixed issue #2136: Duplicate line/conditional breakpoints are not rejected
  • solr 2.6.0
    - PHP 8.1 compatible - PHP 8.2 compatible
  • xdebug 3.1.6
    Tue, Nov 08, 2022 - Xdebug 3.1.6

    = Fixed bugs:

    • Fixed issue #2100: "Fatal error: debuginfo() must return an array" when Exception is thrown from debugInfo in PHP 8.x
    • Fixed issue #2101: When a temporary breakpoint is hit, breakpoint_list should show it as disabled
    • Fixed issue #2129: Cannot read snapshot Gzip-compressed data is corrupt
tagged:

Link:

Community News:
Latest PECL Releases (11.08.2022)
Nov 08, 2022 @ 08:05:09

Latest PECL Releases:

  • igbinary 3.2.12
    * Fix symbol error seen in php 8.2.0 loading zend_class_unserialize_deny, due to failing to load a header defining a macro.

  • swoole 5.0.1
    * Supported PHP-8.2 * Improved coroutine exception handling, compatible with ext-soap * Fixed parameter compatibility of Coroutine::printBackTrace() and debug_print_backtrace() * Added pgsql coroutine client LOB supports * Fixed Event::add() support for sockets resources * Fixed compile error when no zlib * Improved websocket client, upgrade header contains websocket instead of equal * Optimized http client, disable keep-alive when server sends connection close * Optimized http client, prohibit adding the Accept-Encoding header without compression library - Improved debug info, set password as sensitive parameter under PHP-8.2 - Fixed crash when unpack server task parsed to an unexpected string - Enhanced Server::taskWaitMulti(), no blocking in coroutine environment - Fixed the problem that adding a timer less than 1ms is forced to 0 - Fixed crash when using table::getMemorySize() before add columns - Optimized log function, no longer print screen when writing to the log file fails
  • igbinary 3.2.11
    * Fix a bug that could prevent objects/arrays with reference cycles from being properly garbage collected. * Fix bugs in unserializing PHP references to values found in php 7.4 typed properties (#363)
  • igbinary 3.2.10
    * Add a macro that callers can use to check if igbinary will accept the header for data being unserialized. * Fix bug preventing the unserialization of data containing representations of strings larger than 4GB.
  • xhprof 2.3.8
    - fix segmentation fault #72
  • win32service 1.0.2
    * Rewrite some code (espectaly if/else instruction). * Add more detail in exception message. * Fix recovery settings error (issue [#71](https://github.com/win32service/win32service/issues/71)) The binary is also available here: https://github.com/win32service/win32service/releases/tag/v1.0.2
  • datadog_trace 0.81.1
    #### Fixed - Fix span limiter not being reset in long running processes #1785
  • datadog_trace 0.81.0
    ### Added - Rate limiting support #1769 - Add span stacks #1746

    Changed

    • Stop collecting IP on tracer #1774
    • Amend wording when uninstalling datadog #1756

    Fixed

    • Guzzle Integration not initialized correctly #1762.
    • Do not create root spans for certain Symfony methods #1771. Thanks, @radykal-com!
    • ldconfig not found by installer #1773
    • Fix crash in ddtrace_curl_multi_get_gc #1779

    Internal changes

    • Fix in-tree compilation #1760
    • Reusability of zai config across products #1765
    • Avoid deprecated zend_atol on PHP 8.2 #1778

    Profiling (v0.10.2)

    Fixed

    • Prevent deadlocks when forking #1752
    • Fix linking on arm64 mac #1759

    Application Security Monitoring (v0.4.4)

    Added

    • Generate ip and duplicate ip headers on appsec DataDog/dd-appsec-php#141
  • timezonedb 2022.6
    Updated to version 2022.6 (2022f)
  • phalcon 5.1.0
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconMvcViewEngineVoltCompiler::isTagFactory to correctly detect a TagFactory object without throwing an error #16097
    • Fixed default values for PhalconCli, PhalconDispatcher and PhalconApplication components to ensure not null values are passed to methods #16186
    • Fixed PhalconForm::clear to correctly clear the elements and not recurse #15956

    Added

    • Added PhalconHttpRequest::getPatch() to get a value from a PATCH request #16188
    • Added PhalconHttpRequest::getFilteredPatch() to get a value filtered from a PATCH request #16188
    • Added PhalconHttpRequest::hasPatch() to check if a value exist in a PATCH request #16188
tagged:

Link:

Community News:
Latest PECL Releases (11.01.2022)
Nov 01, 2022 @ 08:05:11

Latest PECL Releases:

  • parallel 1.2.1
    - Fix segfault when constructing sync objects

    • Fix heap buffer overflows when copying functions
    • Drop disabling functions (dl, setlocale) by force and adopt PG(enable_dl) mechanism for that most important use case
    • Fix some leaks in scheduler
  • teds 1.2.8
    * Same as 1.2.7 other than the version and tests folder. * Update expected test output of the unit test tests/misc/strict_hash_array_recursion_32bit.phpt
  • protobuf 3.21.9
    * See github.com/protocolbuffers/protobuf/releases for release notes.
  • rnp 0.1.1
    * Initial release
tagged:

Link:

Community News:
Latest PECL Releases (10.25.2022)
Oct 25, 2022 @ 08:05:09

Latest PECL Releases:

  • phalcon 5.0.5
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconConfigConfig::setData to pass the insensitive flag to child objects #16171
    • Fixed PhalconConfigAdapterGroupped::__construct to pass the insensitive flag to child objects #16171
    • Fixed PhalconSessionManager::setName, removing the regex check for the name for custom adapters to work with create_sid() #16170
    • Fixed PdoResult::fetchAll when passed class name in 2nd argument #16177
    • Fixed FormsForm::label to accept an array as a default variable #16180
  • parallel 1.2.0
    - Add support for PHP 8.0, 8.1 and 8.2 - Drop support for PHP 7
  • teds 1.2.7
    * Fix an edge case in Tedsstrict_hash for arrays with reference cycles. '$x === $y' should now always imply that Tedsstrict_hash($x) === Tedsstrict_hash($y)
  • mongodb 1.14.2
    ** Bug * [PHPC-2152] - CheckResolv.m4 fails to link libresolv when detecting res_nsearch

    ** Task * [PHPC-2157] - Upgrade libmongoc to 1.22.2

  • simdjson 4.0.0
    * Make the `SIMDJSON_ERR_*` constants case-sensitive in all PHP versions. (The code it was based on was missing the flag needed to mark constants as case sensitive before PHP 8) * Fix a bug that prevented using JSON pointer in `simdjson_key_count`, `simdjson_key_exists`, and `simdjson_key_value` with a leading slash https://www.rfc-editor.org/rfc/rfc6901.html.

    This bug was introduced when working around test failures following a change in json pointer validation in the underlying C simdjson library.

    • "" in a JSON pointer continues to refer to the entire document.
    • "/" in a JSON pointer now properly refers to the key that is the empty string.
    • Continue to allow the non-standard omission of the leading "/" for compatibility with earlier PECL releases. This may be deprecated in a subsequent release.
  • protobuf 3.21.8
    * See github.com/protocolbuffers/protobuf/releases for release notes.
tagged:

Link:

Community News:
Latest PECL Releases (10.18.2022)
Oct 18, 2022 @ 08:05:09

Latest PECL Releases:

  • scoutapm 1.8.3
    - Improved MINFO output for curl availability (#126)

  • phalcon 5.0.4
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconEncryptionSecurity to take into account the workFactor in the cost calculation #16153
    • Removed double unserializing during Model caching #16035, #16131
    • Fixed PhalconDbAdapterPdoMysql::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
    • Fixed PhalconDbAdapterPdoSqlite::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
    • Fixed PhalconMvcModelManager::notifyEvent to return true instead of null on success #16161
    • Fixed PhalconEncryptionSecurityJWTValidator::validateExpiration to correctly validate the exp claim #16166
  • gRPC 1.50.0
    - gRPC Core 1.50.0 update
  • simdjson 3.0.0
    * Add SimdJsonValueError. In php 8.0+, it extends ValueError, and it extends Error in older php versions. This provides an API similar to the JSON module, which started throwing ValueError for invalid depths in php 8.0. * Throw SimdJsonValueError instead of emitting notices if $depth is too small or too large in all simdjson PHP functions. simdjson_is_valid(), simdjson_key_count() and simdjson_key_exists() now have non-null return types. * Throw a SimdJsonException in simdjson_key_exists on error conditions such as invalid json, to be consistent with other simdjson PHP functions. * Add an optional boolean `$throw_if_uncountable = false` to simdjson_key_count. When this is overridden to be true, simdjson_key_count will throw a SimdJsonException if the JSON pointer refers to a value that exists but is neither an array nor an object instead of returning 0. * Rename the parameter $assoc to $associative in simdjson_decode and simdjson_key_value, to match naming practices used in json_decode()
  • igbinary 3.2.9
    * Fix invalid release artifact name in job to build dlls for https://github.com/igbinary/igbinary
  • igbinary 3.2.8
    * Reduce excessive inlining to reduce shared library size. * Miscellaneous optimizations. * Update test expectations to handle changes to var_export output (fully qualified class names) in PHP 8.2. * Throw an Error when igbinary_unserialize would add dynamic properties to class definitions that forbid them in PHP 8.0+ (especially PHP 8.2 `readonly` classes) * Emit a deprecation notice when igbinary_unserialize() adds dynamic properties to a class without `#[AllowDynamicProperties]` in PHP 8.2. Doing that would become an Error in PHP 9.0. * Set up CI job to build dlls on https://github.com/igbinary/igbinary - at the moment, the infrastructure used by the Windows for php team has been broken for months.
  • var_representation 0.1.4
    * No code changes. * Adds steps to build DLLs for Windows in CI.
  • simdjson 2.1.0
    * Allow out of range 64-bit values in JSON integer syntax and allow floating point values outside of the max/min finite floating point values (i.e. parsing to +/- infinity).

    This allows simdjson_decode() to be used as a replacement for json_decode() in more use cases.

    • Return the correct value in simdjson_key_count() for JSON pointers to arrays/objects exceeding size 0xFFFFFF. Previously, this would be limited to returning at most 0xFFFFFF(16777215).
    • Throw 'SimdJsonException extends RuntimeException' instead of RuntimeException.
    • Set the error code from simdjson as SimdJsonException->getCode()
    • Expose error_code constants from simdjson as SIMDJSON_ERR_$ERRCODENAME
  • var_representation 0.1.3
    * Fix improper detection of VAR_REPRESENTATION_UNESCAPED flag. The var_representation function was previously checking for VAR_REPRESENTATION_SINGLE_LINE due to missing parenthesis in a bitwise operation.
  • simdjson 2.0.5
    * Reuse PHP's 1-byte and 0-byte interned strings in simdjson_decode, reducing memory usage for those strings. (e.g. for the key/value in '{"x":""}') * Return correct count in simdjson_key_count. Properly return counts larger than 0xFFFFFF instead of returning 0xFFFFFF.
  • bsdiff 0.1.2
    - Add PECL configuration option "with-bz2". - Include version numbers in phpinfo.
  • timezonedb 2022.5
    Updated to version 2022.5 (2022e)
tagged:

Link:

Community News:
Latest PECL Releases (10.11.2022)
Oct 11, 2022 @ 08:05:08

Latest PECL Releases:

  • teds 1.2.6
    * Fix a build warning in clang for placeholders indicating that a data structure was constructed/unserialized.

    • Fix a build warning after change to expected return type of count_elements object handler implementation.
  • teds 1.2.5
    * Reduce memory usage by refactoring the way properties/fields of data structures are returned, for var_export/var_dump/debug_zval_dump/array type casts/serialize. In php 8.3+, this should reduce the impact of calling var_export/var_dump/debug_zval_dump on memory usage, and avoid the side effect of keeping around references to fields after those calls.. In all php versions, consistently return temporary arrays for remaining data structures in serialize() and array type casts that will be freed after being used.
  • xdebug 3.2.0RC1
    Mon, Oct 10, 2022 - Xdebug 3.2.0RC1

    = Fixed bugs:

    • Fixed issue #2113: Crash at step_into after thrown exception with return value debugging en
    • Fixed issue #2117: Removed emulated properties for closures, as PHP 8.2 adds debug information for them
    • Fixed issue #2121: Xdebug does not use local independent float-to-string functions
    • Fixed issue #2122: Local variables are not available when using start_upon_error
    • Fixed issue #2123: Add warning in log and diagnositics information when a breakpoint is set on a non-existing file
    • Fixed issue #2124: Xdebug incorrectly reports that there are no children for static closure properties, even thought there are
    • Fixed issue #2125: Crash with PHP 8.2 on 32-bit due to change in "not set" value with CATCH opcode
  • skywalking_agent 0.1.0
    ## What's Changed * [docs] Update README by @heyanlong in https://github.com/apache/skywalking-php/pull/1 * Remove the CI limit first, in order to run CI. by @jmjoy in https://github.com/apache/skywalking-php/pull/3 * Setup CI. by @jmjoy in https://github.com/apache/skywalking-php/pull/5 * Implementation, with curl support. By @jmjoy in https://github.com/apache/skywalking-php/pull/4 * Turn off Swoole support, and fix Makefile. By @jmjoy in https://github.com/apache/skywalking-php/pull/6 * Update docs by @heyanlong in https://github.com/apache/skywalking-php/pull/7 * Add PECL support. By @jmjoy in https://github.com/apache/skywalking-php/pull/8 * Support macOS by replace ipc-channel with socket pair, upgrade dependencies and improve CI. by @jmjoy in https://github.com/apache/skywalking-php/pull/9 * Add compile and release docs. By @jmjoy in https://github.com/apache/skywalking-php/pull/10 * Update official documentation link. By @jmjoy in https://github.com/apache/skywalking-php/pull/11

    New Contributors

    • @heyanlong made their first contribution in https://github.com/apache/skywalking-php/pull/1
    • @jmjoy made their first contribution in https://github.com/apache/skywalking-php/pull/3

    Full Changelog: https://github.com/apache/skywalking-php/commits/v0.1.0

  • bsdiff 0.1.1
    First public release
  • pledge 2.0.3
    - handle EFAULT errors
  • msgpack 2.2.0RC2
    * Fixed PHP-8.2 compatibility (see gh issue #165) * Fixed PHP-8.1 compatibility (see gh issues #161, #157, and #156) * Added support for ZEND_ACC_NOT_SERIALIZABLE and magic __{,un}serialize
  • phalcon 5.0.3
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Changed

    • Fixed PhalconFilterSanitizeStringVal to accept flags for htmlspecialchars() #16135

    Fixed

    • Fixed PhalconHtmlEscaper::attributes() to honor the $flags set for htmlspecialchars() #16134
tagged:

Link:

Community News:
Latest PECL Releases (10.04.2022)
Oct 04, 2022 @ 08:05:04

Latest PECL Releases:

  • gRPC 1.50.0RC1
    - gRPC Core 1.50.0 update

  • openswoole 4.12.0
    . New server option: `enable_server_token`, disable by default . Compatible with PHP 8.2 latest changes (PHP-8.2-RC3) . Fix: ignore user set encoding if it is not supported . Fix: Remove illegal http header . Fix convert double sec to long microseconds in hooked usleep by @shandyDev
  • simdjson 2.0.4
    * Add `-fvisibility=hidden` to compiler options to reduce compiled extension size by avoiding exporting symbols by default. * If the requested json parsing $depth is excessively large when reallocating larger buffers for the C simdjson parser, then internally use a smaller $depth that would behave identically with lower memory usage. (#66) * Update simdjson to properly reject surrogate pairs with an invalid low surrogate. (https://en.wikipedia.org/wiki/UTF-16)
  • protobuf 3.21.7
    * See github.com/protocolbuffers/protobuf/releases for release notes.
  • protobuf 3.20.3
    * See github.com/protocolbuffers/protobuf/releases for release notes.
  • protobuf 3.19.6
    * Fixed a data loss bug that could occur when the number of optional fields in a message is an exact multiple of 32. (#9440).
  • datadog_trace 0.80.0
    ### Added

    Changed

    • Make sampling priorities public API again #1742

    Fixed

    • Fix behaviour of return false in trace hooks #1749
    • Handle non-binaries in installer #1743
    • Fix mishandling of payload size limit #1750

    Internal changes

    Profiling (v0.10.1)

    Fixed

    • Match the service names of the tracer when unset or empty #1733
    • Avoid crashing when pcntl_fork is called #1745

    Application Security Monitoring (v0.4.3)

    Fixed

    • Return error response in helper when incoming message can't be unpacked DataDog/dd-appsec-php#120
    • Avoid creating a log file during MINIT/MSHUTDOWN DataDog/dd-appsec-php#124
    • Handle helper errors gracefully DataDog/dd-appsec-php#127
    • Reset context on shutdown DataDog/dd-appsec-php#130
    • Handle errors on request shutdown DataDog/dd-appsec-php#132

    Internal changes

    • Enable CI on all relevant branches DataDog/dd-appsec-php#123
  • phalcon 5.0.2
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconHtmlEscaper::attributes() to accept any value and transform it to string #16123
    • Fixed PhalconLoggerAbstractLogger::getLevelNumber() to better check for string levels #16123
tagged:

Link:

Community News:
Latest PECL Releases (09.27.2022)
Sep 27, 2022 @ 08:05:07

Latest PECL Releases:

  • phalcon 5.0.1
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconEncryptionSecurityJWTTokenToken::validate() to correctly call validator methods #16115

    Added

    • Added PhalconEncryptionSecurityJWTValidator::get() and PhalconEncryptionSecurityJWTValidator::set() for validation data #16115
  • LuaSandbox 4.1.0
    - Add PHP 8.2 support
  • swoole 4.8.12
    - Supports PHP-8.2 - Enhanced Event::add() support for sockets resources - Fixed incorrect error message when wrong multipart body is received - Improved HttpClient::sendfile(), support large files over 4G - Improved Server::taskWaitMulti(), support coroutine environment - Fixed incorrect error message when add timer less than 1ms - Fixed deadlock caused by writing log when disk is full
  • phalcon 5.0.0
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Changed

    • Changed PhalconLoggerAdapterStream::process to open the log file, check for locks, write contents and close the stream #16072
    • Changed getters and setters from shorthand format to full methods #16102
    • Changed return types to array in PhalconAnnotationsReflection class methods #16106
    • Changed PhalconHtmlEscaper::attributes() to also accept an array of attributes #16108

    Fixed

    • Fixed and improved return type of object and ?object #16023
    • Fixed PhalconFilterValidationValidatorDigit to use only strings for ctype_* calls #16064
    • Fixed PhalconFlashAbstractFlash::outputMessage to return the message (implicitFlush) #16063
    • Fixed PhalconFilterValidationValidatorNumericality to correctly detect illegal characters within string numbers #16070
    • Fixed segmentation fault on Reflection of PhalconMvcModel class #16080
    • Fixed segmentation fault on Reflection #16096

    Added

    • Added PhalconEncryptionSecurityJWTToken::validate() to validate a token's claims #16094
    • Added PhalconEncryptionSecurityJWTToken::verify() to verify a token's signature #16094
    • Added PhalconEncryptionSecurityJWTValidator::getErrors() to return any errors with the validation as an array #16094
  • gRPC 1.49.0
    - gRPC Core 1.49.0 update
tagged:

Link:

Community News:
Latest PEAR Releases (09.26.2022)
Sep 26, 2022 @ 08:05:05

Latest PEAR Releases:

tagged:

Link:


Trending Topics: