[Bug]: output gets printed twice
See original GitHub issueShort bug description
the output always gets printed twice
Extended bug description
it looks like it has something to do with the latest changes to version 2.5.0
How to reproduce?
function test()
{
return 'test';
}
return test();
Expected behavior
see output only once
Screenshots
IDE & Version
phpstorm 2022.3
PHP Version
8.1
OS and version
Linux
Laravel Tinker plugin version
2.5.0
Interpreter type
{“label”=>“Docker (NOT compose)”}
Laravel Version
9
Tinker version
2.5.0
Psysh version
v0.11.9
Additional Context
No response
Issue Analytics
- State:
- Created 9 months ago
- Comments:26 (13 by maintainers)
Top Results From Across the Web
Why does this print the output twice?? - Codecademy
The double print has to do with some internal test. When the script is right it prints only 25. It used to print...
Read more >Why the line is printed twice? - Stack Overflow
I dont understand why its getting printed twice. I found this code at many places on the net but could not get something...
Read more >Statement is being printed twice | Sololearn: Learn to code for ...
The code takes input and if you guess correctly asks you if want to play again. The bug I'm facing is the prompt...
Read more >Python commands are printed twice in the output channel #7160
Some Python commands (for example linting or formatting) are displayed twice. Steps to reproduce: Start debugging the extension; Open a python ...
Read more >Functions print outputs twice the expected output
This is because of the way you evaluated the expression, interactively. If you used something like M-: to evaluate it, that command prints...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same, haha, but I got you another build to test something. This will tell me if it’s in the plugins kotlin code orsomewhere in PHP.
Laravel Tinker-2.5.1+1.zip
I added some <%> to the output. the amount of them will tell me a lot.
Good night, I’m also hitting the sack, talk to you later 😃
I’ll make a build for you to test something. One sec