PHP Classes

Partial PHP Intersection Between Two Arrays or More Sets of Values: Get the values that multiple arrays have in common

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 46 All time: 10,798 This week: 35Up
Version License PHP version Categories
partial-intersection 1.0MIT/X Consortium ...7.1Algorithms, Artificial intelligence, P...
Description 

Author

This package can get the values that multiple arrays have in common.

It provides several classes that can process two or more sets of values and return the intersection of those sets by determining their common values.

Currently, the package provides classes to:

- Get the common values in arrays of integers

- Get the common values in arrays of integers by iterating the list of integer values using a generator to return one value at a time

- Get the common values in arrays of mixed-type values by iterating the list of integer values using a generator to return one value at a time

- Get the common values in sets of values by iterating the list of integer values using a generator to return one value at a time

Innovation Award
PHP Programming Innovation award nominee
May 2023
Number 6
Some applications need to analyze different sets of values to find what they have in common.

This is the case with artificial intelligence applications that try to find patterns they can recognize to compare with situations they detected in the past and help those application users make good decisions based on the ways they found.

This package can analyze multiple sets of values to find the deals all groups have in common.

The package provides classes that use PHP generators and iterator interfaces, so developers that use this package can process the intersection results in one value at a time.

Manuel Lemos
Picture of Smoren  Freelight
  Performance   Level  
Innovation award
Innovation award
Nominee: 16x

 

  Files folder image Files (33)  
File Role Description
Files folder image.github (1 directory)
Files folder imagedocs (1 directory)
Files folder imagesrc (4 files, 1 directory)
Files folder imagetests (3 files, 2 directories)
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file codeception.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpcs.xml Data Auxiliary data
Accessible without login Plain text file phpstan.neon Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:46
This week:0
All time:10,798
This week:35Up