#!/usr/bin/php validate(); $schema_builder = new HTMLPurifier_ConfigSchema_Builder_ConfigSchema(); $schema = $schema_builder->build($interchange); echo "Saving schema... "; file_put_contents($target, serialize($schema)); echo "done!\n"; // vim: et sw=4 sts=4