Quantcast
Channel: PHP8タグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 521

【PHP8.3】array_sumにGMPを突っ込めるようになる

$
0
0
GMPインスタンスは演算子オーバーロードされているため、普通の数値と混ぜて計算が可能です。 echo gmp_init("123") + 456; // 579 echo array_sum([gm…

Viewing all articles
Browse latest Browse all 521

Trending Articles