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
Something isn't right with arrays:
<?php $t = []; $t['html'] = ' <ul>'; foreach (['a', 'b', 'c'] as $area) { $t['html'] .= ' <li>' . htmlentities($area) . '</li>'; } $t['html'] .= ' </ul>'; echo $t['html']; ?>
Produces the following output:
<ul> <li>a</li> <li>b</li> <li>c</li> <li>
I'm not sure where the extra <li> comes from.
<li>
And while most of the time is produces the above, sometimes (often the first time the script is run after saving) it produces:
<ul> <li>a</li> <li>b</li> <li>c</li></li>
I've not had it return the </ul>.
</ul>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Something isn't right with arrays:
Produces the following output:
I'm not sure where the extra
<li>
comes from.And while most of the time is produces the above, sometimes (often the first time the script is run after saving) it produces:
I've not had it return the
</ul>
.The text was updated successfully, but these errors were encountered: