Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このような針が発生した後、文字列の最初のビットを取得したい...
$user = strstr('someemail@yahoo.com', '@', true);
しかし、これはPHPバージョン5.3.0でのみ機能します。5.2.9があります。同じ結果を得る方法はありますか?
list($user, $therest) = explode('@',$email);