search

Home  >  Q&A  >  body text

Regarding the php7 new feature manual, my own doubts

Modification of variable processing mechanism

# array_pop needs to be passed by reference, and php5 cannot do it either. This shouldn’t be considered a new feature

3.jpg

##The brackets should still be usable

4.png

global does not support reference declaration of instance variables in php5. In the final analysis, it is only from the left To the right explanation question

##The generated arrays are also consistent. These new features are not rigorous.


break||continuebreak||continue2433 days ago1265

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2018-05-09 18:11:42

    Generally I don’t use global very much, just skip it and don’t worry about it

    reply
    0
  • break||continue
  • break||continue

    break||continue2018-05-07 18:03:40

    http://www.php.cn/php/php-variable-changes-22.html manual address

    reply
    0
  • Cancelreply