TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Official PHP 7.3 Migration Guide

3 点作者 theodorejb超过 6 年前

1 comment

theodorejb超过 6 年前
My favorite features in this release:<p>* Trailing commas in function&#x2F;method calls<p>* array_push() and array_unshift() can now be called with a single argument (helpful when using the spread operator)<p>* TypeError now reports wrong types as int and bool instead of integer and boolean (no more &quot;Argument must be an instance of integer, integer given&quot; errors)<p>* Deprecation of case-insensitive constants<p>* json_decode() and json_encode() now support a JSON_THROW_ON_ERROR flag (removing the need to call json_last_error() to see if an error occurred)<p>* setcookie() now accepts an associative array of options, and supports the samesite attribute<p>* More flexible heredoc syntax