{"id":162111,"date":"2020-09-30T03:53:07","date_gmt":"2020-09-29T19:53:07","guid":{"rendered":"http:\/\/4563.org\/?p=162111"},"modified":"2020-09-30T03:53:07","modified_gmt":"2020-09-29T19:53:07","slug":"%e5%85%b3%e4%ba%8e-php-%e7%9a%84%e4%b8%80%e4%b8%aa%e8%bf%90%e7%ae%97%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=162111","title":{"rendered":"\u5173\u4e8e PHP \u7684\u4e00\u4e2a**\u8fd0\u7b97\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5173\u4e8e PHP \u7684\u4e00\u4e2a**\u8fd0\u7b97\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : absolutelynull <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<pre><code>&lt;?php  $n = -2;  echo $n ** 2;  \/\/ $n = -2; -2 ** 2 = 4  echo '|';  echo -2 ** 2; \/\/           -2 ** 2 = 4  \/\/\u7ed3\u679c\u4e3a: 4|-4  <\/code><\/pre>\n<p>\/\/ \u6b63\u5e38\u6765\u8bf4\u7684\u8bdd -2 ** 2 = -4 \u7684\u5427<\/p>\n<p>\u4e3a\u5565\u628a-2 \u8d4b\u503c\u7ed9\u4e00\u4e2a\u53d8\u91cf\u4e4b\u540e \u5c31\u662f $n**2=4\uff0c\u5176\u5b9e$n=-2<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>16<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3524885\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xiri <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e58\u65b9\u7684\u4f18\u5148\u7ea7\u6bd4\u51cf\u53f7\u9ad8\uff0c\u4f60\u7684\u7b2c\u4e8c\u4e2a\u5b9e\u9645\u76f8\u5f53\u4e8e 0-(2**2)<br \/>\u800c\u7b2c\u4e00\u4e2a\u7684\u8bdd\u5b9e\u9645\u4e0a\u662f\u5148\u8ba1\u7b97\u4e86$n=0-2\uff0c\u518d\u53bb\u4e58\u65b9\uff0c\u76f8\u5f53\u4e8e(-2)**2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524886\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xiri <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xiri \u7a81\u7136\u53d1\u73b0\u4f60\u8bf4\u201c \u6b63\u5e38\u6765\u8bf4\u7684\u8bdd -2 ** 2 = -4 \u7684\u5427\u201d\uff0c\u611f\u89c9\u6709\u70b9\u8ff7\u60d1\u554a\u3002<br \/>\u8d1f\u4e8c\u7684\u5e73\u65b9\u662f\u7b49\u4e8e\u56db\u554a\uff0c\u4e8c\u7684\u5e73\u65b9\u518d\u53d6\u8d1f\u6570\u662f\u8d1f\u56db\uff0c\u8bf4\u767d\u4e86\u5c31\u662f\u8fd0\u7b97\u7b26\u4f18\u5148\u7ea7\u7684\u95ee\u9898\uff0c\u7b26\u53f7\u4e00\u822c\u662f\u5904\u7406\u6210\u96f6\u51cf\u67d0\u67d0\u67d0\u7684\uff0c\u4f18\u5148\u7ea7\u5f53\u51cf\u53f7\u770b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524887\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iyaozhen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             $n = (-2)<br \/>(-2)^2 = 4<\/p>\n<p>\u4f60\u8bf4\u7684\u662f\u8fd9\u6837 eval(&#8220;$n ** 2&#8221;) = eval(&#8220;-2 ** 2&#8221;) = eval(&#8220;-(2**2)&#8221;)<\/p>\n<p>\u8fd9\u4e2a\u53c8\u4e0d\u662f\u5b57\u7b26\u4e32\u62fc\u63a5\uff0c\u4e0d\u662f\u62fc\u597d\u4e86\u518d\u6267\u884c                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524888\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lovecy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6574\u4e86\u4e24\u5e74 PHP \u4e86\uff0c\u7b2c\u4e00\u6b21\u53d1\u73b0\u8fd8\u6709\u8fd9\u8fd0\u7b97\u7b26\uff0c\u6700\u5947\u8469\u7684\u662f\u4f18\u5148\u7ea7\u5c45\u7136\u662f\u7b2c\u4e8c\u9ad8\u7684\uff0c\u4ec5\u6b21\u4e8e clone\/new\uff0c\u771f\u7684\u8ff7\u60d1\u3002\u3002\u3002\u3002\u3002\u3002\u3002\u3002\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524889\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sparrww <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u5e73\u65f6\u7528\u7684\u5230\u5417\uff0c\u4e0d\u8ba8\u8bba\u9a9a\u64cd\u4f5c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524890\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cccp2020 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8d1f\u6570\u7684\u5e73\u65b9\u672c\u6765\u5c31\u662f\u6b63\u6570\u5427 ** \u81ea\u4e58\u4e5f\u662f\u6c42\u5e73\u65b9\u7684<\/p>\n<p>-2 ** 2 \u5e94\u8be5\u662f\u8fd0\u7b97\u7b26\u4f18\u5148\u7ea7\u5bfc\u81f4\u7684\uff0c &#8211; \uff08 2 ** 2 \uff09                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524891\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : JJstyle <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u867d\u7136\u53cd\u5e38\uff0c\u4f46\u662f\u5408\u7406\uff0c\u53ef\u4ee5\u8fd9\u6837:<\/p>\n<p>php &gt; echo (-2) ** 2;<br \/>4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524892\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Chappako <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528 bcpow() \u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524893\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ruyu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e python -2 ** 2 \u4e5f\u662f -4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524894\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iNaru <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             js \u76f4\u63a5\u62a5\u9519<br \/><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/10\/20201001_5f75551abafc2.png\" rel=\"noreferrer\" alt=\"\u5173\u4e8e PHP \u7684\u4e00\u4e2a**\u8fd0\u7b97\u95ee\u9898\"> <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524895\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chaogao2016 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u641e\u4e86 4 \u5e74 php\uff0c\u4e5f\u662f\u7b2c\u4e00\u6b21\u89c1\u8fd9\u4e2a\u8fd0\u7b97\u7b26                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524896\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : absolutelynull <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             -.-\uff01\uff01\uff01\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524897\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wanglilong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e5f\u53ea\u6709\u9762\u8bd5\u9898\u4f1a\u6709\u8fd9\u79cd\uff0c\u5b9e\u9645\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u8fd9\u6837\u5199\u6015\u662f\u4f1a\u88ab\u6253\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524898\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : foundnot404 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e\u8fd9\u4e1c\u897f\u8ddf\u7f16\u7a0b\u8bed\u8a00\u6ca1\u6709\u4efb\u4f55\u5173\u7cfb\uff0c**\u5c31\u662f\u4e58\u65b9\u8fd0\u7b97\u7b26\uff0c\u81ea\u5df1\u60f3\u4e00\u4e0b\u6570\u5b66\u4e2d-2^2 \u662f\u591a\u5c11\u770b\u770b\uff1f<br \/>\u4e58\u65b9\u7684\u4f18\u5148\u7ea7\u662f\u6700\u9ad8\u7684\uff0c-2^2=-(2^2)=-4\uff0c(-2)^2=4\uff0c\u6ca1\u6709\u4efb\u4f55\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524899\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lovecy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @iNaru JS \u6ca1\u6709**\u8fd9\u4e2a\u8fd0\u7b97\u7b26\uff0c\u53ef\u4ee5\u76f4\u63a5\u7528^\uff0c\u6bd4\u5982<br \/>&gt; -2^2<br \/>&lt; -4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3524900\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lovecy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @foundnot404 \u662f\u54e6\uff0c\u4ed4\u7ec6\u60f3\u60f3\u786e\u5b9e\u4e58\u3001\u9664\u3001\u4e58\u65b9\u8fd9\u4e9b\u4f18\u5148\u7ea7\u90fd\u6bd4\u6b63\u8d1f\u53f7\u8981\u9ad8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5173\u4e8e PHP \u7684\u4e00\u4e2a**\u8fd0\u7b97\u95ee\u9898 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/162111"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=162111"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/162111\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=162111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=162111"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=162111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}