php-xsl-5.6.3-r1 needs php-dom as dependency
ncdev:$ sudo apk add php-cli php-xsl
(1/5) Installing php-cli (5.3.6-r1)
(2/5) Installing libgpg-error (1.9-r1)
(3/5) Installing libgcrypt (1.4.6-r1)
(4/5) Installing libxslt (1.1.26-r6)
(5/5) Installing php-xsl (5.3.6-r1)
Executing busybox-1.18.4-r1.trigger
OK: 167 packages, 4975 dirs, 37973 files
ncdev:$ php -r 'echo("hello\n");'
/usr/bin/php: symbol 'dom_node_class_entry': can't resolve symbol in lib '/usr/lib/php/20090626/xsl.so'.
/usr/bin/php: symbol 'php_dom_create_object': can't resolve symbol in lib '/usr/lib/php/20090626/xsl.so'.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20090626/xsl.so' - (null) in Unknown on line 0
helloncdev:~$ sudo apk add php-dom
(1/1) Installing php-dom (5.3.6-r1)
OK: 168 packages, 4975 dirs, 37975 files
ncdev:~$ php -r 'echo("hello\n");'
hello
adding php-dom to depends should fix it.
(from redmine: issue id 571, created on 2011-04-06, closed on 2011-04-13)