John Don

- Total activity 9
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 4
- Subscriptions 2
-
John Don created a post, Strange indent logic of PHP code blocks inside the <script> tag
I have this PHP code I'm going to implement into html template: <? if( true ) { ?> <? echo 'true' ?><? } else{ ?> <? echo 'false' ?><? } ?> I want it looks exactly like that. But if I wrap th... -
-
John Don created a post, Input in console during testing with Mocha
Hello there! In my tests, I need user input. But the console doesn't allow me to do it :( I found a solution for IDEA, but it doesn't work in PHPStorm. What can I do with that? Thank you!