mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
update include update env file
This commit is contained in:
@@ -104,8 +104,8 @@ class Test extends Command
|
||||
$str = "1.abc.de";
|
||||
$ext = "png";
|
||||
$str = "202404/20240403215909f58f38ddd968a0e8a4bdd30690a9e92e.png";
|
||||
$res = substr($str, 0,-1*strlen($ext)-1);
|
||||
dd($res);
|
||||
$ext = pathinfo($str, PATHINFO_EXTENSION);
|
||||
dd(basename($str), $ext);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user