Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
Beginner PHP Tutorial - 11 - Output HTML Using echo_print
Description
Beginner PHP Tutorial - 11 - Output HTML Using echo_print
Expression. print() behaves like a function in that you can do: $ret = print "Hello World"; And $ret will be 1. That means that print can be used as part of a more complex expression where echo cannot. An example from the PHP Manual:
Speed. There is a difference between the two, but speed-wise it should be irrelevant which one you use. echo is marginally faster since it doesn't set a return value if you really want to get down to the nitty gritty.
Expression. print() behaves like a function in that you can do: $ret = print "Hello World"; And $ret will be 1. That means that print can be used as part of a more complex expression where echo cannot. An example from the PHP Manual:
Speed. There is a difference between the two, but speed-wise it should be irrelevant which one you use. echo is marginally faster since it doesn't set a return value if you really want to get down to the nitty gritty.
Keywords & Tags
More from User
05:24
Beginner PHP Tutorial - 11 - Output HTML Using echo_print
Videos
02:18
Beginner PHP Tutorial - 10 - print
Videos
04:09
Beginner PHP Tutorial - 9 - echo
Videos
04:52
Beginner PHP Tutorial - 8 - Indentation
Videos
06:06
Beginner PHP Tutorial - 7 - The php.ini File
Videos
05:00
Beginner PHP Tutorial - 6 - The phpinfo Function
Videos
Related Videos
00:40
php tutorials in Urdu - Hindi - 9 - use html and javascript in php
InfoVideo
02:40
PHP Tutorial Urdu - 9 - Output HTML Using echo or print Free Urdu Tutorials Video training by Pakistan Education taleem.tv
Taleem Online
05:24
_Beginner PHP Tutorial - 11 - Output HTML Using echo_print_(www.itcollege4u.com)
itcollege4u
05:24
Beginner PHP Tutorial - 11 - Output HTML Using echo-print
ata ul Nasar Mansoor
05:24
Beginner PHP Tutorial - 11 - Output HTML Using echo_print_1
Silentstudent
05:24
Beginner PHP Tutorial - 11 - Output HTML Using echo_print
Basic2advanced