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-- Test unpacking at the 32-bit integer limit --FILE-- <?php $a = pack("AAAAAAAAAAAA..
Decoded Output download
--TEST--
Test unpacking at the 32-bit integer limit
--FILE--
<?php
$a = pack("AAAAAAAAAAAA", 1,2,3,4,5,6,7,8,9,10,11,12);
unpack('h2147483647', $a);
?>
--EXPECTF--
Warning: unpack(): Type h: not enough input, need 1073741824, have 12 in %s on line %d
Did this file decode correctly?
Original Code
--TEST--
Test unpacking at the 32-bit integer limit
--FILE--
<?php
$a = pack("AAAAAAAAAAAA", 1,2,3,4,5,6,7,8,9,10,11,12);
unpack('h2147483647', $a);
?>
--EXPECTF--
Warning: unpack(): Type h: not enough input, need 1073741824, have 12 in %s on line %d
Function Calls
pack | 1 |
Stats
MD5 | d681e8940d444b4860327b099e1e1e17 |
Eval Count | 0 |
Decode Time | 92 ms |