php 7.0.12,欢迎使用PHP 7.4.0(我从7.3.12升级)

Dear PHP,

I am using you since... maybe 5.3 and you already helped me a lot on my nerd journey. Today I open php.net and I forgot that Nov 28 is the historical day. It's the launch of PHP 7.4.0.

Congrats to all PHP core team, QA team and all others people that make this happen.

Currently I have PHP 7.3.12 running on my CentOS 7.7 using Remi repo. How to update? I just do this.

yum-config-manager --enable remi-php74

yum update

then

php -v

then see below

[root@sony]# php -v

PHP 7.4.0 (cli) (built: Nov 26 2019 20:13:36) ( NTS )

Copyright (c) The PHP Group

Zend Engine v3.4.0, Copyright (c) Zend Technologies

with Zend OPcache v7.4.0, Copyright (c), by Zend Technologies

Ow nice :)

PHP 7.4.0 comes with several improvements and new features.

Typed Properties

Arrow Functions

Limited Return Type Covariance and Argument Type Contravariance

Unpacking Inside Arrays

Numeric Literal Separator

Weak References

Allow Exceptions from __toString()

Opcache Preloading

Several Deprecations

Extensions Removed from the Core

Ow ow, someday I will use those new things step-by-step as needed.

Thank you PHP.

Reference:

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值