<tfoot id='Zmf46'></tfoot>

    <i id='Zmf46'><tr id='Zmf46'><dt id='Zmf46'><q id='Zmf46'><span id='Zmf46'><b id='Zmf46'><form id='Zmf46'><ins id='Zmf46'></ins><ul id='Zmf46'></ul><sub id='Zmf46'></sub></form><legend id='Zmf46'></legend><bdo id='Zmf46'><pre id='Zmf46'><center id='Zmf46'></center></pre></bdo></b><th id='Zmf46'></th></span></q></dt></tr></i><div id='Zmf46'><tfoot id='Zmf46'></tfoot><dl id='Zmf46'><fieldset id='Zmf46'></fieldset></dl></div>

        <bdo id='Zmf46'></bdo><ul id='Zmf46'></ul>
    1. <small id='Zmf46'></small><noframes id='Zmf46'>

    2. <legend id='Zmf46'><style id='Zmf46'><dir id='Zmf46'><q id='Zmf46'></q></dir></style></legend>

      这在 PHP 中是什么意思 ->或 =>

      What Does This Mean in PHP -gt; or =gt;(这在 PHP 中是什么意思 -或 =)

        <tbody id='IZR7g'></tbody>

      <small id='IZR7g'></small><noframes id='IZR7g'>

    3. <tfoot id='IZR7g'></tfoot>

      1. <i id='IZR7g'><tr id='IZR7g'><dt id='IZR7g'><q id='IZR7g'><span id='IZR7g'><b id='IZR7g'><form id='IZR7g'><ins id='IZR7g'></ins><ul id='IZR7g'></ul><sub id='IZR7g'></sub></form><legend id='IZR7g'></legend><bdo id='IZR7g'><pre id='IZR7g'><center id='IZR7g'></center></pre></bdo></b><th id='IZR7g'></th></span></q></dt></tr></i><div id='IZR7g'><tfoot id='IZR7g'></tfoot><dl id='IZR7g'><fieldset id='IZR7g'></fieldset></dl></div>

            <bdo id='IZR7g'></bdo><ul id='IZR7g'></ul>
              <legend id='IZR7g'><style id='IZR7g'><dir id='IZR7g'><q id='IZR7g'></q></dir></style></legend>
                本文介绍了这在 PHP 中是什么意思 ->或 =>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                可能的重复:
                我们使用对象运算符->"的地方在 php 中
                参考 - 这个符号在 PHP 中是什么意思? >

                我一直在 PHP 中看到这些,但我不知道它们的实际含义.-> 有什么作用,=> 有什么作用.我不是在谈论运营商.他们是别的东西,但似乎没有人知道...

                I see these in PHP all the time but I don't have a clue as to what they actually mean. What does -> do and what does => do. And I'm not talking about the operators. They're something else, but nobody seems to know...

                推荐答案

                双箭头运算符=>,用作数组的访问机制.这意味着它左侧的内容将具有数组上下文中右侧内容的相应值.这可用于将任何可接受类型的值设置为数组的相应索引.索引可以是关联的(基于字符串的)或数字.

                The double arrow operator, =>, is used as an access mechanism for arrays. This means that what is on the left side of it will have a corresponding value of what is on the right side of it in array context. This can be used to set values of any acceptable type into a corresponding index of an array. The index can be associative (string based) or numeric.

                $myArray = array(
                    0 => 'Big',
                    1 => 'Small',
                    2 => 'Up',
                    3 => 'Down'
                );
                

                对象运算符->,用于在对象范围内访问对象的方法和属性.意思是说运算符右边的是实例化为运算符左边变量的对象的成员.实例化是这里的关键术语.

                The object operator, ->, is used in object scope to access methods and properties of an object. It’s meaning is to say that what is on the right of the operator is a member of the object instantiated into the variable on the left side of the operator. Instantiated is the key term here.

                // Create a new instance of MyObject into $obj
                $obj = new MyObject();
                // Set a property in the $obj object called thisProperty
                $obj->thisProperty = 'Fred';
                // Call a method of the $obj object named getProperty
                $obj->getProperty();
                

                这篇关于这在 PHP 中是什么意思 ->或 =>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                  • <legend id='WgUSO'><style id='WgUSO'><dir id='WgUSO'><q id='WgUSO'></q></dir></style></legend>

                    <small id='WgUSO'></small><noframes id='WgUSO'>

                  • <i id='WgUSO'><tr id='WgUSO'><dt id='WgUSO'><q id='WgUSO'><span id='WgUSO'><b id='WgUSO'><form id='WgUSO'><ins id='WgUSO'></ins><ul id='WgUSO'></ul><sub id='WgUSO'></sub></form><legend id='WgUSO'></legend><bdo id='WgUSO'><pre id='WgUSO'><center id='WgUSO'></center></pre></bdo></b><th id='WgUSO'></th></span></q></dt></tr></i><div id='WgUSO'><tfoot id='WgUSO'></tfoot><dl id='WgUSO'><fieldset id='WgUSO'></fieldset></dl></div>
                      <tbody id='WgUSO'></tbody>

                      • <bdo id='WgUSO'></bdo><ul id='WgUSO'></ul>

                          <tfoot id='WgUSO'></tfoot>