Skip to content
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

Closed
youngvan opened this issue May 16, 2018 · 0 comments
Closed

missed ZVAL_DEREF for PHP 7.2 #234

youngvan opened this issue May 16, 2018 · 0 comments

Comments

@youngvan
Copy link

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.

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
Jan-E added a commit to Jan-E/php_excel that referenced this issue Nov 13, 2020
@do-io do-io closed this as completed May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants