diff options
author | Divay Prakash <divayprakash@users.noreply.github.com> | 2018-10-24 11:30:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 11:30:23 +0530 |
commit | adfd3064e52e769dc46f62d8302be7e28be4e48d (patch) | |
tree | 204d82adc9f82ae4fe377b631a1406b97eb6b11d /php.html.markdown | |
parent | 92022da0a6ea9417521563de9e537f337c426465 (diff) | |
parent | 8f5a67190705c9a3101653901d8f8a7b48eb1775 (diff) |
Merge branch 'master' into MarkdownFRChanges
Diffstat (limited to 'php.html.markdown')
-rw-r--r-- | php.html.markdown | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/php.html.markdown b/php.html.markdown index d4fbaa32..3b18aa60 100644 --- a/php.html.markdown +++ b/php.html.markdown @@ -443,7 +443,7 @@ echo $function_name(1, 2); // => 3 // Or, use call_user_func(callable $callback [, $parameter [, ... ]]); -// You can get the all the parameters passed to a function +// You can get all the parameters passed to a function function parameters() { $numargs = func_num_args(); if ($numargs > 0) { @@ -794,7 +794,7 @@ But I'm ChildClass /********************** * Magic constants -* +* */ // Get current class name. Must be used inside a class declaration. @@ -826,7 +826,7 @@ echo "Current trait is " . __TRAIT__; /********************** * Error Handling -* +* */ // Simple error handling can be done with try catch block @@ -871,6 +871,9 @@ and community input. If you're interested in up-to-date best practices, visit [PHP The Right Way](http://www.phptherightway.com/). +A tutorial covering basics of language, setting up coding environment and making +few practical projects at [Codecourse - PHP Basics](https://www.youtube.com/playlist?list=PLfdtiltiRHWHjTPiFDRdTOPtSyYfz3iLW). + If you're coming from a language with good package management, check out [Composer](http://getcomposer.org/). |