Bug #77755 [Fbk->NoF]: Cannot preview or submit new note
| From: | php-bugs at lists dot php dot net | Date: | Sun, 15 Aug 2021 04:22:13 +0000 |
| Subject: | Bug #77755 [Fbk->NoF]: Cannot preview or submit new note | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-29533@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77755&edit=1
ID: 77755
Updated by: php-bugs@lists.php.net
Reported by: mark at manngo dot net
Summary: Cannot preview or submit new note
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Website problem
PHP Version: Irrelevant
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-08-04 12:36:14] cmb@php.net
Is this still an issue for you? Apparently, other users can add
new notes.
------------------------------------------------------------------------
[2019-03-17 00:07:43] mark at manngo dot net
Description:
------------
I have tried a few times to add a new user contributed note. If I select Preview or Add Note, I am
returned to add-note page, without the form part.
The note itself doesnât appear to be added.
Currently using Firefox on MacOS. I canât see that that makes any difference.
Test script:
---------------
For PHP 7.1 on, the documentation states that integer and string keys can be mixed, but that
elements with and without keys cannot. Here is an example, using data from getimagesize() with mixed
keys:
<?php
$data=[
0=> 160,
1 => 120,
2 => 2,
3 => 'width="160" height="120"',
'mime' => 'image/jpeg'
];
list(0=>$width,1=>$height,2=>$type,3=>$dimensions,'mime'=>$mime)=$data;
?>
Here, the numeric keys also need to be specified, as if the whole array is treated as an associative
array.
As noted elsewhere, the list() operator can be written in array format:
<?php
[0=>$width,1=>$height,2=>$type,3=>$dimensions,'mime'=>$mime]=$data;
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77755&edit=1