Open
Description
Summary of problem or feature request
i have php 8 and laravel 8. While binding oracle collections in Statement.php there is a check for oci-collection class. But in php 8 class is changed to 'OciCollection', and now we have empty collection anytime
Code snippet of problem
if (strtoupper(get_class($variable)) == 'OCI-COLLECTION') {
must be:
$collection_class = 'OCI-COLLECTION';
if(phpversion() >= 8)
{
$collection_class = 'OCICOLLECTION';
}
if (strtoupper(get_class($variable)) == $collection_class) {
System details
- macOS High Sierra(docker container)
- php 8.0.2
- PDO-VIA-OCI8 Version 2