3v4l.org

run code in 300+ PHP versions simultaneously
<?php $algorithms = array('ssh-rsa', 'ssh-dss', 'ssh-ed25519'); $algorithm_string = join(' or ', array_filter(array_merge(array(join(', ', array_slice($algorithms, 0, -1))), array_slice($algorithms, -1)), 'strlen')); echo sprintf('The key is invalid. It must begin with %s.', $algorithm_string);

preferences:
23.42 ms | 408 KiB | 5 Q