mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
c2920706e0
commit
a650bc9f6a
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php if (!defined('BB_ROOT')) die(basename(__FILE__));
|
||||||
/**
|
/**
|
||||||
* A class for validating method parameters to allowed types via reflection.
|
* A class for validating method parameters to allowed types via reflection.
|
||||||
*
|
*
|
||||||
@ -34,7 +34,7 @@
|
|||||||
* Useful links
|
* Useful links
|
||||||
* http://www.ilia.ws/archives/205-Type-hinting-for-PHP-5.3.html
|
* http://www.ilia.ws/archives/205-Type-hinting-for-PHP-5.3.html
|
||||||
* http://php.net/manual/en/language.oop5.typehinting.php
|
* http://php.net/manual/en/language.oop5.typehinting.php
|
||||||
*
|
*
|
||||||
* @example ReflectionTypeHint_example.php
|
* @example ReflectionTypeHint_example.php
|
||||||
* @link http://code.google.com/p/php5-reflection-type-hint/
|
* @link http://code.google.com/p/php5-reflection-type-hint/
|
||||||
* @license http://creativecommons.org/licenses/by-sa/3.0/
|
* @license http://creativecommons.org/licenses/by-sa/3.0/
|
||||||
@ -197,4 +197,4 @@ class ReflectionTypeHint
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php if (!defined('BB_ROOT')) die(basename(__FILE__));
|
||||||
/**
|
/**
|
||||||
* UTF8 support in PHP5.
|
* UTF8 support in PHP5.
|
||||||
* PHP5 UTF8 is a UTF8 aware library of functions mirroring PHP's own string functions.
|
* PHP5 UTF8 is a UTF8 aware library of functions mirroring PHP's own string functions.
|
||||||
@ -3211,7 +3211,7 @@ class UTF8
|
|||||||
+ array(
|
+ array(
|
||||||
#' entity is only available in XHTML/HTML5 and not in plain HTML, see http://www.w3.org/TR/xhtml1/#C_16
|
#' entity is only available in XHTML/HTML5 and not in plain HTML, see http://www.w3.org/TR/xhtml1/#C_16
|
||||||
''' => "\x27", #U+0027 ['] ' apostrophe
|
''' => "\x27", #U+0027 ['] ' apostrophe
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
#replace named entities
|
#replace named entities
|
||||||
$s = strtr($s, $table);
|
$s = strtr($s, $table);
|
||||||
|
Loading…
Reference in New Issue
Block a user