-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missed ZVAL_DEREF for PHP 7.2 #234
Comments
johmue
added a commit
to johmue/php_excel
that referenced
this issue
May 22, 2018
Jan-E
added a commit
to Jan-E/php_excel
that referenced
this issue
Dec 31, 2018
Jan-E
added a commit
to Jan-E/php_excel
that referenced
this issue
Dec 31, 2018
Fix iliaal#234 for PHP7
Jan-E
added a commit
to Jan-E/php_excel
that referenced
this issue
Nov 13, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the code to reproduce error:
`<?php
$data = array (
0 => 'test me hard'
);
$xlBook = new \ExcelBook(null, null, true);
$xlBook->setLocale('UTF-8');
$xlSheet1 = $xlBook->addSheet('Sheet1');
var_dump($data);
array_walk($data, function(&$field) {
$field = (string)$field;
});
var_dump($data);
$xlSheet1->writeRow(0, $data);
`
I have posted it here https://bugs.php.net/bug.php?id=76343
and got answer
This is a bug in the extension, which does not support references. Please file a bug there, it's missing a ZVAL_DEREF() in the array processing function.
The text was updated successfully, but these errors were encountered: