{"provider_name":"Hatena Blog","blog_url":"https://mrradiology.hatenablog.jp/","url":"https://mrradiology.hatenablog.jp/entry/2020/04/28/071729","version":"1.0","width":"100%","author_name":"MrRadiology","blog_title":" \u5b66\u751f\u5411\u3051\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580 | \u7121\u6599","categories":["PHP"],"height":"190","title":"PHP | 13 | \u4e71\u6570","type":"rich","published":"2020-04-28 07:17:29","author_url":"https://blog.hatena.ne.jp/MrRadiology/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/M/MrRadiology/20161026/20161026101920.jpg","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmrradiology.hatenablog.jp%2Fentry%2F2020%2F04%2F28%2F071729\" title=\"PHP | 13 | \u4e71\u6570 -  \u5b66\u751f\u5411\u3051\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580 | \u7121\u6599\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","description":"\u30e9\u30f3\u30ad\u30f3\u30b0\u53c2\u52a0\u4e2d\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 [TOP] \u6b21>> PHP\u3067\u4e71\u6570\u3092\u751f\u6210\u3059\u308b\u306b\u306f\u3001rand()\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 rand(\u6700\u5c0f\u5024, \u6700\u5927\u5024) \u6700\u5c0f\u5024\u3068\u6700\u5927\u5024\u306f\u6574\u6570\u3067\u6307\u5b9a\u3055\u308c\u305f\u7bc4\u56f2\u306e\u4e71\u6570\u304c\u767a\u751f\u3057\u307e\u3059\u3002 \u4ee5\u4e0b\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u4f5c\u6210\u3057\u3066\u300cphpsample\u300d\u30d5\u30a9\u30eb\u30c0\u306b\u4fdd\u5b58\u3057\u3066\u4e0b\u3055\u3044\u3002 \u3010randtest.php\u3011 <p>\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044</p> <?php for ($i=0; $i<5; $i++) { $num=rand(0, 5); print(\"${num}<br>\\n\"); } ?> Apache\u3092\u8d77\u52d5\u3057\u3001Web\u30d6\u30e9\u30a6\u30b6\u3067\u300chttp://localhost/phps\u2026"}