<?php
function getCookie($key, $cookie) {
return $output[1];
}
}
$cookie = 'ct0=945d9ead4b3ce88d5aba8f09a4d78aee;foobar=945d9ead4b3ce88d5ab&a8f09a4d78aee';
PD9waHAKZnVuY3Rpb24gZ2V0Q29va2llKCRrZXksICRjb29raWUpIHsKICAgIGlmIChwcmVnX21hdGNoKCcjJyAuIHByZWdfcXVvdGUoJGtleSkgLiAnPShbXHNcU10rPykoO3wkKSNpJywgJGNvb2tpZSwgJG91dHB1dCkpIHsKICAgICAgICByZXR1cm4gJG91dHB1dFsxXTsKICAgIH0KfQoKJGNvb2tpZSA9ICdjdDA9OTQ1ZDllYWQ0YjNjZTg4ZDVhYmE4ZjA5YTRkNzhhZWU7Zm9vYmFyPTk0NWQ5ZWFkNGIzY2U4OGQ1YWImYThmMDlhNGQ3OGFlZSc7Cgp2YXJfZHVtcChnZXRDb29raWUoJ2N0MCcsICRjb29raWUpKTsKdmFyX2R1bXAoZ2V0Q29va2llKCdmb29iYXInLCAkY29va2llKSk7Cg==