+ 8

Why can't this code print correctly ?

Why does this code <?php echo 'a:/a'; ?> print '..\Playground\' ? https://code.sololearn.com/wFDfgaO5Bm5x/#php

27th Nov 2017, 4:20 AM
CalviŐ˛
CalviŐ˛ - avatar
4 Answers
+ 4
More like it created a file path I think? Magic creates an exception it seems. Ask Google .
27th Nov 2017, 5:21 AM
bobbie
bobbie - avatar
+ 3
No clue same for all ABC not #s tried 'hello:/world' cracked me up.
27th Nov 2017, 5:04 AM
bobbie
bobbie - avatar
+ 3
Magic Constants perhaps?
27th Nov 2017, 5:14 AM
bobbie
bobbie - avatar
+ 3
I think it's a bug in Sololearn app.
27th Nov 2017, 9:18 AM
CalviŐ˛
CalviŐ˛ - avatar