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 explode() function : usage variations - when $string length is greater than ..

Decoded Output download

--TEST--
Test explode() function : usage variations - when $string length is greater than
EXPLODE_ALLOC_STEP (64) and the $limit is negative
--CREDITS--
edgarsandi - <[email protected]>
--FILE--
<?php

var_dump(count(explode('|', implode('|', range(1,65)), -1)));

?>
--EXPECT--
int(64)

Did this file decode correctly?

Original Code

--TEST--
Test explode() function : usage variations - when $string length is greater than
EXPLODE_ALLOC_STEP (64) and the $limit is negative
--CREDITS--
edgarsandi - <[email protected]>
--FILE--
<?php

var_dump(count(explode('|', implode('|', range(1,65)), -1)));

?>
--EXPECT--
int(64)

Function Calls

range 1

Variables

None

Stats

MD5 46b300548945d4f8ead1eab032694e6a
Eval Count 0
Decode Time 87 ms