PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of 0x1881   PHP Google Search Dork Generator   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Google Search Dork Generator
Generate query strings to perform Google searches
Author: By
Last change: new version
Date: 1 year ago
Size: 467 bytes
 

Contents

Class file image Download
<?php

require_once __DIR__.'/vendor/autoload.php';

use
C4N\DorkGen\Google;

$google = (new Google)->exclude(
    (new
Google)->site('instagram.com')->site('facebook.com')
)
->
group(
    (new
Google)->plain('mark')->and()->plain('zuckerberg')
)
->
username('zuck');

echo
$google.PHP_EOL; // == return $google->string()
echo $google->dork().PHP_EOL; // == return $google->string()
echo $google->string().PHP_EOL;
echo
$google->url().PHP_EOL;
print_r($google->tags());