Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/php
- <?php
- $verbs = [
- 'Get',
- 'Apply for',
- 'Request',
- 'Verify',
- 'Read',
- 'Use',
- NULL,
- ];
- $articles = [
- 'A',
- 'The',
- 'Your',
- 'CARD.com`s',
- 'No',
- ];
- $adjectives = [
- 'Fully-Approved',
- 'Prepaid',
- 'Debit',
- 'Credit',
- 'Fun',
- 'Online',
- 'Peer-to-Peer',
- 'Transferable',
- 'Worldwide',
- 'Bank Issued',
- 'Cryptographic',
- 'Universally Accepted',
- 'Reloadable',
- 'Check-cashing',
- 'Digital',
- 'Easy',
- 'Overdraft',
- 'Waived',
- 'Surcharge-free',
- NULL,
- ];
- $nouns = [
- 'Card',
- 'Card',
- 'Card',
- 'Bank',
- 'Visa',
- 'MasterCard',
- 'Bitcoin Wallet',
- 'ATM',
- 'Credit Check',
- 'Overdraft',
- 'Fees',
- 'Card.com',
- 'Debit',
- 'Credit Cards',
- 'Money Transfer',
- 'Western Union',
- 'Merchant',
- 'Affinity',
- 'Program',
- 'Membership',
- 'Account',
- 'Application',
- 'Mobile App',
- 'Interactivity',
- 'Innovation',
- 'Expiration Date',
- 'Minimum Balance',
- 'Direct Deposit',
- ];
- function random($array) {
- $i = rand(0, count($array) - 1);
- return $array[$i];
- }
- $output = '';
- while (strlen($output) < $argv[1]) {
- $output .= implode(' ', [random($verbs), random($articles), random($adjectives), random($nouns)]) . '. ';
- }
- echo $output . "\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement