Skip navigation

Setting default argument values

Setting default argument values: PHP with MySQL Essential Training
Setting default argument values: PHP with MySQL Essential Training

Setting default argument values is one way to avoid errors. Using simple assignments, you can set values to be used when null is passed. In this PHP with MySQL series video, you will also learn the difference between passing in null and passing nothing, as well as tips like listing required values first, and optional values and their defaults after.

  • Overview
  • Transcript
  • View Offline
Resume Transcript Auto-Scroll
Skill Level Beginner
14h 32m
Duration
4,786,303
Views
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now