1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-10-15 14:14:24 +02:00

Make StringHash compatible for all versions of PHP 5.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1533 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-02-07 18:02:18 +00:00
parent 3ba42106ba
commit 14ef0b75e5
3 changed files with 13 additions and 9 deletions

View File

@@ -3,6 +3,10 @@
/**
* This is in almost every respect equivalent to an array except
* that it keeps track of which keys were accessed.
*
* @warning For the sake of backwards compatibility with early versions
* of PHP 5, you must not use the $hash[$key] syntax; if you do
* our version of offsetGet is never called.
*/
class ConfigSchema_StringHash extends ArrayObject
{