• Friday , 24 May 2019

PHP Tutorial (& MySQL) #14 – Variable Scope

Code Canyon

Hey gang, in this PHP tutorial I’ll teach you about variable scope in PHP. —————————————- Course Links: + Course files …

Original source

3d Ocean

Related Posts


  1. akarim55
    February 25, 2019 at 20:24

    You are a Ninja. Nice explanation, thanks.

  2. Atish Mhatre
    February 25, 2019 at 20:24

    Very nice Tutorial Shaun, Thank you so much Shaun! 🙂

  3. ActiveLivingChallenger
    February 25, 2019 at 20:24

    instead of passing by reference can you have the method return the value and set it to name?

    $name = 'mario'
    $name = sayBye($name);

    function sayBye($name)
    echo 'bye wario';
    return 'wario';

    echo $name; // would this print out wario?

  4. Chukwuebuka Aneke
    February 25, 2019 at 20:24

    Thanks, shaun…i am new to PHP but having fun already with it. please kindly do Laravel tutorial too after this..please ninja come to our rescue. cheers!

  5. mohiuddin akib
    February 25, 2019 at 20:24

    delicious.. PHP is my first lang and i am using it for almost 2 years but never got the hang of this "by reference parameter" thing you have shown at 7:59. Now finally i can gratefully say that God had sent a ninja to rescue me from this phenomena

Leave A Comment

You must be logged in to post a comment.