Problem in use Deprecated or Experimental directive
正如你在 Delphi 中所知道的,我们可以使用 Deprecated 指令来表示方法或 … 已过时或仅支持向后兼容,我们可以使用 Experimental 指令来表示当前单元处于不稳定的开发状态。
已弃用
我想你自己已经回答了这个问题。这些指令使编译器发出警告,但前提是在编译时启用了警告。请注意,这些符号会产生警告而不是提示。
我个人将编译器配置为将使用 deprecated 符号视为错误而不是警告。

来源:https://www.codenong.com/6123428/
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_9502.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57