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 $fallback = false; $messages = array( 'HTMLPurifier' => 'HTML Purifier', // f..

Decoded Output download

<?php

$fallback = false;

$messages = array(

    'HTMLPurifier' => 'HTML Purifier',
// for unit testing purposes
    'LanguageFactoryTest: Pizza' => 'Pizza',
    'LanguageTest: List' => '$1',
    'LanguageTest: Hash' => '$1.Keys; $1.Values',
    'Item separator' => ', ',
    'Item separator last' => ' and ', // non-Harvard style

    'ErrorCollector: No errors' => 'No errors detected. However, because error reporting is still incomplete, there may have been errors that the error collector was not notified of; please inspect the output HTML carefully.',
    'ErrorCollector: At line' => ' at line $line',
    'ErrorCollector: Incidental errors' => 'Incidental errors',
    'Lexer: Unclosed comment' => 'Unclosed comment',
    'Lexer: Unescaped lt' => 'Unescaped less-than sign (<) should be &lt;',
    'Lexer: Missing gt' => 'Missing greater-than sign (>), previous less-than sign (<) should be escaped',
    'Lexer: Missing attribute key' => 'Attribute declaration has no key',
    'Lexer: Missing end quote' => 'Attribute declaration has no end quote',
    'Lexer: Extracted body' => 'Removed document metadata tags',
    'Strategy_RemoveForeignElements: Tag transform' => '<$1> element transformed into $CurrentToken.Serialized',
    'Strategy_RemoveForeignElements: Missing required attribute' => '$CurrentToken.Compact element missing required attribute $1',
    'Strategy_RemoveForeignElements: Foreign element to text' => 'Unrecognized $CurrentToken.Serialized tag converted to text',
    'Strategy_RemoveForeignElements: Foreign element removed' => 'Unrecognized $CurrentToken.Serialized tag removed',
    'Strategy_RemoveForeignElements: Comment removed' => 'Comment containing "$CurrentToken.Data" removed',
    'Strategy_RemoveForeignElements: Foreign meta element removed' => 'Unrecognized $CurrentToken.Serialized meta tag and all descendants removed',
    'Strategy_RemoveForeignElements: Token removed to end' => 'Tags and text starting from $1 element where removed to end',
    'Strategy_RemoveForeignElements: Trailing hyphen in comment removed' => 'Trailing hyphen(s) in comment removed',
    'Strategy_RemoveForeignElements: Hyphens in comment collapsed' => 'Double hyphens in comments are not allowed, and were collapsed into single hyphens',
    'Strategy_MakeWellFormed: Unnecessary end tag removed' => 'Unnecessary $CurrentToken.Serialized tag removed',
    'Strategy_MakeWellFormed: Unnecessary end tag to text' => 'Unnecessary $CurrentToken.Serialized tag converted to text',
    'Strategy_MakeWellFormed: Tag auto closed' => '$1.Compact started on line $1.Line auto-closed by $CurrentToken.Compact',
    'Strategy_MakeWellFormed: Tag carryover' => '$1.Compact started on line $1.Line auto-continued into $CurrentToken.Compact',
    'Strategy_MakeWellFormed: Stray end tag removed' => 'Stray $CurrentToken.Serialized tag removed',
    'Strategy_MakeWellFormed: Stray end tag to text' => 'Stray $CurrentToken.Serialized tag converted to text',
    'Strategy_MakeWellFormed: Tag closed by element end' => '$1.Compact tag started on line $1.Line closed by end of $CurrentToken.Serialized',
    'Strategy_MakeWellFormed: Tag closed by document end' => '$1.Compact tag started on line $1.Line closed by end of document',
    'Strategy_FixNesting: Node removed' => '$CurrentToken.Compact node removed',
    'Strategy_FixNesting: Node excluded' => '$CurrentToken.Compact node removed due to descendant exclusion by ancestor element',
    'Strategy_FixNesting: Node reorganized' => 'Contents of $CurrentToken.Compact node reorganized to enforce its content model',
    'Strategy_FixNesting: Node contents removed' => 'Contents of $CurrentToken.Compact node removed',
    'AttrValidator: Attributes transformed' => 'Attributes on $CurrentToken.Compact transformed from $1.Keys to $2.Keys',
    'AttrValidator: Attribute removed' => '$CurrentAttr.Name attribute on $CurrentToken.Compact removed',
);

$errorNames = array(
    E_ERROR => 'Error',
    E_WARNING => 'Warning',
    E_NOTICE => 'Notice'
);

// vim: et sw=4 sts=4
 ?>

Did this file decode correctly?

Original Code

<?php

$fallback = false;

$messages = array(

    'HTMLPurifier' => 'HTML Purifier',
// for unit testing purposes
    'LanguageFactoryTest: Pizza' => 'Pizza',
    'LanguageTest: List' => '$1',
    'LanguageTest: Hash' => '$1.Keys; $1.Values',
    'Item separator' => ', ',
    'Item separator last' => ' and ', // non-Harvard style

    'ErrorCollector: No errors' => 'No errors detected. However, because error reporting is still incomplete, there may have been errors that the error collector was not notified of; please inspect the output HTML carefully.',
    'ErrorCollector: At line' => ' at line $line',
    'ErrorCollector: Incidental errors' => 'Incidental errors',
    'Lexer: Unclosed comment' => 'Unclosed comment',
    'Lexer: Unescaped lt' => 'Unescaped less-than sign (<) should be &lt;',
    'Lexer: Missing gt' => 'Missing greater-than sign (>), previous less-than sign (<) should be escaped',
    'Lexer: Missing attribute key' => 'Attribute declaration has no key',
    'Lexer: Missing end quote' => 'Attribute declaration has no end quote',
    'Lexer: Extracted body' => 'Removed document metadata tags',
    'Strategy_RemoveForeignElements: Tag transform' => '<$1> element transformed into $CurrentToken.Serialized',
    'Strategy_RemoveForeignElements: Missing required attribute' => '$CurrentToken.Compact element missing required attribute $1',
    'Strategy_RemoveForeignElements: Foreign element to text' => 'Unrecognized $CurrentToken.Serialized tag converted to text',
    'Strategy_RemoveForeignElements: Foreign element removed' => 'Unrecognized $CurrentToken.Serialized tag removed',
    'Strategy_RemoveForeignElements: Comment removed' => 'Comment containing "$CurrentToken.Data" removed',
    'Strategy_RemoveForeignElements: Foreign meta element removed' => 'Unrecognized $CurrentToken.Serialized meta tag and all descendants removed',
    'Strategy_RemoveForeignElements: Token removed to end' => 'Tags and text starting from $1 element where removed to end',
    'Strategy_RemoveForeignElements: Trailing hyphen in comment removed' => 'Trailing hyphen(s) in comment removed',
    'Strategy_RemoveForeignElements: Hyphens in comment collapsed' => 'Double hyphens in comments are not allowed, and were collapsed into single hyphens',
    'Strategy_MakeWellFormed: Unnecessary end tag removed' => 'Unnecessary $CurrentToken.Serialized tag removed',
    'Strategy_MakeWellFormed: Unnecessary end tag to text' => 'Unnecessary $CurrentToken.Serialized tag converted to text',
    'Strategy_MakeWellFormed: Tag auto closed' => '$1.Compact started on line $1.Line auto-closed by $CurrentToken.Compact',
    'Strategy_MakeWellFormed: Tag carryover' => '$1.Compact started on line $1.Line auto-continued into $CurrentToken.Compact',
    'Strategy_MakeWellFormed: Stray end tag removed' => 'Stray $CurrentToken.Serialized tag removed',
    'Strategy_MakeWellFormed: Stray end tag to text' => 'Stray $CurrentToken.Serialized tag converted to text',
    'Strategy_MakeWellFormed: Tag closed by element end' => '$1.Compact tag started on line $1.Line closed by end of $CurrentToken.Serialized',
    'Strategy_MakeWellFormed: Tag closed by document end' => '$1.Compact tag started on line $1.Line closed by end of document',
    'Strategy_FixNesting: Node removed' => '$CurrentToken.Compact node removed',
    'Strategy_FixNesting: Node excluded' => '$CurrentToken.Compact node removed due to descendant exclusion by ancestor element',
    'Strategy_FixNesting: Node reorganized' => 'Contents of $CurrentToken.Compact node reorganized to enforce its content model',
    'Strategy_FixNesting: Node contents removed' => 'Contents of $CurrentToken.Compact node removed',
    'AttrValidator: Attributes transformed' => 'Attributes on $CurrentToken.Compact transformed from $1.Keys to $2.Keys',
    'AttrValidator: Attribute removed' => '$CurrentAttr.Name attribute on $CurrentToken.Compact removed',
);

$errorNames = array(
    E_ERROR => 'Error',
    E_WARNING => 'Warning',
    E_NOTICE => 'Notice'
);

// vim: et sw=4 sts=4

Function Calls

None

Variables

$fallback False
$messages [{'key': 'HTMLPurifier', 'value': 'HTML Purifier'}, {'key': 'LanguageFactoryTest: Pizza', 'value': 'Pizza'}, {'key': 'LanguageTest: List', 'value': '$1'}, {'key': 'LanguageTest: Hash', 'value': '$1.Keys; $1.Values'}, {'key': 'Item separator', 'value': ', '}, {'key': 'Item separator last', 'value': ' and '}, {'key': 'ErrorCollector: No errors', 'value': 'No errors detected. However, because error reporting is still incomplete, there may have been errors that the error collector was not notified of; please inspect the output HTML carefully.'}, {'key': 'ErrorCollector: At line', 'value': ' at line $line'}, {'key': 'ErrorCollector: Incidental errors', 'value': 'Incidental errors'}, {'key': 'Lexer: Unclosed comment', 'value': 'Unclosed comment'}, {'key': 'Lexer: Unescaped lt', 'value': 'Unescaped less-than sign (<) should be &lt;'}, {'key': 'Lexer: Missing gt', 'value': 'Missing greater-than sign (>), previous less-than sign (<) should be escaped'}, {'key': 'Lexer: Missing attribute key', 'value': 'Attribute declaration has no key'}, {'key': 'Lexer: Missing end quote', 'value': 'Attribute declaration has no end quote'}, {'key': 'Lexer: Extracted body', 'value': 'Removed document metadata tags'}, {'key': 'Strategy_RemoveForeignElements: Tag transform', 'value': '<$1> element transformed into $CurrentToken.Serialized'}, {'key': 'Strategy_RemoveForeignElements: Missing required attribute', 'value': '$CurrentToken.Compact element missing required attribute $1'}, {'key': 'Strategy_RemoveForeignElements: Foreign element to text', 'value': 'Unrecognized $CurrentToken.Serialized tag converted to text'}, {'key': 'Strategy_RemoveForeignElements: Foreign element removed', 'value': 'Unrecognized $CurrentToken.Serialized tag removed'}, {'key': 'Strategy_RemoveForeignElements: Comment removed', 'value': 'Comment containing "$CurrentToken.Data" removed'}, {'key': 'Strategy_RemoveForeignElements: Foreign meta element removed', 'value': 'Unrecognized $CurrentToken.Serialized meta tag and all descendants removed'}, {'key': 'Strategy_RemoveForeignElements: Token removed to end', 'value': 'Tags and text starting from $1 element where removed to end'}, {'key': 'Strategy_RemoveForeignElements: Trailing hyphen in comment removed', 'value': 'Trailing hyphen(s) in comment removed'}, {'key': 'Strategy_RemoveForeignElements: Hyphens in comment collapsed', 'value': 'Double hyphens in comments are not allowed, and were collapsed into single hyphens'}, {'key': 'Strategy_MakeWellFormed: Unnecessary end tag removed', 'value': 'Unnecessary $CurrentToken.Serialized tag removed'}, {'key': 'Strategy_MakeWellFormed: Unnecessary end tag to text', 'value': 'Unnecessary $CurrentToken.Serialized tag converted to text'}, {'key': 'Strategy_MakeWellFormed: Tag auto closed', 'value': '$1.Compact started on line $1.Line auto-closed by $CurrentToken.Compact'}, {'key': 'Strategy_MakeWellFormed: Tag carryover', 'value': '$1.Compact started on line $1.Line auto-continued into $CurrentToken.Compact'}, {'key': 'Strategy_MakeWellFormed: Stray end tag removed', 'value': 'Stray $CurrentToken.Serialized tag removed'}, {'key': 'Strategy_MakeWellFormed: Stray end tag to text', 'value': 'Stray $CurrentToken.Serialized tag converted to text'}, {'key': 'Strategy_MakeWellFormed: Tag closed by element end', 'value': '$1.Compact tag started on line $1.Line closed by end of $CurrentToken.Serialized'}, {'key': 'Strategy_MakeWellFormed: Tag closed by document end', 'value': '$1.Compact tag started on line $1.Line closed by end of document'}, {'key': 'Strategy_FixNesting: Node removed', 'value': '$CurrentToken.Compact node removed'}, {'key': 'Strategy_FixNesting: Node excluded', 'value': '$CurrentToken.Compact node removed due to descendant exclusion by ancestor element'}, {'key': 'Strategy_FixNesting: Node reorganized', 'value': 'Contents of $CurrentToken.Compact node reorganized to enforce its content model'}, {'key': 'Strategy_FixNesting: Node contents removed', 'value': 'Contents of $CurrentToken.Compact node removed'}, {'key': 'AttrValidator: Attributes transformed', 'value': 'Attributes on $CurrentToken.Compact transformed from $1.Keys to $2.Keys'}, {'key': 'AttrValidator: Attribute removed', 'value': '$CurrentAttr.Name attribute on $CurrentToken.Compact removed'}]

Stats

MD5 5836f2bf2c494d4de7ae70d602063f50
Eval Count 0
Decode Time 99 ms