quickbooks-php
quickbooks-php copied to clipboard
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
\vendor\consolibyte\quickbooks\QuickBooks\Cast.php:530
$string = preg_replace(
"/([\360-\367])([\200-\277])([\200-\277])([\200-\277])/e",
"'&#'.((ord('\\1')-240)*262144+(ord('\\2')-128)*4096+(ord('\\3')-128)*64+(ord('\\4')-128)).';'", $string);
I believe this will be an issue with PHP7 is released.
I ended up forking this and fixing it on there. Doesn't appear the owner/collaborators are even doing anything with this anymore.