Challenge
No
Prove that you've set up debugging in your IDE. Include the following screen shots.
Show your PHP info, with the location of your php.ini
file. For example:
Code in your IDE, stopped at a breakpoint, showing variable values. For example:
This screenshot must show the value of at least one variable, like the 11 on line 4. Use this code, if you like:
- <?php
- // Debugging test.
- $message = 'Doggos are the best!';
- $rating = 11;
- ?><!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Dogs</title>
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <link rel="stylesheet" href="styles.css">
- </head>
- <body>
- <h1>Dogs</h1>
- <p><?= $message ?></p>
- <p>Rating: <?= $rating ?> out of 10</p>
- </body>
- </html>
If you were logged in as a student, you could submit a solution to this exercise.
Where referenced