Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Goを始めて感じたPHPの魅力
Search
chiroruxx
September 02, 2023
Technology
1
130
Goを始めて感じたPHPの魅力
第154回PHP勉強会@東京で発表したスライドです。
chiroruxx
September 02, 2023
Tweet
Share
More Decks by chiroruxx
See All by chiroruxx
Gopher のための「自由な話し合い」ワークショップ
chiroruxx
0
13
PHPをGoで動かす
chiroruxx
0
67
Goを使ってTDDを体験しよう!
chiroruxx
1
740
今ならできる!PhpStormプラグイン開発
chiroruxx
0
64
Go Connectへの想い
chiroruxx
0
190
eBPF with PHPをさわる
chiroruxx
0
140
sl完全に理解したつもり
chiroruxx
0
140
命名をリントする
chiroruxx
1
920
良い命名かを調べるリンターを作った + α
chiroruxx
0
140
Other Decks in Technology
See All in Technology
20251222_サンフランシスコサバイバル術
ponponmikankan
2
140
[2025-12-12]あの日僕が見た胡蝶の夢 〜人の夢は終わらねェ AIによるパフォーマンスチューニングのすゝめ〜
tosite
0
180
2025-12-18_AI駆動開発推進プロジェクト運営について / AIDD-Promotion project management
yayoi_dd
0
160
Bedrock AgentCore Memoryの新機能 (Episode) を試してみた / try Bedrock AgentCore Memory Episodic functionarity
hoshi7_n
2
1.9k
TED_modeki_共創ラボ_20251203.pdf
iotcomjpadmin
0
150
日本Rubyの会: これまでとこれから
snoozer05
PRO
6
240
事業の財務責任に向き合うリクルートデータプラットフォームのFinOps
recruitengineers
PRO
2
230
「図面」から「法則」へ 〜メタ視点で読み解く現代のソフトウェアアーキテクチャ〜
scova0731
0
510
障害対応訓練、その前に
coconala_engineer
0
200
Claude Codeを使った情報整理術
knishioka
11
7.3k
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
7
4k
AI時代のワークフロー設計〜Durable Functions / Step Functions / Strands Agents を添えて〜
yakumo
3
2.2k
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
200
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
57
40k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
350
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
270
The SEO identity crisis: Don't let AI make you average
varn
0
39
The untapped power of vector embeddings
frankvandijk
1
1.5k
The Language of Interfaces
destraynor
162
25k
The Pragmatic Product Professional
lauravandoore
37
7.1k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.4k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
0
310
The Cult of Friendly URLs
andyhume
79
6.7k
Transcript
(PΛ࢝Ίͯײͨ͡ 1)1ͷັྗ 第154回 PHP勉強会@東京
ࣗݾհ ▪ ちひろ ▪ Twitter: @chiroruxxxx ▪ 会社: 株式会社モリサワ
࠷ۙ ▪ Go で仕事をしている ▪ PHP は使ってない(悲しい・・・) ▪ PHP から離れてみて改めて魅力を感じました
▪ 改めて気付いた PHP の魅力を4つ伝えたいと思います
ϙΠϯλ͕ͳ͍ʂ ▪ 最高!
ϙΠϯλ͕ͳ͍ʂ ▪ 最高! ▪ Web アプリを作る際にメモリについて考えなくていい – (アドレスについてはたまに考えないといけない)
໊લিಥͷͮ͠Β͞ <?php declare(strict_types=1); namespace a; class a { public $a;
public function a($a) { // ... } }
໊લিಥͷͮ͠Β͞ package a type a struct { a string }
func (a a) a(a string) { // ... }
໊લিಥͷͮ͠Β͞ package a type a struct { a string }
func (a a) a(a string) { // ... }
໊લিಥͷͮ͠Β͞ ▪ 変数の先頭に $ が付く – 同名のプロパティとメソッドを区別できる ▪ レシーバの $this
固定 – 他の言語では任意の名前で設定できる場合も→名前衝突の原因に
͍͍ײ͡ͷܕ੍ ▪ 今の PHP は動的型付けしつつ静的解析するのが主流 – 型で困ることは(ほぼ)ないのでは ▪ 静的解析はいい感じに誤魔化せる –
@var type $var – 使いすぎには要注意だけど・・・
ίϛϡχςΟ͕ʹ͔͗ʂ ▪ PHP 勉強会みたいなコミュニティは意外と少ない? – 毎月 LT だけするようなコミュニティはどこでもある – 交流を定期的にやっているコミュニティは少ない
▪ 毎年、各地でカンファレンス開催・東京でも2つのカンファレンスが! – 福岡、盛り上がってましたね – 沖縄と北海道の話題も出ていますね – 東京だけでも PHP カンファレンス、PHPerKaigi がある
·ͱΊ ▪ PHP ええやん – ポインタがない – 名前衝突が少ない – いい感じの型制約
– コミュニティがにぎやか!