<?php
$string = "10100101";
$binary = (binary) $string;
$binary = b"10100101";
?>
PD9waHAKZXJyb3JfcmVwb3J0aW5nKEVfQUxMKTsKJHN0cmluZyA9ICIxMDEwMDEwMSI7CiRiaW5hcnkgPSAoYmluYXJ5KSAkc3RyaW5nOwp2YXJfZHVtcCgkYmluYXJ5KTsKJGJpbmFyeSA9IGIiMTAxMDAxMDEiOwp2YXJfZHVtcCgkYmluYXJ5KTsKPz4=