mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 15:43:58 +00:00
Clarify echoing scalars or variables
This commit is contained in:
parent
bff6dd9785
commit
d1b597c375
@ -132,8 +132,8 @@ print 'Hello World!'; // So is print
|
||||
|
||||
$paragraph = 'paragraph';
|
||||
|
||||
echo 100;
|
||||
echo $paragraph;
|
||||
echo 100; // Echo scalar variables directly
|
||||
echo $paragraph; // or variables
|
||||
|
||||
// If short open tags are configured, or your PHP version is
|
||||
// 5.4.0 or greater, you can use the short echo syntax
|
||||
|
Loading…
Reference in New Issue
Block a user