mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
Clarify includes and open tags.
If it's not PHP, it doesn't need the open tag.
This commit is contained in:
parent
db04a0c728
commit
c3df7c1c53
@ -379,7 +379,7 @@ echo $function_name(1, 2); // => 3
|
||||
```
|
||||
```php
|
||||
<?php
|
||||
// Included files must also begin with a PHP open tags.
|
||||
// PHP within included files must also begin with a PHP open tag.
|
||||
|
||||
include 'my-file.php';
|
||||
// The code in my-file.php is now available in the current scope.
|
||||
|
Loading…
Reference in New Issue
Block a user