Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Mark Lawson
Mark Lawson
6,148 Points

I am sure there is a shortcut for this

When testing my work I have to keep typing "php conditionals.php". You cannot copy and paste this into the console. I am sure there is a hot key. Does anyone know if there is one? And what it is?

Thanks

2 Answers

I'm not sure if there's any shortcut within php or any outside libraries that'll "watch" your file since I don't have much experience with PHP. The best shortcut I can give is, pressing the up arrow which will basically paste in the previous line you entered in the console. You can also press it a few times if you need to go back through a couple entries to get the console input you want.