Ruby
1 | 2 |
---|---|
Calling a character | put or p,print |
One line comment out | #Comment out with sharp |
Multi-line comment out | #=bigin #=end |
PHP When developing locally, DL of MAMP or XAMPP is required. Finally; don't forget!
1 | 2 |
---|---|
Calling a character | echo "The string you want to call" |
One line comment out | //2 slashes |
Multi-line comment out | /Slash+rice/ |
embedded | |
Variable name | $variables_name1 |
Line breaks when embedding | echo "String< br >" (* No space is required between br and parentheses) |
When embedding variables / constants in the character string called by echo | echo "{$name}String"; |
Recommended Posts