HomeХобби и стильRelated VideosMore From: Clever Techie

PHP Functions Tutorial - Learn PHP Programming

465 ratings | 41182 views
PHP functions are groups of named code which we can call from anywhere within the program. In this video we cover basic syntax for creating PHP functions as well as some advanced techniques like passing arguments by reference and using recursive functions. We also go over data type declarations, default argument values and variable scope. Learning the techniques from this video will give you a good understanding of PHP functions. ````````````````````````````````````````````````````````````````````````````````````````````` Hey guys, I'm now using Patreon to share improved and updated video lesson material. For a small fee you can access all the downloadable files from this lesson (source code, icons & graphics, cheat sheets) and everything else included in the video from the Patreon page. Additionally, you will get access to ALL Clever Techie videos in HD format with no ads. Thank you so much for supporting Clever Techie :) Download this video's files here: https://www.patreon.com/posts/php-functions-20812110 ( You also get access to ALL source code and any downloadable content of ALL Clever Techie videos, as well as access to ALL videos in HD 1080p quality format with all video ads removed! ) `````````````````````````````````````````````````````````````````````````````````````````````` ( Website ) https://clevertechie.com - PHP, JavaScript, Wordpress, CSS, and HTML tutorials in video and text format with cool looking graphics and diagrams. ( YouTube Channel ) https://www.youtube.com/c/CleverTechieTube ( Google Plus ) https://goo.gl/J71p6f - clever techie video tutorials. ( Facebook ) https://www.facebook.com/CleverTechie/ ( Twitter ) https://twitter.com/theclevertechie ``````````````````````````````````````````````````````````````````````````````````````````````
Html code for embedding videos on your blog
Text Comments (41)
Shuto wada (6 days ago)
次言ったら流石におっさんにやらせるかね 中の処理文書いてるんだし クビチョンパの女の子は辞めて正解 家具かエクステリア会社行くべきだったな
Gaming Dost (9 days ago)
You are to good sir.....thank you 😊
Jaggy Singh (2 months ago)
Amazing Tutorial....Lot of respect..... Paid to lot of platforms for learning..... but this one is wonderful.... and feeling proud to subscribe on your personal website clevertechie.com
Thiz me_ Dongle07 (3 months ago)
which app do you use for writting php script
Snofty S (1 month ago)
looks like Visual Studio.
Tomas Mačiulis (3 months ago)
Can I have a function in php which would take an argument and return a value? Just like in java (for example if I type "$a=function(arg1, arg2);" variable "a" would be assigned with a value the function returned. Or it's not possible? If no, how can I approach this problem if I need to store and later manipulate the value which is calculated by calling a function? EDIT: nevermind, I figured, that a simple "return $var" at the end of the code does it.
HOCINE DZ (5 months ago)
When i am trying to parse the array with echo and return i got nothing why ? we should use print_r ? with array ? to parse ?
HOCINE DZ (5 months ago)
Thank you Clever techie i have send you some question on Facebook, please respond me
Clever Techie (5 months ago)
Yes use print_r($array); to print the arrays
Mourn Mey (6 months ago)
You are so good for tutorial brothers. I'm full complete the video and easy understand .
senrawrity (8 months ago)
At time 5:25, the . for concatenation ... Can I separate using { }? These brackets are also concatenators, yes?
Asif Siddique (9 months ago)
how to enable side window(showing output as like browser) in netbeans???
Fil Andonov (9 months ago)
Great video man! You have covered 10 pages from my PHP book in a very good and understanding way! Keep uploading tutorials!
Mehmood (10 months ago)
hi new to php which editor you are using which showing output in side window
Clever Techie (10 months ago)
NetBeans
Abdullah Ansari (11 months ago)
Not a good for fresher and vedio quality also not dood
Kimani Wa Ndirangu (1 year ago)
Wikipedia: The term parameter (sometimes called formal parameter) is often used to refer to the variable as found in the function definition, while argument (sometimes called actual parameter) refers to the actual input supplied at function call. Kindly correct your slides.You interchanged their meanings.
prafful bharti (1 year ago)
that software's so handy, can tell me where can i download that or its a website serever?
MyYou (1 year ago)
and why do you write const without the define function?
MyYou (1 year ago)
the parameters should be in the function definition and the arguments in the call
kenan bakıcı (1 year ago)
Which text editor are you using? There is an area on the right side that looks like a browser. I don't get it. Is it the part of a browser or has the editor the server simulation?
Zobair Siddique (1 year ago)
Arguments are Params, and prams are args in your video, correct me if i m wrong.
Kishan Kumar (1 year ago)
A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters.
J.E. Rose (1 year ago)
Wow. I'm a beginner to php. This only gets more confusing everyday.
elmer chatto (1 year ago)
Thank you so much. In your video i totally understand the flow of functions.
2494AA (1 year ago)
That's great ! Loved the pace with which you covered some really important concepts. Can you please tell where I can find some advanced ( like seriously advanced , developer level !! ) tutorials on PHP. And what are the concepts we are dealing with when programming PHP at developer level. Thanks !
okami hirazawa (1 year ago)
any recomended for u sir to understand programming language ? sorry im from management and i interest with PHP
Kevin DeLaune (1 year ago)
Isn't this OO PHP? I have been told on more than one occasion, that I shouldn't learn OO PHP before learning Procedural?
Vader (1 year ago)
a better exemple of oop programming is the humans.We have many features like eyes color, hair color, the height and the weight.Once you define all of these features you can do how many humans you want with diffrent features.This paradigm of programming helps you to save memory beacause you don`t have to define the features for each human in part...but you must how to know to implement the feature at least for one...that`s why is the procedural programming first and after oop programing,I hope one of these exemples make it clear
Vader (1 year ago)
Hello Kevin...to have a better understaning about programming i propuse to learn first procedural programming and let me explain why, when you have to solve a problem first you have start to thinking about how to solve the problem in any programming language and after to implement the solution...if two problems have the same solution you can start thinking about OOP programming because you have there the same pice of code more than once.In other ideas if you know how to solve any problem in procedural way you can use that solution has many time you want...if you know oop programming without procedural you can`t solve the problem even you know the way to reuse the code...i hope I make it clear now...if you don`t let me know
Attila Varadi (1 year ago)
to messy and fast for a begginer
Anthony Murphy (5 months ago)
But a great one for intermediate
keeezz (1 year ago)
The different colors makes so much of a difference in your videos! It aids the learning process. Great video!
Clever Techie (1 year ago)
I love colors :)
Rajiv Sivalingam (2 years ago)
Hi i having one doubt how many can submit form can you explain
Iuki10 (1 year ago)
I read the guy's question like 5 times cause I tought I became unable to understand english :))) it appears he used google translate :P
Clever Techie (2 years ago)
What?
david smith (2 years ago)
Good tutorial. Could you please supply the name of this program.
Clever Techie (2 years ago)
Net Beans
EducateMe21 (2 years ago)
Great Tutorials.Keep it up
Clever Techie (2 years ago)
Thanks, I will.

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.