Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Faker\Provider\ar_SA; use Faker\Calculator\Luhn; class Company extends ..
Decoded Output download
<?php
namespace Faker\Providerr_SA;
use Faker\Calculator\Luhn;
class Company extends \Faker\Provider\Company
{
protected static $formats = array(
'{{lastName}} {{companySuffix}}',
'{{companyPrefix}} {{lastName}} {{companySuffix}}',
'{{companyPrefix}} {{lastName}}',
);
protected static $bsWords = array(
array()
);
protected static $catchPhraseWords = array(
array('','',''),
array(
'','','','', '', '', '',
'', '', '', '', ''
),
);
protected static $companyPrefix = array('', '', '', '', '', '');
protected static $companySuffix = array('', ' ', ' ..', ' ', '');
/**
* @example ''
* @return string
*/
public function companyPrefix()
{
return static::randomElement(self::$companyPrefix);
}
/**
* @example ' '
*/
public function catchPhrase()
{
$result = array();
foreach (static::$catchPhraseWords as &$word) {
$result[] = static::randomElement($word);
}
return join(' ', $result);
}
/**
* @example 'integrate extensible convergence'
*/
public function bs()
{
$result = array();
foreach (static::$bsWords as &$word) {
$result[] = static::randomElement($word);
}
return join(' ', $result);
}
/**
* example 7001010101
**/
public static function companyIdNumber()
{
$partialValue = static::numerify(700 . str_repeat('#', 6));
return Luhn::generateLuhnNumber($partialValue);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Faker\Provider\ar_SA;
use Faker\Calculator\Luhn;
class Company extends \Faker\Provider\Company
{
protected static $formats = array(
'{{lastName}} {{companySuffix}}',
'{{companyPrefix}} {{lastName}} {{companySuffix}}',
'{{companyPrefix}} {{lastName}}',
);
protected static $bsWords = array(
array()
);
protected static $catchPhraseWords = array(
array('','',''),
array(
'','','','', '', '', '',
'', '', '', '', ''
),
);
protected static $companyPrefix = array('', '', '', '', '', '');
protected static $companySuffix = array('', ' ', ' ..', ' ', '');
/**
* @example ''
* @return string
*/
public function companyPrefix()
{
return static::randomElement(self::$companyPrefix);
}
/**
* @example ' '
*/
public function catchPhrase()
{
$result = array();
foreach (static::$catchPhraseWords as &$word) {
$result[] = static::randomElement($word);
}
return join(' ', $result);
}
/**
* @example 'integrate extensible convergence'
*/
public function bs()
{
$result = array();
foreach (static::$bsWords as &$word) {
$result[] = static::randomElement($word);
}
return join(' ', $result);
}
/**
* example 7001010101
**/
public static function companyIdNumber()
{
$partialValue = static::numerify(700 . str_repeat('#', 6));
return Luhn::generateLuhnNumber($partialValue);
}
}
Function Calls
None |
Stats
MD5 | ae077d911b226d1590a441dcab9040bc |
Eval Count | 0 |
Decode Time | 105 ms |