Azure / azure-storage-php

Microsoft Azure Storage Library for PHP
MIT License
217 stars 198 forks source link

PHP 8.1 deprecation error: Make sure haystack is a string #351

Open tuutti opened 1 year ago

tuutti commented 1 year ago

Fixes #347

Vercoutere commented 1 year ago

Are these changes getting merged, or are Azure users on PHP out of luck now the package has been deprecated?

OskarStark commented 1 year ago

I think it is deprecated 😥

andychoi commented 4 months ago

I am running Microsoft's wordpress container in Azure. Here is issue. Please fix the compatibility issue.

PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wordpress/wp-content/plugins/windows-azure-storage/vendor/microsoft/azure-storage-blob/src/Blob/Models/CopyState.php on line 77 PHP 8.2.15 (cli) (built: Jan 27 2024 04:53:38) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.15, Copyright (c) Zend Technologies with Zend OPcache v8.2.15, Copyright (c), by Zend Technologies