Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- mb_str_split() tests for more text encodings --EXTENSIONS-- mbstring --FILE-- <?p..

Decoded Output download

--TEST--
mb_str_split() tests for more text encodings
--EXTENSIONS--
mbstring
--FILE--
<?php
$array = mb_str_split("", 2, "UCS-2BE");
echo "[", bin2hex($array[0]), ", ", bin2hex($array[1]), "]
";
?>
--EXPECT--
[00010203, 04050607]

Did this file decode correctly?

Original Code

--TEST--
mb_str_split() tests for more text encodings
--EXTENSIONS--
mbstring
--FILE--
<?php
$array = mb_str_split("\x00\x01\x02\x03\x04\x05\x06\x07", 2, "UCS-2BE");
echo "[", bin2hex($array[0]), ", ", bin2hex($array[1]), "]\n";
?>
--EXPECT--
[00010203, 04050607]

Function Calls

mb_str_split 1

Variables

None

Stats

MD5 0ab80d8c7d9f00edff779281eeae212c
Eval Count 0
Decode Time 104 ms