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
Exception #0 (Exception): Notice: Undefined variable: line in ../vendor/magento/zendframework1/library/Zend/Config/Yaml.php on line 292
zf1/library/Zend/Config/Yaml.php
Line 292 in 4df0182
The text was updated successfully, but these errors were encountered:
Also, foreach ($lines as $n => $line) is not equal to while (list($n, $line) = each($lines)) (from original file https://github.com/zendframework/zf1/blob/136735e776f520b081cd374012852cb88cef9a88/library/Zend/Config/Yaml.php#L292). Since it does reset(), and also in PHP7 foreach loop doesn't utilize array pointer.
foreach ($lines as $n => $line)
while (list($n, $line) = each($lines))
reset()
foreach
Sorry, something went wrong.
Yaml parsing is very slow as well. It would be better to use any other Yaml parser than the ZF1 yaml parser.
No branches or pull requests
Exception #0 (Exception): Notice: Undefined variable: line in ../vendor/magento/zendframework1/library/Zend/Config/Yaml.php on line 292
zf1/library/Zend/Config/Yaml.php
Line 292 in 4df0182
The text was updated successfully, but these errors were encountered: