In javascript, I can do:
var span = document.createElement('span');
span.innerHTML = 'foo';
span.className = 'bar';
Is there something similar so that I can create a ElementNode in PHP, at least with the basic attributes (name, class...
asked by
23.01.2014 / 00:23