|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-03-17 07:29 UTC] laruence@php.net
[2016-03-17 07:29 UTC] laruence@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 13:00:01 2025 UTC |
Description: ------------ for assign_dim, EG(error_zval) results NULL but for assign_obj, it doesn't, which makes nothing, and also maybe make the EG(error_zval) altered. Test script: --------------- <?php $obj = unserialize('O:1:"A":0:{}'); var_dump($obj); var_dump($obj->prop .= 0); $arr = array(PHP_INT_MAX=>0); var_dump($arr[] .= 0); Expected result: ---------------- NULL NULL Actual result: -------------- string (1) "0" NULL