php-school / learn-you-php

🏆 Learn You PHP! - An introduction to PHP's core features: i/o, http, arrays, exceptions and so on.
http://www.phpschool.io/
MIT License
319 stars 36 forks source link

MyFirstIo solution output #44

Closed adam-paterson closed 8 years ago

adam-paterson commented 8 years ago

It's only minor, but the solution for My First IO contains an escaped character which escapes in the terminal output too.

AydinHassan commented 8 years ago

Is this the "\n" ? https://github.com/php-school/php-workshop/issues/80 ?

We have to override the php-parser pretty printer to fix this. Last time I tried I broke loads of tests, definitely needs fixing though, just requires a bit more effort :(

adam-paterson commented 8 years ago

Yeah, that's the one. I've played around too but broke the tests as well.