| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/store.tiacyrusxxx.com/public_html/whale/QueryPath/examples/ |
Upload File : |
<?php /** * Parsing PHP with QueryPath * * This file contains an example of how QueryPath can be used * to parse a PHP file. Any well-formed XML or HTML document can be parsed. Since * PHP tags are contained inside of processor instructions, an XML parser can * correctly parse such a file into a DOM. Consequently, you can use QueryPath * to read, modify, and traverse PHP files. * * This example illustrates how such a file can be parsed and manipulated. * * * @author M Butcher <matt@aleph-null.tv> * @license LGPL The GNU Lesser GPL (LGPL) or an MIT-like license. */ ?> <html> <head> <title>Parse PHP from QueryPath</title> </head> <body> <?php require '../src/QueryPath/QueryPath.php'; // Parse this file with QueryPath. print qp(__FILE__, 'title')->text(); ?> </body> </html>