PHP output
Guilty Of PHP articles about PHP output
7 articles
-
Understand PHP execution and behavior
Write and Run Your First PHP Hello World Page
Save a small PHP file, open it through your configured web server, then change its message and place it inside an HTML paragraph.
-
Understand PHP execution and behavior
Find a PHP Example and Check What It Produces
Choose an example with a stated result, check what files it needs, then compare text in an editor or a PDF in the browser.
-
Display, Check, and Change PHP Dates in Explicit Time Zones
Set UTC for current-time output, inspect a parsing warning, then modify a fixed date while keeping its original value and displaying the result in Amsterdam.
-
Define a PHP Abstract Class with a Shared Method and Required Child Method
Build a Label parent that prints a value, then give two concrete children their own values without duplicating the printing method.
-
Create a PHP Class and Call Its Method on Two Objects
Define one Greeting class, give two instances different names, and trace how the same method reads each object's property.
-
Put a PHP Variable Next to Text Without Changing Its Name
Use double quotes for a straightforward variable, braces when a suffix touches its name, or concatenation to join quoted fragments around its value.
-
Understand PHP execution and behavior
What Is PHP Code, and What Does It Do on a Website?
PHP is a web-development language. A conceptual example separates instructions a server processes from the HTML a browser can receive.
