This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class XML_Controller | |
| { | |
| /* | |
| Write out the content from the XML data. | |
| It checks to see if it's proper XML format, an error code, or invalid due to an error. | |
| */ | |
| function Print_XML($xml) | |
| { | |
| if (is_array($xml) || is_object($xml)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| A basic 16N O(n log n) suffix array construction algorithm. | |
| The maximum blocksize is set to 1 MB by default. | |
| */ | |
| #include <cstdio> | |
| #include <stdint.h> | |
| #include <stdlib.h> | |
| #include <algorithm> | |
| #include <cstring> |