Write a PHP script to extract the user name from the following email ID
- برمجة بي اتش بي
- 2021-09-10
- mhanasmh00489829403
الأجوبة
<?php
$mailid = 'rayy@example.com';
$user = strstr($mailid, '@', true);
echo $user."\n";
?>
Sample Output:
rayy
القوائم الدراسية التي ينتمي لها السؤال