Ver original<?php$email = '[email protected]';$user = strstr($email, '@', true);echo $user; // mostrará name?>