Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
Php54.php
01 <?php
02
03 /*
04 * This file is part of the Symfony package.
05 *
06 * (c) Fabien Potencier <fabien@symfony.com>
07 *
08 * For the full copyright and license information, please view the LICENSE
09 * file that was distributed with this source code.
10 */
11
12 namespace Symfony\Polyfill\Php54;
13
14 /**
15 * @author Nicolas Grekas <p@tchwork.com>
16 *
17 * @internal
18 */
19 final class Php54
20 {
21 public static function hex2bin($data)
22 {
23 $len = strlen($data);
24
25 if (null === $len) {
26 return;
27 }
28 if ($len % 2) {
29 trigger_error('hex2bin(): Hexadecimal input string must have an even length', E_USER_WARNING);
30
31 return false;
32 }
33
34 return pack('H*', $data);
35 }
36 }
37