Bug #78602 [Fbk->NoF]: declare on same line as opening tag causes a one line offset
| From: | php-bugs at lists dot php dot net | Date: | Sun, 27 Dec 2020 04:22:10 +0000 |
| Subject: | Bug #78602 [Fbk->NoF]: declare on same line as opening tag causes a one line offset | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231263@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78602&edit=1
ID: 78602
Updated by: php-bugs@lists.php.net
Reported by: jasny@php.net
Summary: declare on same line as opening tag causes a one line
offset
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Scripting Engine problem
Operating System: Linux
PHP Version: 7.2.23
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:
------------------------------------------------------------------------
[2020-12-18 13:12:29] cmb@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
I cannot reproduce either: <https://3v4l.org/0A73d>.
------------------------------------------------------------------------
[2020-01-20 17:13:40] derick@php.net
I can't reproduce this with this little information. But if line numbers are wrong, that's
not something Xdebug can fix as it is information provided by the PHP engine
------------------------------------------------------------------------
[2019-09-27 15:25:27] cmb@php.net
I suggest to report Xdebug related issues on <https://bugs.xdebug.org/my_view_page.php>.
------------------------------------------------------------------------
[2019-09-27 13:02:10] jasny@php.net
Description:
------------
Code coverage by PHPUnit, stopping on breakpoints, etc all have an offset of 1 line when putting
declare(strict_types=1); on the same line as the opening tag.
Test script:
---------------
<?php declare(strict_types=1);
hello();
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78602&edit=1