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

Community News:
Latest PECL Releases (12.06.2022)
Dec 06, 2022 @ 08:05:13

Latest PECL Releases:

  • immutable_cache 6.1.0
    - Extend minimum supported php version from php 8.0 to 7.2

    • Work around bug adding '-lpthread' as a shared library dependency in php before 7.4.14. Related to https://bugs.php.net/bug.php?id=80402
    • Switch default for immutable_cache.serializer to "default" (store the php arrays and strings and scalars in shared memory rather than serialization when added value is an array)
  • phalcon 5.1.2
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconSupportDebug to correctly calculate the documents URL for the hyperlinks #16223
    • Fixed PhalconHtmlTagFactory docblock for autocompletion (https://github.com/phalcon/cphalcon/commit/0129658f3ac468dcc5294d401403e166302a8069)
    • Fixed PhalconDbProfiler by correctly calculating the seconds (reapplied changes) #15822
    • Added PhalconHtmlTagFactory to the PhalconDiFactoryDefaultCli #16233
  • protobuf 3.21.10
    * See github.com/protocolbuffers/protobuf/releases for release notes.
  • gRPC 1.51.1
    - gRPC Core 1.51.1 update
  • timezonedb 2022.7
    Updated to version 2022.7 (2022g)
tagged:

Link:

Community News:
Latest PEAR Releases (12.05.2022)
Dec 05, 2022 @ 08:05:12

Latest PEAR Releases:

tagged:

Link:

Community News:
Latest PECL Releases (11.29.2022)
Nov 29, 2022 @ 08:05:10

Latest PECL Releases:

  • skywalking_agent 0.2.0
    ## What's Changed

    • Update PECL user by @heyanlong in https://github.com/apache/skywalking-php/pull/12
    • Start up 0.2.0 by @heyanlong in https://github.com/apache/skywalking-php/pull/13
    • Update compiling project document. by @jmjoy in https://github.com/apache/skywalking-php/pull/14
    • Add PDO plugin, and switch unix datagram to stream. by @jmjoy in https://github.com/apache/skywalking-php/pull/15
    • Update readme about creating issue. by @jmjoy in https://github.com/apache/skywalking-php/pull/17
    • Fix package.xml role error by @heyanlong in https://github.com/apache/skywalking-php/pull/16
    • Add swoole support. by @jmjoy in https://github.com/apache/skywalking-php/pull/19
    • Add .fleet to .gitignore by @heyanlong in https://github.com/apache/skywalking-php/pull/20
    • [Feature] Add Mysql Improved Extension by @heyanlong in https://github.com/apache/skywalking-php/pull/18
    • Add predis plugin. by @jmjoy in https://github.com/apache/skywalking-php/pull/21
    • Take care of PDO false and DSN tailing semicolons. by @phanalpha in https://github.com/apache/skywalking-php/pull/22
    • Add container by @heyanlong in https://github.com/apache/skywalking-php/pull/23
    • Save PDO exceptions. by @phanalpha in https://github.com/apache/skywalking-php/pull/24
    • Update minimal supported PHP version to 7.2. by @jmjoy in https://github.com/apache/skywalking-php/pull/25
    • Utilize UnixListener for the worker process to accept reports. by @phanalpha in https://github.com/apache/skywalking-php/pull/26
    • Kill the worker on module shutdown. by @phanalpha in https://github.com/apache/skywalking-php/pull/28
    • Add plugin for memcached. by @jmjoy in https://github.com/apache/skywalking-php/pull/27
    • Upgrade rust mini version to 1.65. by @jmjoy in https://github.com/apache/skywalking-php/pull/30
    • Add plugin for phpredis. by @jmjoy in https://github.com/apache/skywalking-php/pull/29
    • Add missing request_id. by @jmjoy in https://github.com/apache/skywalking-php/pull/31
    • Adapt virtual cache. by @jmjoy in https://github.com/apache/skywalking-php/pull/32
    • Fix permission denied of unix socket. by @jmjoy in https://github.com/apache/skywalking-php/pull/33
    • Bump to 0.2.0. by @jmjoy in https://github.com/apache/skywalking-php/pull/34

    New Contributors

    • @phanalpha made their first contribution in https://github.com/apache/skywalking-php/pull/22

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

  • handlebars 1.0.0
    - PHP 8.1 and 8.2 compat - Target handlebars.js v4.7.7 - Target handlebars.c v1.0.0 - Objects can now be iterated with `#each` - `known_helpers` is now passed properly to the compiler in `render`
  • mustache 0.9.3
    - PHP 8.2 compat (@remicollet)
  • mongodb 1.15.0
    ** Bug * [PHPC-2132] - get_module_info() test function may fail to match some phpinfo() values * [PHPC-2148] - Error if RewrapManyDataKey is called with masterKey and without provider * [PHPC-2149] - ClientEncryption::createDataKey() may leak when processing masterKey option * [PHPC-2159] - Consider enums and traits in BSON decoding instantiatable checks

    ** Epic * [PHPC-2093] - Key Management API

    ** New Feature * [PHPC-2083] - BSON handling for enum classes

    ** Task * [PHPC-1710] - Document upcoming signature changes in interfaces * [PHPC-1929] - ReadConcern tests need not exhaustively test each constant * [PHPC-1945] - Remove class_exists checks from SKIPIF blocks in Decimal128 tests * [PHPC-2064] - SKIPIF output may be ignored for tests using skip_if_not_clean on PHP 8.1 * [PHPC-2111] - Replace zend_parse_parameter_calls with PHONGO_PARSE_PARAMETERS macros * [PHPC-2115] - Remove manual fetching of DateTimeImmutable class entry * [PHPC-2117] - Test with PHP 8.2 on GitHub Actions * [PHPC-2118] - Use debian11 and include MongoDB 6.0 for load balancer testing * [PHPC-2124] - Ensure that null is still accepted for optional parameters * [PHPC-2128] - Create stub files for functions * [PHPC-2130] - Remove proto definitions from source files * [PHPC-2136] - Final modifier should precede method visibility in stub files * [PHPC-2143] - Add Windows builds to GitHub Actions and publish DLLs for releases * [PHPC-2146] - Refactor type map struct * [PHPC-2147] - Update AppVeyor config to clone PHP fork of the Windows SDK * [PHPC-2153] - Test with PHP 8.2 on Evergreen * [PHPC-2154] - Test with PHP 8.2 on Appveyor * [PHPC-2166] - Use void keyword in prototypes for functions that take no parameters

    ** Improvement * [PHPC-1708] - Add return type information to final classes * [PHPC-1711] - Add return type information to interfaces * [PHPC-1928] - Remove unnecessary casts to zend_long * [PHPC-1944] - Add final modifier to __set_state methods * [PHPC-2015] - Use stub files to generate arginfo * [PHPC-2101] - Default Binary constructor $type parameter to TYPE_GENERIC * [PHPC-2103] - Allow applications to detect crypt_shared availability * [PHPC-2120] - Upgrade libmongocrypt dependency to 1.5.2 * [PHPC-2125] - Reduce expected removeKeyAltName operations to a single findOneAndUpdate * [PHPC-2126] - Allow RewrapManyDataKeyResult.bulkWriteResult to be optional * [PHPC-2142] - WriteResult getters should return null and emit deprecation notice for w:0 writes and return zero otherwise if libmongoc result is omitted * [PHPC-2151] - Validate masterKey option for createDataKey() and rewrapManyDataKey() * [PHPC-2168] - Use consistent int types for APM fields and snprintf for string conversions

tagged:

Link:

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:


Trending Topics: