# searchpro/1.9.4/simplehtmldom/example/example_extract_html.php

BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS &amp; JavaScript, version 1.9.4. 5 lines.

- Page: https://pluginprobe.com/plugins/searchpro/1.9.4/code/simplehtmldom/example/example_extract_html.php
- Raw: https://pluginprobe.com/plugins/searchpro/1.9.4/raw/simplehtmldom/example/example_extract_html.php
- Modified: 2024-08-20T18:00:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/searchpro/1.9.4/code/simplehtmldom/example/example_extract_html.php#L10-L20`.

```php
<?php
include_once('../simple_html_dom.php');

echo file_get_html('http://www.google.com/')->plaintext;
?>
```
