3v4l.org

run code in 300+ PHP versions simultaneously
<?php $authorisation = base64_encode( $this->getUsername() . ':' . $this->getPassword() ); echo $authorisation;

preferences:
66.27 ms | 402 KiB | 5 Q