How is PHP Executed, Writing a PHP Script File, Codecademy's Learn PHP, General Purpose Programming

Channel:
Subscribers:
7,740
Published on ● Video Link: https://www.youtube.com/watch?v=1lbRCtkjBoI



Duration: 2:26
100 views
1


In this Introduction to PHP guide, we look at How is PHP Executed, and more on Writing a PHP Script File, based on Codecademy's Learn PHP General Purpose Programming. We learned in previous lessons that PHP is sent from the back-end to the front-end, there it is received as HTML and displayed in our browser. We are taught in this lesson that PHP is flexible and may be executed from the terminal as well. We learn that we are able to use general-purpose programming languages to write programs that will give simple instructions to our computer without having to involve the web or HTML! This can be very useful when we want to test functionality or when writing simple local programs, or when writing simple local scripts. We are told that when writing PHP script files, we always need to denote the beginning of our PHP code with our opening PHP code but the closing tag is no longer required! We are also taught that PHP generally will ignore whitespace. We are shown examples that look like they should provide different results because of the whitespaces, but logs the same PHP to the terminal. We also learn that, unlike other languages, PHP is not always case-sensitive. For example, we are able to use the "echo" keyword with a capital e ("Echo") and it will still work. But we should avoid doing this and use standard casing.




Other Videos By We Will Code


2022-04-11Learn Variable Parsing in PHP, How to Parse Variables in a String with PHP, Codecademy Learn PHP
2022-04-11Using Variables in PHP, How to Use a Variable in PHP, Output Variables in PHP, Codecademy Learn PHP
2022-04-10Creating Variables with PHP, Learning to Write PHP Variables, Understand Variables in PHP Codecademy
2022-04-10How Variables Work in PHP, Variables Explained in PHP, Codecademy's Learn PHP, Strings and Variables
2022-04-09How to Combine Strings in PHP, String Concatenation PHP, Learn to Concatenate Strings, Codecademy
2022-04-08Escape Sequences in PHP, How to Use PHP Escape Sequences, Escape Sequences Explained on Codecademy
2022-04-08What are Strings in PHP, How to Create PHP String, The String Data Type Explained, PHP on Codecademy
2022-04-08Review for Introduction to PHP on Codecademy's Learn PHP Course, Review Beginner PHP Concepts
2022-04-08Todo App, Create, Read, Update, Delete, What is CRUD in PHP, How CRUD Works in PHP, Codecademy PHP
2022-04-08How PHP Comments Work, Comment in PHP, Multi-Line PHP Comment, Single Line PHP Comment, Codecademy
2022-04-08How is PHP Executed, Writing a PHP Script File, Codecademy's Learn PHP, General Purpose Programming
2022-04-07How is PHP Used in HTML, Learn PHP, Codecademy, Build Dynamic Web Pages in PHP, The PHP Interpreter
2022-04-07The History of PHP, Learn PHP History, PHP History Explained for Beginners, Codecademy Learn PHP
2022-04-07Why Learn PHP, Introduction to PHP Programming Language, Codecademy Free Full PHP Programming Course
2022-04-05Node setTimeout Function JavaScript Promises Explained, Promises in JavaScript Explained, Codecademy
2022-04-04Learning how to use JavaScript Promises, Constructing a Promise Object, JavaScript Promise Example
2022-04-04Intro to JavaScript Promises, What is a Promise in JavaScript, Asynchronous Programming Codecademy
2022-04-04How to Import Modules in Node JS, Exporting Modules in Node JS, Use Modules with Require, Codecademy
2022-04-03Why Use Static Methods, Static VS Instance Methods JavaScript Walkthrough, JavaScript Static Methods
2022-04-01Add New Method to Child Class In JavaScript, Learn Intermediate JavaScript Inheritance V, Codecademy
2022-03-31Understanding JavaScript Class Inheritance, Inherit from Parent Class, Inheritance IV, Codecademy JS



Tags:
Code
Coding
PHP
Programming
Server-side
Tutorials
back-end