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
On home page of this repo, I see an example of setting an attribute:
$tag->setAttribute('class', 'foo');
But above code does not work and through below error:
Illegal string offset 'value'
But If I use an array for second parameter then it works fine:
$tag->setAttribute('class', array('value'=>'foo', 'doubleQuote'=>true));
The text was updated successfully, but these errors were encountered:
I'll take a look at it.
Sorry, something went wrong.
f400ff7
No branches or pull requests
On home page of this repo, I see an example of setting an attribute:
But above code does not work and through below error:
Illegal string offset 'value'
But If I use an array for second parameter then it works fine:
The text was updated successfully, but these errors were encountered: