- utf8_decode: documentation ( source)
- microtime: documentation ( source)
- var_export: documentation ( source)
- base64_encode: documentation ( source)
<?php
$arr = array(
1,2,3,4,
array("wat" => "watdf8u38472309ufj"),
);
$mt = microtime(true);
$_arr = eval(utf8_decode(var_export($arr)));
print microtime(true) - $mt;
$mt = microtime(true);
$_f = create_function("", "return ".utf8_decode(var_export($arr)).";");
$_arr = call_user_func($_f);
print microtime(true) - $mt;
$mt = microtime(true);
$_arr = include "data:text/php,base64;".base64_encode("return ".utf8_decode(var_export($arr)).";");
print microtime(true) - $mt;