Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct syntax for require in refactoring help file. #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This procedure demonstrates how to rename a file:
2. In the same project, create a second PHP file, called RenFile2, with the following code:

<?php
require(RenFile1.php);
require_once("RenFile1.php");
$a = 8;
?>

Expand All @@ -59,7 +59,7 @@ This procedure demonstrates how to rename a file:

The reference to RenFile1 in RenFile2 will have been updated to:

require(RenFile3.php);
require_once("RenFile3.php");

in order to reflect the changes in the file name.

Expand Down