php讲解全系列

<html lang="zh-cn" dir="ltr"><head data-info="f:msnallexpusers,muidflt20cf,muidflt46cf,muidflt57cf,mmxandroid1cf,audexedge2cf,moneyedge1cf,audexhp1cf,audexhp3cf,bingcollabhp1cf,bingcollabhp3cf,modcoglangc,prg-ugc-staginc,audexhz3cf,artgly2cf,artgly5cf,gallery3cf,weather2cf,prg-1sw-tkicon1,prg-1sw-smmax,prg-1sw-prepwcomp1,prg-1sw-fi2c2,prg-1sw-prepw1,prg-1sw-hddly,prg-spr-auto-c,prg-1sw-p1feat12,prg-1sw-morecfbdg,prg-1s-badge,prg-1sw-badge,prg-1sw-bdgcf,prg-1sw-nbdgw,prg-1sw-pnp,prg-1sw-shbdg,prg-1sw-toregion,traffic-citytravelcf,prg-1sw-trf-timescf,1s-remotecompact,prg-adspeek,csmoney7cf,1s-br30mincn,1s-winauthservice,prg-bellshakehpc,prg-wf-sky-re,msnapp6cf,prg-1sw-wxip2,prg-ias,prg-1sw-ms-cloud,prg-1sw-mscloudn,prg-ms-cloud,routentpring2t,1s-fcrypt,prg-1sw-pmos1,prg-1sw-splog,prg-ctr-pnpc,prg-1sw-accu10,prg-1sw-pr2h1ro1,prg-1sw-pr2ad,prg-1sw-pr2husd,prg-1sw-pr2husdent,prg-1sw-pr2hutp,prg-1sw-pr2hutpent,prg-prong2-ptsss,prg-1sw-hdukr,prg-upsaip-w1-t,prg-infrd-ah-r4s,prg-intapperr,prg-1sw-acrlt,prg-1sw-acmng,prg-favor-exp,prg-upsaip-r-t,prg-wx-anmpr,1s-contentview-1,prg-wtch-ctrsrch,prg-wx-sbn-vm,prg-1sw-pmos2,prg-1sw-pmos3,prg-wtchbutton1,prg-prdnavc,prg-1sw-uspx,prg-wship,prg-wleft,prg-1sw-sbn-mm,prg-1sw-snrtp1,prg-1sw-mbinrf,prg-sh-ntpsdzhcn,prg-1sw-shcanema,prg-ntp-kglobal,prg-select-carousels,prg-sh-cahsoff,prg-sh-dflthome,prg-sh-kpux,prg-sh-mkton,prg-sh-pcdslot6,prg-sh-prodtitle,prg-sh-scramble,prg-sh-sdhsoff,prg-sh-sdintmkt,prg-sh-tdexp6,prg-sh-tpcslot6,prg-shtrslot6,prg-sh-wnwmkt,prg-sh-zhch,prg-webcomp-s2,prg-wpo-shopintl,prg-1sw-mbs6g1p,1s-newfcrypt,prg-wxufapicf,prg-sh-pslsf,hp-wea-locfcst2v;" data-client-settings="{&quot;aid&quot;:&quot;F3AF8D6C0CB146FD8D8DFB628DD973C0&quot;, &quot;static_page&quot;:&quot;false&quot;, &quot;queryparams&quot;:&quot;?locale=zh-CN&amp;title=%E6%96%B0%E5%BB%BA%E6%A0%87%E7%AD%BE%E9%A1%B5&amp;dsp=1&amp;sp=%E5%BF%85%E5%BA%94&amp;prerender=1&quot;, &quot;apptype&quot;:&quot;edgeChromium&quot;, &quot;pagetype&quot;:&quot;ntp&quot;, &quot;configRootUrl&quot;:&quot;https://assets.msn.com/config/v1/&quot;, &quot;feedBaseDomain&quot;:&quot;&quot;, &quot;deviceFormFactor&quot;:&quot;desktop&quot;, &quot;pageGenTime&quot;:&quot;2022-06-08T01:23:53Z&quot;, &quot;pcsInfo&quot;:{&quot;v&quot;:&quot;20220601.5_master&quot;, &quot;env&quot;:&quot;prod&quot;}, &quot;locale&quot;:{&quot;language&quot;:&quot;zh&quot;, &quot;market&quot;:&quot;cn&quot;, &quot;content&quot;:{&quot;language&quot;:&quot;zh&quot;, &quot;market&quot;:&quot;cn&quot;}, &quot;display&quot;:{&quot;language&quot;:&quot;zh&quot;, &quot;market&quot;:&quot;cn&quot;}}, &quot;featureFlags&quot;:{ &quot;wpoEnabled&quot;: &quot;true&quot; }, &quot;market&quot;:{}, &quot;servicesEndpoints&quot;:{&quot;staticConfig&quot;: {&quot;domain&quot;: &quot;https://assets.msn.cn&quot;, &quot;path&quot;: &quot;/config/v3/&quot;, &quot;v&quot;: &quot;&quot;},&quot;crs&quot;: {&quot;domain&quot;: &quot;&quot;, &quot;path&quot;: &quot;/resolver/api/resolve/&quot;, &quot;v&quot;: &quot;v3&quot;},&quot;feedService&quot;: {&quot;domain&quot;: &quot;https://assets.msn.cn&quot;, &quot;path&quot;: &quot;&quot;, &quot;v&quot;: &quot;&quot;},&quot;enterpriseFeedService&quot;: {&quot;domain&quot;: &quot;https://ent-api.msn.com/&quot;, &quot;path&quot;: &quot;&quot;, &quot;v&quot;: &quot;&quot;}}, &quot;bundleInfo&quot;:{&quot;v&quot;:&quot;20220607.431&quot;, &quot;alias&quot;:&quot;latest&quot;, &quot;hash&quot;:&quot;3de0ef69f440a5ec89f429cfbb10e41a&quot;, &quot;configsHash&quot;:&quot;2d2d5d8dc5e208a1eecda7b94d8e26b0&quot;, &quot;locConfigsHash&quot;:&quot;7d93e96534b6aaad1ce91dc4d067536e&quot;}, &quot;os&quot;:&quot;windows&quot;, &quot;browser&quot;:{&quot;browserType&quot;:&quot;edgeChromium&quot;, &quot;version&quot;:&quot;102&quot;, &quot;ismobile&quot;:&quot;false&quot;}, &quot;domain&quot;:&quot;ntp.msn.cn&quot;, &quot;detection&quot;:{&quot;ip&quot;:&quot;120.242.248.198&quot;}, &quot;geo_country&quot;:&quot;CN&quot;, &quot;geo_countryname&quot;:&quot;China&quot;, &quot;geo_subdivision&quot;:&quot;Anhui&quot;, &quot;geo_zip&quot;:&quot;246001&quot;, &quot;geo_city&quot;:&quot;Yixiu District&quot;, &quot;geo_lat&quot;:&quot;30.5463&quot;, &quot;geo_long&quot;:&quot;117.06&quot;, &quot;requestMuid&quot;:&quot;031179BCB09065A2107D6814B490646F&quot;}">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <meta http-equiv="origin-trial" content="AiBNAXDqdjm8yk+dnAAZ0tiy9SFmRxU6KFMbpg/Y8NU5XC8csS1N4lXGRTsJyf2WjkzYTu+0xzR4KQW263x5FpkAAABseyJvcmlnaW4iOiJodHRwczovL21zbi5jb206NDQzIiwiaXNTdWJkb21haW4iOnRydWUsImZlYXR1cmUiOiJNc1VzZXJBZ2VudExhdW5jaE5hdlR5cGUiLCJleHBpcnkiOjE2NTY2NTg4MDB9">

    <meta http-equiv="origin-trial" content="As4hhBkTYJW7E/eeDG9QSjE2+sWBDBW1Y71zMd4r+BDlSmpdcj+5o8FDmYWSYPSV38rrdr+nl6UdD4DYMhD5NkYAAAB1eyJvcmlnaW4iOiJodHRwczovL21zbi5jb206NDQzIiwiaXNTdWJkb21haW4iOnRydWUsImZlYXR1cmUiOiJNc1Byb3RvY29sTGF1bmNoVGltaW5nSW5mb3JtYXRpb24iLCJleHBpcnkiOjE2NTU5NDI0MDB9">

    <title>新建标签页</title>


    

        <script nonce=""> window.NONCE_ID="HaSz//XnRCEBT6bY1T6EnBvE9sPgAdKsjwuSfuvyt34=";</script>
         <script nonce="" src="https://assets.msn.cn/staticsb/statics/latest/oneTrustCN/1.0/scripttemplates/otSDKStub.js" data-document-language="true" type="text/javascript" charset="UTF-8" data-domain-script="42e7c639-42ed-4e0f-936c-e7f2a5fcb01e" id="onetrust-sdk"></script>

        <script type="text/javascript" id="inlinehead-inline-script" nonce="">
            window["_webWorkerBundle"] = "/bundles/v1/edgeChromium/latest/web-worker.6e6b0ec5d4a48065aded.js";
            window["_authCookieName"] = "aace";
            !function(){"use strict";var e={},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,n),s.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var i,o,s,r,a;function c(e){try{return JSON.parse(e)}catch(e){return null}}function u(e){try{return decodeURIComponent(e)}catch(e){}}function l(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function d(){var e;return l()?c(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName("peregrine-widget-settings")[0])||void 0===e?void 0:e.getAttribute("data-client-settings"))):null}let g;function h(e,t){if(!e)return null;if(t)return function(e){const t=document.cookie.match(`\\b${e}=([^;]*)`);return t?u(t[1]):null}(e);if(!g){const e="undefined"!=typeof document&&document.cookie.split("; ");g={};const t=e&&e.length;for(let n=0;n<t;n++){const t=e[n].split("=");g[t[0].toLocaleLowerCase()]=u(t[1])}}const n=e.toLocaleLowerCase();return g[n]||null}function p(e){const t=h(e);return t&&encodeURIComponent(t)||null}function f(e){let t,n=!1;const i=function(){return n||(n=!0,t=e()),t};return i.cache={clear:()=>{n=!1,t=void 0}},i}!function(e){e.Android="android",e.Ios="ios",e.Linux="linux",e.Macos="macos",e.Windows="windows",e.Xbox="xbox"}(i||(i={})),function(e){e.Adult="adult",e.Enterprise="enterprise",e.Kids="kids"}(o||(o={})),function(e){e[e.Unknown=0]="Unknown",e[e.NotSignedIn=1]="NotSignedIn",e[e.SignedIn=2]="SignedIn"}(s||(s={})),function(e){e.MSA="MSA",e.AAD="AAD",e.UNSUPPORTED_SOVEREIGNTY="UNSUPPORTED_SOVEREIGNTY"}(r||(r={})),function(e){e[e.NonAadAccount=0]="NonAadAccount",e[e.AadAccount=1]="AadAccount",e[e.Unknown=2]="Unknown"}(a||(a={}));const m="currentaccount",w=f((()=>{const e=h(m,!0),t=e&&c(e),{login_hint:n}=t||{};return n&&t})),b=f((()=>!!h(m)));let y=new class{constructor(){l()?(this.isDebugEnabled=(function(e,t){const n=t.replace(/[[\]]/g,"\\$&"),i=new RegExp("[?&]"+n+"(=([^&#]*)|&|#|$)").exec(e);if(!i)return null;const o=i[2];return decodeURIComponent(o.replace(/\+/g," "))||""}(window.location.href,"debug")||"").toLowerCase()in{1:1,true:1},this.isDebugEnabled&&!n.g.TEST_ENV&&(window.webpackRequire=n)):this.isDebugEnabled=!1}getLoggingService(){return null}isDebug(){return this.isDebugEnabled}setDebug(e){this.isDebugEnabled=e}setTags(e){}log(e,t){this.isDebug()&&console.info(e)}logError(e){console.error(e)}logCallback(e){this.isDebug()&&console.info(e())}logObjects(...e){this.isDebug()&&console.log(...e)}logSingleObject(e,t){this.isDebug()&&console.log(e)}};let v,S=new class extends class{constructor(e){this.storage=e}get supported(){return!!this.storage}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=c(n);if(null!=e)return e}return t}key(e){if(this.supported&&e>=0)return this.storage.key(e)}keys(){return this.supported?Object.keys(this.storage):[]}setObject(e,t){void 0!==t?this.setItem(e,JSON.stringify(t)):this.removeItem(e)}removeObject(e){const t=this.removeItem(e);if(null!=t)return c(t)}setItem(e,t){if(this.supported)try{this.storage.setItem(e,t)}catch(e){y.logError(e)}}get length(){if(this.supported)return this.storage.length}removeItem(e){if(this.supported){const t=this.getItem(e);return this.storage.removeItem(e),t}}removeSubstringKeys(e){if(!this.supported||!e)return;const t=[];for(let n=0;n<this.storage.length;n++){const i=this.key(n);i&&i.includes(e)&&t.push(i)}for(let e=0;e<t.length;e++)this.removeItem(t[e])}}{constructor(){let e=null;if(l())try{e=localStorage}catch(e){}super(e)}};function k(e){return!v&&l()&&(v=A(document.head.dataset.info||"")),v&&v.has(e)}function A(e){const t=(e||"").replace(/(^f:|;.*$)/g,"").split(",");return new Set(t)}const I="1s-tokens",q=864e5*function(){for(let e=8;e<=21;e+=1)if(k(`prg-tok${e}`))return e-7;return 0}();var C;let E,T;function _(){return E=x(),E&&E.accessToken?E:void 0}function O(){if(E=x(),!E)return"notAvailable";const e=E.expiresOn,t=new Date(e),n="expired";if(!t.getTime())return n;const i=new Date,o="valid";if(t>i)return o;if(q){const e=w();if(e&&e.account_type===r.MSA){if(new Date(t.getTime()+q)>i)return o}}return n}function x(){return E=E||void 0===E&&S.getObject(I)||null,E}!function(e){e.NotAvailable="notAvailable",e.Expired="expired",e.Valid="valid"}(C||(C={}));const N="Authorization";var R,P;!function(e){e.Presentation="presentation"}(R||(R={})),function(e){e.Unknown="Unknown",e.Portrait="Portrait",e.Landscape="Landscape"}(P||(P={}));var $;function M(){try{return localStorage}catch(e){return null}}!function(e){e[e.Undefined=0]="Undefined",e[e.Basic=1]="Basic",e[e.Advanced=2]="Advanced",e[e.Premium=3]="Premium"}($||($={}));const U="uxlogin",D="uxlogout",H=f((()=>{const e=M();return e&&"1"===e.getItem(U)||l()&&location.search&&location.search.includes("uxlogin=1")}));const L=f((()=>{const e=function(){try{return sessionStorage}catch(e){return null}}();return e&&!!e.getItem(D)}));const W={newsAndInterests:1,ugc:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,distribution:1,superApp:1,gaming:1},F={edgeChromium:1},G=f((()=>(l()&&d()||{}).apptype)),J=f((()=>j()&&(w()||!h("ace")))),B=f((()=>l()&&!(G()in W)&&!k("prg-nodualauth"))),j=f((()=>B()&&!(G()in F)));f((()=>B()&&(!(G()in F)||!b()))),f((()=>B()&&!X()));function V(){return X()}function z(){const e=T;if(e)return y.log("dual-auth: tryGet1SAuthToken returned live tokens"),e;const t=_();if(t)return y.log(`dual-auth: tryGet1SAuthToken returned cached tokens that are ${O()}`),t;y.log("dual-auth: tryGet1SAuthToken returned empty tokens")}function K(e){const t={};return e&&(t[N]=`Bearer ${e}`),t}function X(){return j()&&H()||J()&&(J()&&!H()&&w()&&"expired"==O()||L())}var Y;!function(e){e.GLOBAL="GLOBAL",e.GCC_MODERATE="GCC_MODERATE"}(Y||(Y={}));class Q{constructor(e,t){if(this.url=new URL(e.href),this.innerHeight=e.innerHeight,this.devicePixelRatio=e.devicePixelRatio,this.canUseCssGrid=e.canUseCssGrid,this.requestId=e.requestId,this.cookie=e.cookie,this.referer=e.referer,this.userAgent=e.userAgent,this.oneServiceHeaders=function(e){try{if(e)return JSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){const e=Z("OSATE",this.cookie),t=Z("OSAT",this.cookie);if(e&&t||!e&&!t)return this.msalAuthReady=!0,void(t&&(this.oneServiceHeaders.Authorization=`Bearer ${t}`));this.msalAuthReady=!1,this.pssrRejectedReason=e&&!t?"missOSAT":"missOSATE"}}static getInstance(){return n.g.TEST_ENV&&!Q._instance&&ee({href:"http://localhost:8080/",innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:"0",cookie:"",userAgent:"",referer:"",oneServiceHeaders:""}),Q._instance||ee({href:"http://localhost:8080/",innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:"0",cookie:"",userAgent:"",referer:"",oneServiceHeaders:""}),Q._instance}static resetInstance(e,t=!1){return Q._instance=new Q(e,t),Q._instance}}function Z(e,t){if(t&&e){const n=new RegExp("\\b"+e+"\\s*=\\s*([^;]*)","i").exec(t);return n&&n.length>1?n[1]:null}return null}Q._instance=null;const ee=Q.resetInstance,te=()=>Q.getInstance();let ne,ie;var oe,se,re;ie=oe||(l()?window:{}),re=()=>{let e;return{promise:new Promise((t=>e=t)),resolver:e}},ne=ie[se="authHeaderPromiseParts"]||(ie[se]=re());const ae=[];let ce;var ue;function le(){if("undefined"!=typeof window&&window.document&&window.document.createElement&&window.applicationCache){return window.document.getElementsByTagName("html")[0].g

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

仿佛小甲编程站

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值