3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "lucas.beyeler@4linux.com.br"; $substring = substr($string, strpos($string, '@')); echo $substring;

preferences:
47.97 ms | 402 KiB | 5 Q