PHPerKaigi 2021 (2021/3/27) 発表資料。補足記事:https://hnw.hatenablog.com/entry/2021/03/29/011242 Read less
![PHP7から不変配列がOPcacheに乗るのでKVSを置き換えられるかもしれないという話](https://cdn-ak-scissors.b.st-hatena.com/image/square/711e78686a92c0692933ee2dc57b5a6bc53d6679/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fphperkaigi-20210327-210327024113-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)
PHP 7.0のリリースから約5年が経過し、そろそろPHP 8.0のリリースも見えてきました。人によっては使い始めて5年目になるはずのPHP 7.xですが、いまだに新しい発見があったりして面白いですね。 本稿ではPHP 7.0から入った定数配列に関する性能改善について紹介します。 PHP 5時代は配列の組み立てコストが大きかった プログラミング上のテクニックとして、辞書データを連想配列としてプログラム中に記述し、これを必要に応じて使うというものがあります。たとえば次のコード例を見てみましょう。このような連想配列を持っておけば、プログラム中で国名コードをを扱う際に実在するかをチェックしたり、国名の日本語表記に変換したりといった処理ができるわけです。 <?php $country_name = [ 'jp' => '日本', 'us' => 'アメリカ合衆国', 'ru' => 'ロシア連邦'
In today's digital landscape, HTML remains an essential language for web development. However, learning HTML doesn't have to be a monotonous and tedious task. By embracing fun and interactive methods, you can unleash your creativity and master HTML in an engaging and enjoyable way. From building exciting projects to exploring the novelty of HTML's origins, and even incorporating interactive platfo
Psst, you want some client-side MySQL load balancing with and without sharding for your PHP application? PHP 5.3 has something to offer for you. It is free. It requires no to very little changes to your applications. It is open source but works with closed source applications as well. You won’t find this information in any book, because some book authors still do not cover "mysqlnd". Read on for 3
Digg delivers the most interesting and talked about stories on the Internet right now. Digg does curation: building products that make life smoother, simpler, and smarter. Re-founded in 2012, Digg now provides the most relevant and compelling content to millions of users a month. Using proprietary data sources and a crack editorial team, we cut through the clutter of the Internet and make sense of
Symfony performs Better Symfony 2 is one of the fastest PHP framework around. We have tested it against the other major PHP frameworks with a simple "Hello World" application and also with a slightly more elaborate application. Here are the results (see below for the methodology and the code). Benchmark Results "Hello World" Application For the "Hello World" application, the Symfony 2.0 is about:
IntroductionIn our company, code reviews play an integral part in the development process for making quality software. We opt for a mentor style approach with Wufoo, where a developer works on a segment for a period of time and then passes it up to a more experienced developer for review. We really like this approach because it means more developers become familiar with the foundation of different
Sebastian Bergmann has created the industry-leading testing tool PHPUnit, which has played a vital role in professionalizing software development with PHP. Sebastian shares his comprehensive experience in publications and at conferences. As Co-Founder and Principal Consultant of The PHP Consulting Company (thePHP.cc), he helps his clients to develop software successfully. In his free time, Sebasti
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く