### 运行环境 1. `PHP >= 5.4` 然而如果你的 `PHP` 版本小于 `7.1`,这段代码还是跑不了,会报`PHP Fatal error: Cannot access empty property`,要将以下语句移除才能运行起来 ```text null => '我是null', $prop = null; var_dump($dynamicVar->$prop); ``` 我猜测应该是 `PHP 7.1` 加强了对 `nullable` `void` 的支持,所以导致了属性可以为 `null` 的诡异写法。 ```php $value) { $this->$var = $value; } } } $dynamicVar = new DynamicObj([ null => '我是null', 0 => '我是数字', '1' => '我也是数字', '0我是_- 非法属性名☺' => '。。。', 0x123456 => 'hex test', ]); var_dump($dynamicVar); $prop = null; var_dump($dynamicVar->$prop); var_dump($dynamicVar->{'0我是_- 非法属性名☺'}); var_dump($dynamicVar->{0x123456}); $json = json_encode($dynamicVar); var_dump($json); var_dump(json_decode($json)); var_dump(json_decode($json, true)); ``` - 阅读剩余部分 -
- 阅读剩余部分 -
### 起因 在将服务器PHP版本升级至5.6之后,发现微信公众号不回复信息了,也没发现有报错信息。搞了好久,终于在 `register_shutdown_function` 中的 handler 里捕获到了如下错误信息: ```text 8192Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead.Unknown0 ``` 大致是说 `$HTTP_RAW_POST_DATA` 这个变量已经在PHP 5.6 中弃用且会在未来的版本中移除。 - 阅读剩余部分 -
### FBI WARNING 本文不对具体细节做介绍,如果这篇文章对你有用,请做好相应的功课。 ### 关键词 `CloudFlare` `5秒盾` `浏览器安全检查中` `Checking your browser before accessing xxx.com` `jschl_answer` - 阅读剩余部分 -
### 注册机 [http://www.xforce-cracks.com/?s=cad](http://www.xforce-cracks.com/?s=cad "http://www.xforce-cracks.com/?s=cad") ### AutoCAD 2021 [AutoCAD 2021 简体中文版 64位](http://trial2.autodesk.com/NetSWDLD/2021/ACD/9046B381-E756-4D38-A7EF-FAD07F4456E6/SFX/AutoCAD_2021_Simplified_Chinese_Win_64bit_dlm.sfx.exe) [AutoCAD 2021 离线帮助文件](http://download.autodesk.com/us/support/autocad_2021_product_help_download_page/autocad_2021_offline_help_simplified_chinese_win_64bit_dlm.sfx.exe) ### AutoCAD 2020 [AutoCAD 2020 简体中文版 64位](http://trial2.autodesk.com/NetSWDLD/2020/ACD/D98B88A0-50EC-4B88-9CA3-EA909DD6BC8C/SFX/AutoCAD_2020_Simplified_Chinese_Win_64bit_dlm.sfx.exe) [AutoCAD 2020 离线帮助文件](http://download.autodesk.com/us/support/autocad_2020_product_help_download_page/autocad_2020_offline_help_simplified_chinese_win_64bit_dlm.sfx.exe) [AutoCAD 2020.1 Update 64位](https://up.autodesk.com/2020/ACD/1B52239E-5BA3-4A90-BAD4-6936ED3425BD/AutoCAD_2020.1_Update_64bit.exe) [AutoCAD 2020.2 Update 64位](http://up.autodesk.com/2020/ACD/F1D2E857-19D2-4505-B39B-D918A338995A/AutoCAD_2020.1.2_Update_64bit.exe) ### AutoCAD 2019 [简体中文版 32位](http://trial2.autodesk.com/NetSWDLD/2019/ACD/281B1051-D3D3-4FCC-A52C-CF750093307C/SFX/AutoCAD_2019_Simplified_Chinese_Win_32bit_dlm.sfx.exe "简体中文版 32位") [简体中文版 64位](http://trial2.autodesk.com/NetSWDLD/2019/ACD/19B8BB53-6D2C-4FFF-A2E9-C8BBABC04DC8/SFX/AutoCAD_2019_Simplified_Chinese_Win_64bit_dlm.sfx.exe "简体中文版 64位") [AutoCAD 2019 离线帮助文件](http://download.autodesk.com/us/support/files/autocad_2019_product_help_download_page/AutoCAD_2019_Offline_Help_Simplified_Chinese_Win_32_64bit_dlm.sfx.exe "AutoCAD 2019 离线帮助文件 32位&64位") [AutoCAD 2019.0.1 Update 32位](https://up.autodesk.com/2019/ACD/DCB64C0D-CFEE-4CDA-B52A-9680EFF43597/AutoCAD_2019.0.1_Update_32bit.exe "AutoCAD 2019.0.1 Update 32位") [AutoCAD 2019.0.1 Update 64位](https://up.autodesk.com/2019/ACD/3C660FAD-2394-4684-889D-998BDF6F485A/AutoCAD_2019.0.1_Update_64bit.exe "AutoCAD 2019.0.1 Update 64位") - 阅读剩余部分 -
[Command-line interface description language](http://docopt.org/ "Command-line interface description language") [Command-Line Syntax Key](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc771080%28v%3Dws.11%29 "Command-Line Syntax Key") [Utility Argument Syntax](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_01 "Utility Argument Syntax") [GNU Coding Standards](http://www.gnu.org/prep/standards/standards.html "GNU Coding Standards") [Command Line Standard](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-powershell-1.0/ee156811%28v%3Dtechnet.10%29 "Command Line Standard")
个人接活
域名出售
服务器推荐