PHP magic | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

PHP magic

Pls can anyone explain how 27 came to be in this code?? 🤦 https://code.sololearn.com/wgvnMDpddJBQ/?ref=app

4th May 2020, 11:32 AM
Fortunate
Fortunate - avatar
2 Answers
+ 1
27 is the number of letters you have in the data message, and also includes blank spaces.
4th May 2020, 1:58 PM
Edwin Boada
Edwin Boada - avatar
0
27 is the amount of chars in your string.
4th May 2020, 11:44 AM
Fernando Pozzetti
Fernando Pozzetti - avatar