Y-KANOH
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit
      • Invitee
      • No invitee
    • Publish Note

      Publish Note

      Everyone on the web can find and read all notes of this public team.
      Once published, notes can be searched and viewed by anyone online.
      See published notes
      Please check the box to agree to the Community Guidelines.
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit
Invitee
No invitee
Publish Note

Publish Note

Everyone on the web can find and read all notes of this public team.
Once published, notes can be searched and viewed by anyone online.
See published notes
Please check the box to agree to the Community Guidelines.
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
【PHP8.1リリース記念】PHPerのためのPHP8.1をもっと語り合うPHP TechCafe ===================================================== # PHPers News ::: info **[PHP8のモダンな書き方チートシートがgithabにあるの見つけたで、 というITコンサルしている海外の人のツイート](https://twitter.com/afilina/status/1462904647933382656?s=21)** ・モダンを知ることでレガシーを知れる ::: ::: info **[The New Life of PHP – The PHP Foundation](https://blog.jetbrains.com/phpstorm/2021/11/the-php-foundation/_)** ・もっとPHPの言語内でパラダイム・シフトが活発になりそう ・レガシーシステムを作っている会社はDOKIDOKI★HETOHETOが待っていそう★★ ::: ::: info **[2021 アドベントカレンダー Laravel](https://qiita.com/advent-calendar/2021/laravel)** 著名なエンジニアによる記事が満載。Laravel の最新情報などもそろっている雰囲気です ::: ::: info **[JetBrainsがコードエディタの「Fleet」を発表](https://blog.jetbrains.com/ja/blog/2021/11/29/welcome-to-fleet/)** PHPは実装予定。単純に使ってみたいです。 ::: ::: info **[Appleシリコン対応Docker Desktop、一般提供を開始](https://codezine.jp/article/detail/15238)** M1 Mac不具合が解決していけば最新Mac買いたい。 まだIntel Macの信用度は高い。 ::: ::: info **[Nikita Popov、PHP開発から離れる & PHP財団設立のお知らせ](https://qiita.com/rana_kualu/items/eaf97694f25a62f93a7e)** PHP開発の主要人物って2人だけなんだぁ…… ::: ::: info **[PHP: PHP 8.1.0 Release Announcement](https://www.php.net/releases/8.1/en.php)** 新機能については、うちのTechBlogでもまとめられています ::: ::: info **[PHPerKaigi petit - PHP8.1リリース祝賀会](https://phperkaigi.connpass.com/event/233022/)** 参加者のアイコンが見たことあるアイコンばかり… ::: ::: info **[「動的プロパティの禁止」が僅差で可決](https://externals.io/message/116519)** ライブラリやら諸々取り込むのは大変そう ちなみに投票数の2/3が賛成で可決です ::: ::: info **[PHPerKaigi petit - PHP8.1リリース祝賀会](https://phperkaigi.connpass.com/event/233022//)** ::: # 特集:PHP8.1をもっと語り合う ## [PHP8.1リリース前のPHP TechCafe](https://rakus.connpass.com/event/221434/) * Show Note * [PHP8.1 の新機能について語り合う PHP TechCafe](https://hackmd.io/71nKKcp6SduhpI0hD-Ac6A) * イベントの書き起こし * [PHP8.1 の新機能について語り合う・前編【PHP TechCafe イベントレポート】](https://tech-blog.rakus.co.jp/entry/20210915/php) * [PHP8.1 の新機能について語り合う・後編【PHP TechCafe イベントレポート】](https://tech-blog.rakus.co.jp/entry/20210927/php) ## [メイン機能](https://www.php.net/releases/8.1/en.php) * Readonly Properties * 使いやすそう * この値は変更してほしくないという意図をのちの開発者に伝えられる * ただし、型つきプロパティのみに対応 * New never type * 可読性向上が期待できる(レガシーなコードにバンバンつけていきたい) * 加納はやっぱり"noreturn"のほうがよかったのでは派 * Final class constants * 継承したclassの定数をオーバーライドすることを禁止することが出来る * 意図しない変更を防止することができる ## [非推奨になる機能](https://www.php.net/manual/ja/migration81.deprecated.php) * date_sunrise() and date_sunset() * 日の出、日の入の時刻を返す関数。 * そんな関数があったのかという意味で気になった。 * 他にも面白い関数がありそう(PHP8.1の話題とはそれるが) * key(), current(), next(), prev(), reset() on objects * そもそもobjectをforeachしたことがなかったので気になった。 * object内の、アクセス権限があるプロパティにのみforeachでアクセスできる模様。 * 今後はobjectを配列にキャストするか、get_mangled_object_vars()を使用することになる。 * https://www.php.net/manual/ja/language.oop5.iterations.php * get_class(), get_parent_class() and get_called_class() without argument * 却下されたRFC。 * 影響が大きいため却下された? * 今回は却下されたが、将来非推奨になりそうな気はする。 * t fopen mode * 却下されたRFC。 * 影響が大きいため却下された? * 今回は却下されたが、将来非推奨になりそうな気はする。 * filter.default ini setting * $_GET, $_POST, $_COOKIE, $_REQUEST および $_SERVER のすべてのデータをフィルタリングできる。 * フィルタもいくつかあって、なんか色々できそう。 * が、デフォルトの設定(unsafe_raw)以外は非推奨になる模様。 * https://www.php.net/manual/ja/filter.filters.sanitize.php * 暗黙の float から int への変換 * 型を意識債PHPを感じる * false な変数を自動的に復活させる挙動(Autovivification) * なんだかんだやってしまっていること多くない?? ## [下位互換性のない変更点](https://www.php.net/manual/ja/migration81.incompatible.php) * 継承したメソッド内で static 変数を使う * 内部クラスと戻り値の型の互換性 * リソースからオブジェクトへの移行 ここら辺はシステムによっては影響が結構ありそう。 申込時に`さっそくapacheにphp8.1インストールしたら500でまくりでした`というメッセージもいただいておりました。 ## その他の話題 * Nikita Popov について語る * https://github.com/nikic/php-rfcs/blob/language-evolution/rfcs/0000-language-evolution.md * https://blog.jetbrains.com/phpstorm/2019/01/nikita-popov-joins-phpstorm-team/

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template is not available.
Upgrade
All
  • All
  • Team
No template found.

Create custom template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

How to use Slide mode

API Docs

Edit in VSCode

Install browser extension

Get in Touch

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Upgrade to Prime Plan

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

No updates to save
Compare with
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Upgrade

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Upgrade

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully