PHP 8.1 compatible version of ZF1
BSD 3-Clause "New" or "Revised" License
442
stars
196
forks
source link
preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated "Zend/Db/Statement.php" #437
Open
batrox opened 2 months ago
On php 8:
File: Zend/Db/Statement.php Line: 212
replace
$sql = preg_replace("/$d($de|\\\\{2}|[^$d])*$d/Us", '', $sql);
by$sql = preg_replace("/$d($de|\\\\{2}|[^$d])*$d/Us", '', (string) $sql);
to fix deprecated notice