Monthly Archiv: December, 2020

PHP Class Constructor with Parameters

Package:
PHP Class Constructor with Parameters
Summary:
How to access all the class constructor parameters
Groups:
Language, PHP 5
Author:
adam berger
Description:
This class can show how to access all the class constructor parameters...

Read more at https://www.phpclasses.org/package/11923-PHP-How-to-access-all-the-class-constructor-parameters.html#2020-12-30-14:30:58

PHP SHA3, SHA512, SHA384, SHA256, SHA224, SHA1, cSHAKE, KMAC, TupleHash, ParallelHash, KangarooTwelve, MarsupilamiFourteen

Package:
PHP SHA3, SHA512, SHA384, SHA256, SHA224, SHA1, cSHAKE, KMAC, TupleHash, ParallelHash, KangarooTwelve, MarsupilamiFourteen
Summary:
PHP implementation of the SHA hashing algorithms
Groups:
Cryptography, PHP 5
Author:
Jose Luis Lucas
Description:
This package provides a pure PHP implementation of the SHA hashing algorithms...

Read more at https://www.phpclasses.org/package/11919-PHP-PHP-implementation-of-the-SHA-hashing-algorithms.html#2020-12-29-18:05:53

Cloud King PHP SOAP Server

Package:
Cloud King PHP SOAP Server
Summary:
Implement an SOAP server API with handler classes
Groups:
PHP 5, Web services
Author:
Jorge Castro
Description:
This package can implement an SOAP server API with handler classes...

Read more at https://www.phpclasses.org/package/11922-PHP-Implement-an-SOAP-server-API-with-handler-classes.html#2020-12-29-14:04:46

Community News: Latest PECL Releases (12.29.2020)

Latest PECL Releases:

  • smbclient 1.0.1
    -- Code fixes for PHP 7.4/8, and memory free, ReadTest added, Travis build updated, and smbclient_state_init documentation fixed.

  • igbinary 3.2.1
    * Fix crash when unserializing if __serialize was defined but __unserialize was undefined in php 8.0+ (due to typo).
  • base58 1.0.2
    Casing fix config.m4
  • igbinary 3.2.0
    * Use PHP's shared empty array instance when unserializing empty arrays in php 7.3+. (helps slightly with memory usage when repeatedly unserializing, when removing elements from arrays before unserializing them, or when serializing values including an empty array that was unserialized) * Emit a deprecation notice when serializing resources. PHP itself is converting many resources to objects that throw an Error on serialization attempts. Continue to represent resources as null in the serialized data. * Fix memory management bug when unserializing invalid data (duplicate properties in objects (e.g. from `__sleep`) or duplicate fields in arrays (impossible for valid data)). * Speed up calls to `__serialize`/`__unserialize` in php 8.0+. * Fix error messages for unserialize_callback_func: make messages properly refer to the autoload function. * Optimize unserializing alternative names for private/protected constants that were previously public.
  • base58 1.0.1
    Release as v1.0.1 with build fix
  • base58 1.0.0
    Release as v1.0.0
  • rdkafka 4.1.2
    BREAKING CHANGE: Since version 4.0, the client no longer polls for network events at shutdown (during object destructor). This behaviour didn't give enough control to the user in case of server issue, and could cause the script to hang while terminating.

    Starting from 4.0, programs MUST call flush() before shutting down, otherwise some messages and callbacks may be lost.

    Enhancements

    • Enabled features on windows build: headers, purge, murmur (#410, @nick-zh, @cmb69)
  • orng 0.0.3
    - Support Windows (Thanks cmb) - Fix stabilities, currently NOT stable.
  • swoole 4.5.10
    Fixed --- * Fixed #3906, sync master (93901dc0) (@matyhtf) * Fixed PHP8 compatibility (f0dc6d32) (@matyhtf) * Fixed connection_list error (#3948) (@sy-records)
  • swoole 4.4.23
    Fixed --- * Fixed table bugs * Fixed sync client error info (#3784) * Fixed memory overread when parse form-data boundary (#3858) * Fixed the bug of the channel, the data that has enqueue cannot be popped after the close
  • ibm_db2 2.1.2
    * 2020-12-22: 2.1.2 - Fix memory leaks - Remove PHP 5 compatibility stubs and ifdefs - Fix compile warnings - Use PHP 8 arginfo generator, with generated fallbacks for PHP 7

New Free Modula-2 Compilers: write computer programs in the Modula-2 programming language

Two compilers have been added to the Free Modula-2 Compilers page. (For those wondering what the previous sentence means, Modula-2 is a programming language that you can use to write computer programs. And loosely speaking, compilers are the software that translate your programs, written in a particular language, into a form that can run on the computer.)

PHP SHA3, SHA512, SHA384, SHA256, SHA224, SHA1, cSHAKE, KMAC, TupleHash, ParallelHash

Package:
PHP SHA3, SHA512, SHA384, SHA256, SHA224, SHA1, cSHAKE, KMAC, TupleHash, ParallelHash
Summary:
PHP implementation of the SHA hashing algorithms
Groups:
Cryptography, PHP 5
Author:
Jose Luis Lucas
Description:
This package provides a pure PHP implementation of the SHA hashing algorithms...

Read more at https://www.phpclasses.org/package/11919-PHP-PHP-implementation-of-the-SHA-hashing-algorithms.html#2020-12-28-17:20:10

PHP Readline Function with Auto-Complete

Package:
PHP Readline Function with Auto-Complete
Summary:
Run commands from CLI and auto-complete parameters
Groups:
Console, PHP 5, Unix
Author:
nvb
Description:
This package can run commands from CLI and auto-complete parameters...

Read more at https://www.phpclasses.org/package/11921-PHP-Run-commands-from-CLI-and-auto-complete-parameters.html#2020-12-28-17:06:42

Object properties and immutability

Object properties and immutability

There has been much discussion in recent weeks in PHP circles about how to make objects more immutable. There have been a number of proposals made either formally or informally that relate to object property access, all aimed at making objects safer through restricting write access in some way.

Since my last mega post on PHP object ergonomics was so well-received and successful (it resulted in both constructor promotion and named arguments being added to PHP 8.0, thanks Nikita!), I figure I'll offer another summary of the problem space in the hopes of a deeper analysis suggesting a unified way forward.

Continue reading on PeakD

Larry 28 December 2020 - 5:30pm

PHP SHA3, SHA512, SHA384, SHA256, SHA224 and SHA1 (New)

Package:
PHP SHA3, SHA512, SHA384, SHA256, SHA224 and SHA1
Summary:
PHP implementation of the SHA hashing algorithms
Groups:
Cryptography, PHP 5
Author:
Jose Luis Lucas
Description:
This package provides a pure PHP implementation of the SHA hashing algorithms...

Read more at https://www.phpclasses.org/package/11919-PHP-PHP-implementation-of-the-SHA-hashing-algorithms.html

Sadat PHP Database Dumper (New)

Package:
Sadat PHP Database Dumper
Summary:
Dump a DB using mysqldump or output SQL statements
Groups:
Databases, PHP 5, Systems administration
Author:
Hillary Kollan
Description:
This class can be used to dump a MySQL database using mysqldump or output SQL statements...

Read more at https://www.phpclasses.org/package/11918-PHP-Dump-a-DB-using-mysqldump-or-output-SQL-statements.html
Powered by Gewgley