This commit is contained in:
Roman Kelesidis 2023-11-10 18:24:14 +07:00
parent c2920706e0
commit a650bc9f6a
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<?php
<?php if (!defined('BB_ROOT')) die(basename(__FILE__));
/**
* A class for validating method parameters to allowed types via reflection.
*
@ -34,7 +34,7 @@
* Useful links
* http://www.ilia.ws/archives/205-Type-hinting-for-PHP-5.3.html
* http://php.net/manual/en/language.oop5.typehinting.php
*
*
* @example ReflectionTypeHint_example.php
* @link http://code.google.com/p/php5-reflection-type-hint/
* @license http://creativecommons.org/licenses/by-sa/3.0/
@ -197,4 +197,4 @@ class ReflectionTypeHint
}
return false;
}
}
}

View File

@ -1,4 +1,4 @@
<?php
<?php if (!defined('BB_ROOT')) die(basename(__FILE__));
/**
* UTF8 support in PHP5.
* PHP5 UTF8 is a UTF8 aware library of functions mirroring PHP's own string functions.
@ -3211,7 +3211,7 @@ class UTF8
+ array(
#&apos; entity is only available in XHTML/HTML5 and not in plain HTML, see http://www.w3.org/TR/xhtml1/#C_16
'&apos;' => "\x27", #U+0027 ['] &#39; apostrophe
);
);
}
#replace named entities
$s = strtr($s, $table);