ペニス

諏訪子 <suwako@076.moe>、2025-12-31 06:27
コミット 9a5d5db5f3ad5e6ce3a560e9abd06073a01c84cd ・親 6c6e715 ・ファイルを見る

3個のファイル、+9 -2

変更 README-JP.md
@@ -7,7 +7,7 @@
77 サンプル:[https://lbdemo.technicalsuwako.moe/](https://lbdemo.technicalsuwako.moe/)
88
99 ## Little Beast とは?
10-Little Beast は PHP 8.5 以上向けのフレームワークで、076.moe(ゲーム開発会社)と technicalsuwako.moe(社長のブログ)向けに作られました。\
10+Little Beast は PHP 8.3 以上向けのフレームワークで、076.moe(ゲーム開発会社)と technicalsuwako.moe(社長のブログ)向けに作られました。\
1111 メイン考え方は「必要な物だけ拡張し、不要な物は削除する」です。\
1212 各コア機能はライブラリに分割されている為、必要な物だけを選び易い設計になっています。\
1313 全てのモジュールはゼロから書かれており、データベースは一切必要ありません。
変更 README.md
@@ -7,7 +7,7 @@
77 Demo installation: [https://lbdemo.technicalsuwako.moe/](https://lbdemo.technicalsuwako.moe/)
88
99 ## What is Little Beast?
10-Little Beast is a PHP 8.5 or above framework made for 076.moe (game developer company) and technicalsuwako.moe (CEO's blog).\
10+Little Beast is a PHP 8.3 or above framework made for 076.moe (game developer company) and technicalsuwako.moe (CEO's blog).\
1111 The core mentality is to extend what you need, and remove what you don't need.\
1212 Each core feature is split into libraries, so it is easy to choose what you need.\
1313 All modules are written from scratch, nothing is to be require a database.
変更 util.php
@@ -386,3 +386,10 @@
386386 $img = new \Site\Lib\Image($url);
387387 return $img;
388388 }
389+
390+// PHP 8.3と8.4の場合
391+if (!function_exists('array_last')) {
392+ function array_last(array $array): mixed {
393+ return $array === [] ? null : $array[array_key_last($array)];
394+ }
395+}