We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is:
The value of libxml_disable_entity_loader stay the same after I use PhpSpreadsheet
libxml_disable_entity_loader
Since 1.5.1 and #780 The value is changed by : libxml_disable_entity_loader(true);
(where test.xlsx is any valid xlsx file)
<?php require __DIR__ . '/vendor/autoload.php'; $previousValue = libxml_disable_entity_loader(false); print_r('previous value: '.$previousValue."\n"); // Create new Spreadsheet object $spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet(); \PhpOffice\PhpSpreadsheet\IOFactory::load('test.xlsx'); // add code that show the issue here... $newValue = libxml_disable_entity_loader(false); print_r('new value: '.$newValue."\n");
With 1.5.1 : previous value: new value: 1
With 1.5.0 previous value: new value:
PhpSpreadsheet 1.5.1 PHP 7.2
The text was updated successfully, but these errors were encountered:
Fixed in 8918888
Sorry, something went wrong.
No branches or pull requests
This is:
What is the expected behavior?
The value of
libxml_disable_entity_loader
stay the same after I use PhpSpreadsheetWhat is the current behavior?
Since 1.5.1 and #780
The value is changed by :
libxml_disable_entity_loader(true);
What are the steps to reproduce?
(where test.xlsx is any valid xlsx file)
With 1.5.1 :
previous value:
new value: 1
With 1.5.0
previous value:
new value:
Which versions of PhpSpreadsheet and PHP are affected?
PhpSpreadsheet 1.5.1
PHP 7.2
The text was updated successfully, but these errors were encountered: